kos_program_read_file
Retrieve the contents of a kerboscript file from the archive volume directly or from a local kOS disk via telnet.
Instructions
Read a kerboscript file. For paths on the archive volume we read directly from disk; for local kOS disks we route through telnet.
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": "kos_program_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Source path, e.g. `0:/launch.ks` or `1:/boot/recorder.ks`. |