Query Blocks
query_blocksSearch for document blocks by type, indent level, list type, checked status, or text content to find specific information without reading entire documents.
Instructions
Search for blocks matching specific criteria. Filter by block type, indent level, list type, checked state, or text content. Returns a list of matching block summaries. Use this to find blocks without reading the entire document.
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": {
"graph_id": "<graph_id>",
"document_id": "<document_id>"
},
"name": "query_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_id | Yes | ||
| document_id | Yes | ||
| block_type | No | ||
| indent | No | ||
| indent_gte | No | ||
| indent_lte | No | ||
| list_type | No | ||
| checked | No | ||
| text_contains | No | ||
| limit | No |