poem_validate
Validates POEM pseudo-code files for syntax errors, naming convention violations, and structural completeness, returning must-fix errors, warnings, and stats.
Instructions
Validate a .poem file for syntax correctness and convention compliance. Checks: brace balance, naming conventions (UPPER_SNAKE for constants, snake_case for functions, PascalCase for types), and structural completeness.
Returns errors (must fix), warnings (should fix), and stats.
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": {
"source": "<source>"
},
"name": "poem_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | The .poem file content to validate |