validate_package
Validates a package directory locally before deployment: checks recipe JSON syntax, project.json presence, and that all referenced zip files exist. Returns errors, warnings, and diagnostics.
Instructions
LOCAL lint of a package DIRECTORY before deploy (NO API call). Runs the ported recipe-lint rule engine on each *.recipe.json (see lint_recipe for the rule set), plus package-level checks: all *.json parse; project.json at root (warn); every config[].account_id.zip_name resolves to a file on disk. Returns {package, passed, errors, warnings, ok, diagnostics[]} where each diagnostic is {rule_id, tier, level, message, file}.
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": {
"path": "<path>"
},
"name": "validate_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |