create_diagram
Create various diagrams like flowcharts, UML, network, org charts, mind maps, and more by specifying type, title, elements, and connections.
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": {
"type": "<type>",
"title": "<title>"
},
"name": "create_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | 图表类型 | |
| title | Yes | 图表标题 | |
| elements | No | 图表元素列表 | |
| connections | No | 连接关系 |