AgentBrains icon

AgentBrains

Interact with AgentBrains Knowledge Base, Conversation, Employee, RAG, Document Structuring, and Synthetic QA functionality

Actions21

RAG → Retrieve Image

AI-generated

Summary

Searches AgentBrains’ Core Image Index for images matching a required text query. Set Top K to choose the result count and Metadata to filter results; Extended Response controls whether each item contains the full API response or only image URLs.

Inputs

  • Query (required) — Text to search for; an AI model fills this automatically when the operation is used as a tool.
  • Extended Response — Defaults to true and returns the full API response. When false, returns only non-empty image URLs read from each result’s metadata.url.
  • Options: Top K — Number of results to request; defaults to 10.
  • Options: Metadata — JSON metadata filter to apply; defaults to an empty object.
  • Tool Description — Description for an AI Agent explaining when to use this tool.

Output shape

One n8n item per input item, with the result stored in its json field.

With Extended Response enabled, json contains the full API response. When disabled, json contains an array of image URL strings, using results from an array response or its results property. The operation always searches the images index; there is no index selector for this operation.

Links

Discussion