Request Agent Change With Approval
request_agent_updateChange a live agent's name, greeting, prompts, voice, model, call length or call transfer through the approval-gated path, for changes made on the owner's behalf that need a recorded approval. Needs agent_id, at least one field to change and the owner's confirmed approval. Callers hear the change on their next call. Direct edits by the owner go through update_agent_config. Returns needs_user_input, needs_approval, pending_approval, executed, denied or unsupported; only executed means the change was made.
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>",
"idempotency_key": "<idempotency_key>"
},
"name": "request_agent_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The name the agent uses. | |
| actor | No | Do not set. Kept for older clients; the signed-in connection identifies you. | |
| model | No | Language model settings: { provider, model }. | |
| voice | No | Voice to use, from list_voices: { provider, voiceId }. | |
| reason | No | Why the change is being made; kept in the audit log. | |
| dry_run | No | Check access, inputs and approval without making the change. | |
| sms_llm | No | Model for text replies. | |
| agent_id | Yes | The agent to change. | |
| metadata | No | Agent metadata to merge. | |
| authority | No | Do not set. It cannot approve a change: the owner approves through review_url or by being signed in. | |
| sms_prompt | No | Instructions for text replies. | |
| source_ref | No | Optional reference for the request, such as a ticket or automation run ID. | |
| business_id | No | Business ID. Required when the token can reach more than one business. | |
| max_duration | No | Longest call length, in seconds. | |
| outbound_llm | No | Model for outgoing calls. | |
| first_message | No | The greeting callers hear. | |
| inbound_prompt | No | Instructions for incoming calls. | |
| idempotency_key | Yes | Required to make the change. Repeating a key returns the first outcome instead of running the change again. | |
| outbound_prompt | No | Instructions for outgoing calls. | |
| transfer_enabled | No | Whether the agent may transfer calls to a person. | |
| voice_catalog_id | No | Voice to use: an id from list_voices. Preferred over voice. | |
| extraction_schema | No | Fields to capture from each call. | |
| queue_for_approval | No | When approval is missing, create a pending approval the owner can accept in the dashboard instead of returning needs_approval. | |
| transfer_phone_number | No | Where transfers go (E.164). | |
| outbound_first_message | No | Opening line on outgoing calls. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| error | No | Present when success is false | |
| intent | No | ||
| result | No | ||
| status | No | ||
| message | No | ||
| success | Yes | Whether the tool completed successfully | |
| summary | No | ||
| approval | No | ||
| request_id | No | ||
| risk_level | No | ||
| business_id | No | ||
| missing_fields | No |