linger_read_document
Read full or paginated UTF-8 content from Linger document cards, reply segments, or room documents, and save binary or large files locally when needed.
Instructions
Read full or paginated UTF-8 content of a Linger document/file card (from snapshot.documents, reply segments, or linger_read_room), or save binary/large files locally via save_to_file=true. Prefer this over asking the Linger agent to paste full text into chat.
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": {
"document_id": "<document_id>"
},
"name": "linger_read_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | Character offset for paginated reads (default 0) | |
| max_chars | No | Max characters to return in one call | |
| document_id | Yes | Document ID referenced by a Linger document card or attachment | |
| save_to_file | No | Save the downloaded document locally with 0600 permissions and return saved_path | |
| document_version_id | No | Optional immutable Document Version ID |