Prepare a document for analysis
doc_prepareBuilds a document's structural map and returns the required evidence-first workflow before any analysis task. Use it first to orient document reading and ensure cited evidence.
Instructions
Build a structural map and return the required evidence-first workflow. Use this first for any document analysis task.
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_prepare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path, or a path relative to the MCP server process. | |
| maxHeadings | No | Maximum headings/sections shown in the map. |