update_conversation_variables
Update dynamic variables on a conversation thread to influence subsequent voice or chat turns. Use when context arrives from CRM syncs or webhooks.
Instructions
Set or update dynamic_variables on a conversation thread.
These variables are inherited by any subsequent voice/chat turn that renders the agent's prompt template. Useful when context arrives out-of-band (CRM sync, webhook from your system, etc.).
Args: conversation_id: Target thread dynamic_variables: dict of {name: value} replace: If True, replaces the existing dict entirely. If False (default), merges into the existing dict.
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": {
"conversation_id": "<conversation_id>",
"dynamic_variables": "<dynamic_variables>"
},
"name": "update_conversation_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| replace | No | ||
| conversation_id | Yes | ||
| dynamic_variables | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||