Skill 2.2.1
Define agent roles, goals, conversation-tracking approach, and tool schemas
Key Concepts
The instructions of an agent state its role (who it is and whom it serves), its goals (what a successful interaction achieves), its boundaries (topics and actions it must refuse), when to use each tool, and the output format. In Foundry Agent Service, a prompt agent is created with project.agents.create_version() and a PromptAgentDefinition that names the model deployment, instructions and tools.
The conversation-tracking approach decides where history lives. Server-side conversations store messages and tool results, so each call passes the conversation ID and the new input; alternatively, a response can reference the previous response ID, or the client can send the full history itself. Tool schemas describe each function with a name, a description that tells the model when to use it, and a JSON Schema for parameters with types, enums and required fields. Precise descriptions and strict schemas reduce wrong or malformed calls.