validate_saga
Validate a Saga descriptor against its schema and report errors. Accepts a file path or YAML content for safe pre-write checks.
Instructions
Check a Saga descriptor against the schema and report what's wrong. Give either a path on disk or the YAML content directly. Validating is free and has no side effects, so prefer it over assuming an edit was correct.
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_saga"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | path to a Saga descriptor on disk | |
| content | No | the descriptor's YAML content, for validating an edit before writing it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| valid | Yes | ||
| controls | No | ||
| components | No |