repair_arenascript
Repairs a pseudo-ArenaScript while keeping its own conditions: mechanical fixes (header, sections written inline, ATR syntax), removal of the sections the engine refuses, then line-by-line removal of what the preflight of the Lab's Rust engine refuses (each removal is listed). valid comes from the engine alone. If no executable entry condition is left, the tool says so (ok=false) instead of inventing a strategy.
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": {
"arenascript": "<arenascript>"
},
"name": "repair_arenascript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arenascript | Yes | ArenaScript script (20,000 characters max). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |