repair_file
Repairs unopenable XMind files by rebuilding required metadata, content, themes, and revision data, restoring a blank canvas if content.json is missing while preserving attachments and backing up the original.
Instructions
修复打不开的 XMind 文件:自动补全 metadata.json、content.xml、默认主题、revisionId 等 XMind 必需内容;若 content.json 缺失或损坏,会重建空白画布并保留 zip 内的附件资源。覆盖保存前会自动备份原文件。
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": "repair_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | .xmind 文件路径 | |
| output_path | No | 修复后另存的路径(可选,省略则覆盖原文件) |