Get ONES Document Chunks
get_doc_chunksFetch one cursor-based chunk from a ONES document using a character budget to support paginated reading.
Instructions
Return one cursor-based chunk from a ONES doc ref using a character budget.
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": {
"ref": "<ref>"
},
"name": "get_doc_chunks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| cursor | No | ||
| max_chars | No | ||
| include_resources | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | ||
| chunk | Yes | ||
| has_more | Yes | ||
| markdown | Yes | ||
| next_cursor | Yes |