Read document
read_documentRead one page (up to 24,000 characters) of a document shared with the workspace, with its page count. Use it when the answer is in a shared sheet or doc; get the document's id from list_documents (or a project's documents in get_project). To find how Twelfth itself works use search_docs instead.
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": {
"documentId": "<documentId>"
},
"name": "read_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page to read (default 1). | |
| context | No | Optional, analytics only: why you are calling this, in a few words; name roles, never people or figures. | |
| documentId | Yes | The shared document's id. | |
| conversation_id | No | Optional, analytics only: one opaque id reused on every call in this conversation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| text | Yes | This page's text, up to 24,000 characters. | |
| document | Yes | ||
| pageCount | Yes | ||
| evidence_id | Yes | ||
| source_evidence_ids | Yes | Workspace evidence IDs backing these rows. Empty when the source carries no evidence records. |