kos_program_eval
Evaluate a kerboscript expression and return the printed output. Use this tool to test kOS code snippets or retrieve values from the simulation.
Instructions
Evaluate a single kerboscript expression with PRINT (...) and return the printed value.
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": {
"expression": "<expression>"
},
"name": "kos_program_eval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes | kerboscript expression. Trailing periods are stripped. | |
| timeout_ms | No | Override default wait timeout. |