compile_script
Compile a C# script without running it. Returns compilation success/failure and any compiler errors. Useful for validating scripts before execution.
Instructions
Compile a C# script without running it. Returns compilation success/failure and any compiler errors. Useful for validating scripts before execution.
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": "compile_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Script name (from scripts/csharp/) or absolute file path to a .cs file |