update_conversation
Set custom metadata on a conversation to store state, tags, or context that persists between messages. Pass null to clear it.
Instructions
Set metadata on a conversation. Use this to store custom state, tags, or context that persists between messages. Pass null to clear metadata.
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>",
"metadata": "<metadata>"
},
"name": "update_conversation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metadata | Yes | JSON metadata object to store on the conversation, or null to clear | |
| conversation_id | Yes | The conversation ID |