countinghouse_validate_module
Validate a module folder before running its code by checking package.json, api.json, schema.json, and action handler files, then report each problem with its stage and fix.
Instructions
Check your own module's folder without running its code: package.json, api.json, schema.json, and that each action has its handler file. Returns every problem found, each naming the stage and the way out. Its code runs only once you add the module with ch-local add-module in your own terminal.
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": "countinghouse_validate_module"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the module directory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| module | No | ||
| problems | No |