Graphite document validator
graphite_validate_docValidate Graphite documents structurally without rendering, checking JSON parse, network shape, node entries, and export references. Accepts inline document or file path, returns valid status with specific reasons.
Instructions
Structurally validate a Graphite document WITHOUT rendering: JSON parse, network_interface shape, node-entry tuples, and export references. Pass EITHER { document } (inline) OR { documentPath }. Optional compileCheck: true adds the engine's own compile verdict (default false). Validation results are data: an invalid document returns valid: false with precise reasons instead of an error.
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": "graphite_validate_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | No | ||
| compileCheck | No | ||
| documentPath | No |