read_structure
Inspects Office document structure by extracting paragraphs from DOCX, sheet details from XLSX, and shape texts from PPTX, returning a structured outline for targeted editing.
Instructions
读取文档大纲:docx 逐段 {loc,text};xlsx 每 sheet 维度与抽样;pptx 每页形状文本。返回 {format, items|sheets|slides}。
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": "read_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 文档绝对路径 | |
| max_items | No | 限制返回条目数,默认 500 |