Skill 2.1.4
Create and test a single-agent solution in the Foundry portal
Key Concepts
In Foundry Agent Service, an agent definition has a name, a model deployment, instructions that describe its role, goals and boundaries, and tools. Built-in tools include file search (answers from uploaded documents), code interpreter (runs Python to calculate, analyze data and create charts), web search or Grounding with Bing Search (current public information), knowledge from Foundry IQ or Azure AI Search, and action tools such as functions, OpenAPI tools and Model Context Protocol (MCP) servers. Saving a change creates a new version of the agent.
In the portal's agent builder you create the agent, choose the model, write the instructions, add tools and knowledge, and test it in the agent playground. Testing should cover questions the agent should answer, questions it should decline, and requests that require each tool; the run details show which tools the agent called. Refine the instructions and tool descriptions until the agent behaves as intended, then use the generated sample code or the agent's name to call it from an application.