remove_unused_attachments
Finds unused attachments and images in an XMind file, then removes them when saving to reduce file size.
Instructions
找出未被任何节点引用的附件/图片,保存时移除,减小文件体积。
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": "remove_unused_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auto_save | No | 是否自动保存(默认 false) | |
| file_path | Yes | .xmind 文件路径 |