MCP Reference
agent_get
Get Agent
Beschreibung
Returns a single agent by prefix id. The response is the
same payload agent_save and agent_list return —
including system_prompt, model, and tools.
Zugriff
Zugriffsprofil: gated. Module: none.
Die Freigabe im Profil ersetzt keine Account-, Workspace- oder Rollenberechtigung.
Parameter
| Name | Typ | Pflicht | Beschreibung |
|---|---|---|---|
account_id |
string | Ja | |
id |
string | Ja | Agent prefix id (agnt_…). |
Eingabeschema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"account_id": {
"type": "string"
},
"id": {
"type": "string",
"description": "Agent prefix id (agnt_…)."
}
},
"required": [
"account_id",
"id"
],
"type": "object"
}
Ausgabeschema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"agent": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"system_prompt": {
"type": [
"string",
"null"
]
},
"model": {
"type": [
"string",
"null"
]
},
"tools": {
"type": "array",
"items": {
"type": [
"string",
"object"
]
}
},
"active": {
"type": "boolean"
},
"creator_role": {
"type": "string"
},
"creator": {
"type": [
"object",
"null"
]
},
"account_id": {
"type": [
"string",
"null"
]
},
"created_at": {
"type": "string"
},
"updated_at": {
"type": "string"
}
},
"required": [
"id",
"name",
"active",
"creator_role",
"created_at"
]
}
},
"required": [
"agent"
],
"type": "object"
}