Validate a Calaf seed file
validate_seedRuns a draft seed document through the exact parser the Calaf app imports with. Pass the entire JSON document as a string. Returns per-section counts and the precise issue list (path, severity, message): severity "error" means nothing imports; "dropped" means that row or field is discarded and the rest lands. Fix the issues and validate again until clean before delivering the file to the user.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"seed": "<seed>"
},
"name": "validate_seed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | Yes | The complete seed JSON document — as text, or as the JSON object itself. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | ||
| counts | Yes | ||
| issues | Yes | ||
| hasVocab | Yes | ||
| hasPlanner | Yes |