Validate a Garphield document
garphield_validateCheck a stored document (doc) or a raw .gph document (document) the way the workbench would load it, strictly: the schema, the graph, every binding against the graph's fields and the channel rules, and the filter stack. Returns ok, errors (code, path, message, expected, suggestions) and warnings such as UNLAID (no saved positions).
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": "garphield_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | No | Document reference: a stored document id, a file path, or "current" in the workbench. | |
| document | No | A whole .gph document as JSON, for callers who wrote one themselves. |