Add to collection
add_to_collectionAdd one saved diagram to the end of a collection with a scenario name and a note on when to use it. If the diagram is already there, the fields you pass replace its old ones and it keeps its place.
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": {
"collectionId": "<collectionId>",
"diagramId": "<diagramId>"
},
"name": "add_to_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | When to use this diagram, in Markdown. | |
| scenario | No | A short name for the situation this diagram covers. | |
| diagramId | Yes | ||
| collectionId | Yes |