Inspect Word file
inspect_wordUse this when the user wants to know what a Word .docx file contains before converting it: counts of headings, paragraphs, list items, tables, cells, images, footnotes and sections, the page size and margins, and which element types would not be carried into a PDF (text boxes, shapes, charts, headers, footers, comments) with counts. Makes no PDF and does not edit the file.
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": {
"file": "<file>"
},
"name": "inspect_word"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | The Word document to inspect, e.g. contract.docx (a .docx file up to 15 MB). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| notes | Yes | ||
| counts | Yes | ||
| outline | Yes | ||
| not_carried | Yes | ||
| source_name | Yes | ||
| outline_count | No | ||
| carried_with_rule | Yes |