officecli_query
Query Word DOCX files using CSS-like selectors to extract structured data as JSON for inspection.
Instructions
Optional OfficeCLI auxiliary read. Run CSS-like query with --json. Use only for inspection, never mutation.
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": {
"docx_path": "<docx_path>",
"selector": "<selector>"
},
"name": "officecli_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | ||
| docx_path | Yes | ||
| max_output_chars | No |