Read a file's text
tarkle_read_fileRead the text of one file by fileId (from tarkle_search_files or tarkle_list_files), about 12,000 characters per call. For a PDF choose pages with fromPage and toPage; truncated says more follows. An audio or video recording is read as its transcript, each line starting with its time as [m:ss]. note says what is missing when only part of a file could be read. A file Tarkle cannot read is refused with the reason (still being read: ask again; no speech; a format it cannot open; too large). Reading a file Tarkle has already read uses no credits; a scan or recording it has not read yet is read first, which uses the workspace's AI credits.
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": {
"workspaceId": "<workspaceId>",
"fileId": "<fileId>"
},
"name": "tarkle_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | The id of a file, from tarkle_list_files or tarkle_search_files. | |
| toPage | No | Last page to read. Applies to PDFs. | |
| fromPage | No | First page to read, counting from 1. Applies to PDFs. | |
| llm_model | No | The model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics. | |
| workspaceId | Yes | The workspace's id, from tarkle_list_workspaces. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| note | No | ||
| text | No | ||
| fileId | No | ||
| notice | No | ||
| toPage | No | ||
| fromPage | No | ||
| truncated | No |