get_agent
Retrieve a single agent's full configuration by UUID or name. Use it to check knowledge base selection mode and determine if knowledge_base_ids are required for agent_chat calls.
Instructions
Get full configuration of a single agent by UUID or name. Check kb_selection_mode and knowledge_bases fields: if kb_selection_mode is 'none' or 'selected' with an empty knowledge_bases list, you MUST pass knowledge_base_ids when calling agent_chat.
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_id": "<agent_id>"
},
"name": "get_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Agent UUID or name |