Compose a diagram
compose_diagramDraw a tech stack diagram: a picture and an editable diagram on tekyous.dev. By default it shows the stack: catalogue tool slugs (look each up with search_tools) in three to five groups named by role, with no connectors, no numbered steps and at most two notes; connectors only when the user asks how the parts connect. A custom tool is a technology the catalogue lacks, under its own short name with what it does in its caption, never a step, module or feature of the project. Pass the spec as diagram (format 'tekyous-diagram'; the design_stack prompt explains it) or a full Tekyous canvas file. Returns an image URL (PNG), a builder link that opens the diagram fully editable, slugs the catalogue does not know, custom_matches (custom tools the catalogue lists, each with the change that swaps it in: apply it), warnings from the catalogue's rules, layout issues in the drawn picture, advice (where the spec strays from a plain stack: follow it unless the user asked for that), the look used with the others available (look: mention them to the user), and the document to send again when revising. In hosts that render MCP Apps, the result shows as the Tekyous diagram widget: the picture in the chat, inline and full screen, with an Open in builder button, so the user sees it without it being drawn again; there, don't put the image in your reply as well (no image URL, markdown or HTML image). Elsewhere, give the image URL and the builder link.
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": {
"diagram": "<diagram>"
},
"name": "compose_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diagram | Yes | The short form: tools by slug in groups, with custom tools for what the catalogue lacks. No positions; Tekyous lays it out (a full canvas file, format tekyous-canvas, places everything itself). By default a stack: groups by role, no connectors, one or two notes at most. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||