Get agent
get_agentRetrieves and decodes a Copilot Studio agent's settings, instructions, actions, knowledge, topics, and dependencies to inspect its structure and identify components for deeper review.
Instructions
Everything about one agent, decoded: settings, instructions, actions, knowledge, topics, dependencies.
agent: id, schema name or (part of) the name. detail: "summary" (topics counted by origin, custom
topic names listed) or "full" (every topic with trigger, origin and step count).
Topic origin is system (fired by the platform), template (shipped with every new agent) or custom.
For an action, credential_mode Maker means every user acts with the maker's own credentials.
Use get_component with an id from this answer to read one part in full.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agent": "<agent>"
},
"name": "get_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | ||
| detail | No | summary |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |