AgentBrains RAG icon

AgentBrains RAG

Retrieve information from AgentBrains RAG

Retrieve Image

AI-generated

Summary

Searches the AgentBrains Core Image Index for images matching the provided text query and returns image URLs or full API responses.

Inputs

  • query (required) — The text to search for. When used as a tool, this is automatically filled by the AI model.
  • extendedResponse — Whether to return the full API response. When disabled, only image URLs are returned.
  • toolDescription — Description of what this tool does, for the AI Agent to understand when to use it.
  • options — A collection of search options including the number of results to return and metadata filters.

Output shape

Either a list of image URLs (when Extended Response is disabled) or the full API response object containing search results.

When Extended Response is disabled, the output is an array of strings representing image URLs. When enabled, the output is the raw response from the AgentBrains knowledge-base API.

Examples

Example 1: Basic Image Search

Set Query to 'product logo' and Extended Response to false to receive a simple list of matching image URLs.

Example 2: Detailed Search Results

Set Query to 'internal documentation screenshot' and Extended Response to true to get the full API response with metadata and details.

Example 3: AI Agent Tool Configuration

Set Query to 'chart image' and Tool Description to 'Use this tool to find chart images', enabling the node to be used as a tool for an AI agent.

Links

Discussion