add_relationship
Adds a relationship line connecting two specified nodes in a chosen XMind worksheet, with an optional label, to show links between ideas.
Instructions
在指定工作表中添加一条关系线(relationship),连接两个任意节点。
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>",
"start_id": "<start_id>",
"end_id": "<end_id>"
},
"name": "add_relationship"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | 关系线文字(可选) | |
| end_id | Yes | 终点节点 ID | |
| start_id | Yes | 起点节点 ID | |
| auto_save | No | 是否自动保存(默认 false) | |
| file_path | Yes | .xmind 文件路径 | |
| sheet_index | No | 工作表索引(默认 0) |