read_structure
Reads an XMind file's node tree and returns hierarchical text with node IDs, with depth and node limits to keep large maps from overflowing context.
Instructions
读取 XMind 文件的节点树结构,返回带层级和节点 ID 的文本。支持 max_depth/max_nodes 防止大文件撑爆上下文。
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_path": "<file_path>"
},
"name": "read_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clean | No | 是否去掉 📷/📝/🔖 等内部标记(默认 false) | |
| file_path | Yes | .xmind 文件路径 | |
| max_depth | No | 只输出到该层级(可选,根主题为 L0) | |
| max_nodes | No | 最多输出多少个节点,超出截断(可选) | |
| include_ids | No | 是否在每行后输出节点 ID(默认 true) |