Inspect a document
inspect_documentInspect Word, PowerPoint, or Excel files to retrieve outlines, paragraphs, styles, worksheets, tables, and cell data; use filters to narrow Excel results and copy anchors or node paths.
Instructions
Inspect a Word, PowerPoint, or Excel document. Excel returns worksheets, tables, and a bounded cell list; use sheetId, range, and maximumCells to narrow it. Other formats return their outline, paragraphs, content controls, nodes, and styles. Copy anchors and node paths from this result.
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": {
"connectionId": "<connectionId>",
"documentId": "<documentId>",
"fidelity": "<fidelity>",
"paragraphOffset": "<paragraphOffset>",
"paragraphLimit": "<paragraphLimit>",
"sheetId": "<sheetId>",
"range": "<range>",
"maximumCells": "<maximumCells>"
},
"name": "inspect_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | ||
| sheetId | Yes | ||
| fidelity | Yes | content | |
| documentId | Yes | ||
| connectionId | Yes | ||
| maximumCells | Yes | ||
| paragraphLimit | Yes | ||
| paragraphOffset | Yes |