aa_upsert_diagram
Add or update a diagram in the working report and validate its structure immediately to catch errors before publishing.
Instructions
Add or update a diagram in the working report with immediate structural validation.
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": {
"workspace": "<workspace>",
"id": "<id>",
"title": "<title>",
"kind": "<kind>",
"nodes": "<nodes>",
"edges": "<edges>"
},
"name": "aa_upsert_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| kind | Yes | ||
| edges | Yes | ||
| nodes | Yes | ||
| title | Yes | ||
| freshness | No | ||
| workspace | Yes |