batch_update_titles
Batch replace XMind node titles by keyword or regular expression to rename many topics at once. Returns the modified nodes so changes are easy to verify.
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>",
"find": "<find>",
"replace": "<replace>"
},
"name": "batch_update_titles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| find | Yes | 要查找的文本或正则表达式 | |
| replace | Yes | 替换为的文本 | |
| auto_save | No | 是否自动保存(默认 false) | |
| file_path | Yes | .xmind 文件路径 | |
| use_regex | No | 是否把 find 当作正则表达式(默认 false) |