get_space_diagram
Retrieves a diagram from a Diagrammo Cloud space by ID or title, returning its folder, chart type, version, update time, and source as JSON.
Instructions
Read a diagram from a Diagrammo Cloud space, by id or by title in folder. Titles match case-insensitively. Returns JSON { id, title, folder, chartType, version, updatedAt, source }. Needs DGMO_API_KEY (a space API key) in the server environment. Errors when the key is refused (401/403) or nothing matches (404); list_space_diagrams shows what is there.
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": {
"space_id": "<space_id>"
},
"name": "get_space_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Diagram id. Takes precedence over title. | |
| title | No | Diagram title, when no id is given. | |
| folder | No | Folder path from the space root, e.g. "docs/architecture". Omit for the root. | |
| space_id | Yes | The space the API key belongs to (the key does not name it). Shown beside the key when it is made at https://online.diagrammo.app/account. |