chat_read
Read a bounded slice of chat turns with a maxChars cap and auto-fill the SQLite cache. Use start/end indexes from chat_outline to fetch only the conversation segment you need.
Instructions
Read a bounded slice of chat turns with a maxChars cap (uses/auto-fills the SQLite cache). Prefer after chat_outline for start/end indexes; use chats_get for the entire chat, chat_cache_read for offline cache-only access. Requires browsers_bind when the cache miss needs a 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_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Exclusive end turn index from chat_outline | |
| start | No | Inclusive start turn index from chat_outline | |
| branch | No | Conversation branch: active thread only, or all branches when the provider supports them | |
| chatId | Yes | Chat id to read | |
| maxChars | No | Hard cap on returned characters (200-20000) | |
| platform | Yes | Provider id: chatgpt | grok | grok-x | claude | copilot | qwen | deepseek | perplexity |