Create a diagram
create_diagramUse this when the user wants a diagram — flowchart, sequence, architecture, ER or mind map — created from a description. Returns the diagram and a link to open and edit it in Xenition.
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": {
"brief": "<brief>"
},
"name": "create_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brief | Yes | what to create — a topic, brief, or outline | |
| title | No | optional title for the saved artifact |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| artifact | Yes |