Read content
read_contentContinue reading content behind a content_ref from get_message, get_message_attachment, get_call or a draft. as=text pages UTF-8 text with a version-bound cursor and limit_chars (default 8000, max 32000). as=bytes returns base64 chunks by offset/max_bytes for client software to reassemble (default 1 MiB, max 4 MiB per call); do not paste bytes into the conversation. A changed or deleted source answers content_unavailable: perform a fresh authorized read.
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": {
"content_ref": "<content_ref>"
},
"name": "read_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as | No | text (default for text-like content) or bytes (default for binary). | |
| cursor | No | as=text: continuation cursor from the previous page. | |
| offset | No | as=bytes: byte offset to start from. | |
| max_bytes | No | as=bytes: decoded bytes to return; clamped to the server maximum. | |
| content_ref | Yes | Opaque reference from a prior result. Not a URL, not a credential; useless without current authorization. | |
| limit_chars | No | as=text: characters per page. |