Rollback Agent Configuration
rollback_configRequest a rollback to a saved version of the agent settings. It restores the version's greeting, voice, prompt (and the editable prompt copy, when the version saved one), model and call summary/scoring. Transfer settings, call length, tools and speech recognition stay as they are; the result lists what was and was not restored. When the business owner or an admin is signed in through this connector, the rollback applies immediately; otherwise the owner approves it from a review link. Targets are listed by list_config_versions. The rollback is itself saved as a new version, and secrets are never copied.
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": "rollback_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | No | Do not set. Kept for older clients; the signed-in connection identifies you. | |
| reason | No | Optional human-readable reason recorded in the audit trail. | |
| dry_run | No | Validate tenant, scope, and policy without touching the live config. | |
| agent_id | Yes | Agent ID to roll back. | |
| authority | No | Do not set. It cannot approve a change: the owner approves through review_url or by being signed in. | |
| source_ref | No | External source reference, such as a ticket or automation run ID. | |
| version_id | No | Version id to restore, from list_config_versions. One of version_number/version_id is required. | |
| business_id | No | Business ID (optional only when the token can access exactly one business). | |
| version_number | No | Version number to restore, from list_config_versions. One of version_number/version_id is required. | |
| idempotency_key | No | Stable key for this rollback; repeating it returns the first outcome. Defaults to a key from the agent, the target version and the version live now, so rolling back to the same version again after later changes works. The result returns the key used. | |
| queue_for_approval | No | Create a durable owner-review request (default true). Setting false returns needs_approval, but an authority-envelope retry still cannot execute. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| error | No | Present when success is false | |
| result | No | On executed: { agent_id, restored_from_version, restored_fields, skipped_fields, not_restored, new_version_number, warning? }. | |
| status | No | ||
| message | No | ||
| success | Yes | Whether the tool completed successfully | |
| summary | No | ||
| agent_id | No | ||
| approval | No | ||
| request_id | No | ||
| risk_level | No | ||
| business_id | No | ||
| idempotency_key | No |