Check Gerbil Syntax
gerbil_check_syntaxValidate Gerbil Scheme code syntax without execution. Uses the Gerbil expander to verify code can be expanded, ensuring proper structure before runtime.
Instructions
Check if Gerbil Scheme code is syntactically valid without evaluating it. Uses the Gerbil expander to verify the code can be expanded.
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": "gerbil_check_syntax"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The Gerbil Scheme code to check | |
| imports | No | Modules to import for macro context (e.g. [":std/sugar"]) |