Update Agent Configuration
update_agent_configEdit an agent's live runtime configuration — greeting/first message, inbound or SMS prompt, voice, language model, max call duration, and call-transfer settings — routed through the governed update broker so every change keeps the consent + audit trail (a versioned config snapshot and change history). Every write here is reversible: inspect what changed with get_change_history or list_config_versions, then undo it with rollback_config. Mutating changes need an idempotency_key; high-impact live changes need human authority (an authority envelope) or queue_for_approval for dashboard sign-off. For just a single named operational-rules section, prefer configure_agent_business_rules.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Agent display name. | |
| actor | No | Who is asking: { type: agent|human|system|integration, id, display_name }. | |
| model | No | Language model selection: { provider, model, temperature }. | |
| voice | No | Voice selection: { provider, voiceId }. | |
| dry_run | No | Validate and summarize the change without writing. | |
| agent_id | Yes | KaiCalls agent ID to update. | |
| authority | No | Attribution only. Caller-supplied authority cannot authorize live changes; authenticated owner review of the stored request is required. | |
| sms_prompt | No | SMS reply prompt. | |
| source_ref | No | External source reference, such as a support ticket or conversation ID. | |
| business_id | No | Business ID. Required when the agent has multiple accessible assignments. | |
| max_duration | No | Maximum call duration in seconds. | |
| first_message | No | Spoken greeting / first message callers hear. | |
| inbound_prompt | No | Full inbound system prompt that drives the agent. | |
| idempotency_key | No | Required for writes. Reuse the same key when retrying the same change. | |
| outbound_prompt | No | Outbound (campaign) system prompt. | |
| transfer_enabled | No | Enable/disable live call transfer. | |
| queue_for_approval | No | When authority is missing, create a pending dashboard approval instead of returning needs_approval. | |
| transfer_phone_number | No | Number to transfer qualified calls to. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| error | No | Present when success is false | |
| result | No | ||
| 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 |