Analyze document
doc_analyzeParse local documents into a structured profile, anchors, outline, blocks, and chunks to provide read-only document context for AI agents.
Instructions
Parse a local document into a read-only profile, anchors, outline, blocks, and chunks for agent context.
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": {
"path": "<path>"
},
"name": "doc_analyze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Local file path to analyze. | |
| refresh | No | Re-parse even if this path is already cached. | |
| maxTextLength | No | Maximum text characters per source anchor before chunking. | |
| chunkSize | No | Target chunk size in characters. | |
| chunkOverlap | No | Chunk overlap in characters. |