Check a Lugh program
lugh_checkCompile a Lugh program without running it to catch syntax errors and unknown functions or adapters, and count goals, tests, routes, and pages.
Instructions
Compile a Lugh program without running it. Reports syntax errors, unknown functions and adapters, and counts goals, tests, routes and pages.
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": {
"code": "<code>"
},
"name": "lugh_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | A complete Lugh program, starting with `agent <Name>`. |