Get Agent Configuration
get_agent_configRead an agent's settings as the owner edits them: the editable inbound, outbound and text prompts, greeting, voice (with its list_voices id when it has one), model, call length, transfer settings, and the call summary and lead score instructions. Read this before update_agent_config: inbound_prompt there replaces the whole prompt, so edit the text returned here.
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_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Agent ID (from list_agents). | |
| business_id | No | Business ID. Needed only when the agent belongs to more than one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | ||
| error | No | Present when success is false | |
| success | Yes | Whether the tool completed successfully |