run_example
Compile and execute a built-in Turbo C example by providing its id. Optionally supply custom stdin to override default input.
Instructions
Compile and run a built-in example by id in one shot (uses its sample stdin when defined).
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": {
"id": "<id>"
},
"name": "run_example"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Example id, e.g. 'prime-sieve'. | |
| stdin | No | Override the example's sample stdin. |