Get agent details
get_agentGet one agent's configuration: its full instructions, greeting, knowledge sources, whether its lead form is on, conversation and lead totals, its publishUrl, where the owner previews and publishes it in Agent One, and, when it's published, the embed snippet for adding it to an existing website.
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": {
"agentId": "<agentId>"
},
"name": "get_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | Agent ID from list_agents. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| siteId | Yes | ||
| greeting | Yes | ||
| siteName | Yes | ||
| leadCount | Yes | ||
| publicUrl | Yes | ||
| published | Yes | ||
| publishUrl | Yes | ||
| description | Yes | ||
| dashboardUrl | Yes | ||
| embedSnippet | Yes | ||
| instructions | Yes | ||
| leadFormEnabled | Yes | ||
| knowledgeSources | Yes | ||
| conversationCount | Yes |