Get an AI agent's call variables
get_agent_variablesRead an AI agent's call variables config (declared variables, SMS templates, SMS mode, caller lookup), with the revision a write must name and the schema_hash a call admitted now carries. The same answer as GET /v1/agents/{agent_id}/variables.
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_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| organization_id | No | Optional. Defaults to the authenticated workspace; when supplied it must be that workspace's id. |