chat_cache_sync
Fetch a chat from the bound browser and store its blocks with FTS5 in a local SQLite cache, so repeated reads on long threads use the cached copy instead of refetching live.
Instructions
Fetch a chat from the bound browser and store blocks+FTS5 in the temp SQLite cache. Prefer before repeated chat_cache_read on long threads; use chat_outline/chat_read when you need live outline/slice without an explicit sync. Writes local cache only; requires browsers_bind for the host fetch.
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": {
"platform": "<platform>",
"chatId": "<chatId>"
},
"name": "chat_cache_sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | When true, refresh even if a cache copy already exists | |
| branch | No | Branch selector when the provider supports multiple branches | |
| chatId | Yes | Chat id to sync into the local cache | |
| platform | Yes | Provider id: chatgpt | grok | grok-x | claude | copilot | qwen | deepseek | perplexity | |
| browserId | No | Override bound browserId for this sync |