chat_cache_update_block
Update a single cached conversation block to revise content or bump its revision, and optionally resync that turn from the live browser tab.
Instructions
Update one cached block (bumps revision) or resync that turn from the live tab via resyncFromHost. Prefer for surgical cache edits; use chat_cache_append to add turns, chat_cache_sync to refresh the whole chat. Local cache only unless resyncFromHost needs the bound browser.
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": {
"turnIndex": "<turnIndex>"
},
"name": "chat_cache_update_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Optional role override for the block | |
| chatId | No | Chat id when selecting cache by platform+chatId | |
| cacheId | No | Cache row id containing the block | |
| content | No | Replacement content when not resyncing from host | |
| platform | No | Provider id: chatgpt | grok | grok-x | claude | copilot | qwen | deepseek | perplexity | |
| turnIndex | Yes | Zero-based turn index of the block to update | |
| resyncFromHost | No | When true, refresh this turn from the live provider tab instead of content |