apply_to_matching
Batch-update XMind nodes whose titles contain a keyword: set styles, add or remove markers and labels, and preview changes before applying.
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>",
"keyword": "<keyword>"
},
"name": "apply_to_matching"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | 要设置的样式(可选),键与 set_node_style 一致 | |
| keyword | Yes | 标题包含的关键词(不区分大小写) | |
| preview | No | 只返回将影响的节点,不实际修改(默认 false) | |
| auto_save | No | 是否自动保存(默认 false) | |
| file_path | Yes | .xmind 文件路径 | |
| add_labels | No | 要添加的标签列表 | |
| add_markers | No | 要添加的标记 ID 列表 | |
| remove_labels | No | 要移除的标签列表 | |
| remove_markers | No | 要移除的标记 ID 列表 |