Skill 5.1.5

Connect retrieval pipelines directly to workflows and agent tools

Key Concepts

Agents connect to retrieval through tools: the Azure AI Search tool queries an existing index with a chosen query type and returns citations; a Foundry IQ knowledge base combines several knowledge sources (search indexes, Blob Storage, SharePoint, OneLake and the web) with agentic retrieval and is exposed to agents through an MCP endpoint. Agentic retrieval uses an LLM to plan subqueries from the conversation, runs them in parallel with semantic reranking and returns merged content with references and an activity log.

Workflows call retrieval as a step: a Foundry workflow node, a function tool that wraps a search query with the user's permission filter, or application code using azure-search-documents. Retrieval reasoning effort (minimal, low, medium) on a knowledge base trades depth of query planning against latency and cost. Permission-aware retrieval passes the user's identity or groups so that results are trimmed to what the user may see.