parse_script
Syntax-check Clausewitz scripts in memory, returning exact line/column errors and top-level keys to verify structure.
Instructions
Syntax-check a snippet of Clausewitz script without writing it to disk.
Call this on anything you are about to write. Returns exact line/column for every problem, and the top-level keys the parser saw so you can confirm the structure came out the way you intended.
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": {
"text": "<text>"
},
"name": "parse_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||