Check a TakeSix document
validateChecks a TakeSix document for format rules—at most six blocks per level, unique IDs, and links between existing blocks—and lists every problem with its JSON path.
Instructions
Checks a TakeSix document against the format: at most 6 blocks per level, unique ids, links between existing blocks. Lists every problem with its JSON path; on success, one line about the shape of the diagram.
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": "validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Path to a .takesix.json file, instead of `document` | |
| document | No | The takesix document as a JSON object ({ "takesix": "1.0", "title", "blocks", "links" }) |