Show a TakeSix diagram
showValidates a TakeSix document and writes it as a self-contained HTML file that opens in any browser without a network, or inline in MCP Apps, returning the file path.
Instructions
Validates a TakeSix document and writes it as one self-contained HTML file (opens in any browser, no network). In apps that support MCP Apps the diagram also opens in the conversation. Returns the file path.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "show"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Path to a .takesix.json file, instead of `document` | |
| credit | No | Show a small "Made with TakeSix" link in the corner of the HTML file. Default: true; set false when the user asks to leave it out | |
| output | No | Where to write the HTML file. Default: next to `file`, or in a takesix folder in the temp directory | |
| document | No | The takesix document as a JSON object ({ "takesix": "1.0", "title", "blocks", "links" }) |