run
Execute user-authorized native programs or discovered shell commands with native OS permissions, supporting one-shot, interactive, and service lifetimes and reliable operation receipts.
Instructions
Execute a user-authorized native program (exact executable + argv) or discovered shell command (shell_id), with native OS permissions and possible filesystem, process and network effects. Supports oneshot, interactive and service lifetimes. Read core, project rules and guide:native-exec first. Requires a stable operation_id; query the original receipt after an unknown outcome instead of resending.
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": {
"context_id": "<context_id>",
"operation_id": "<operation_id>",
"execution": "<execution>"
},
"name": "run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| tty | No | ||
| stdin | No | ||
| lifetime | No | oneshot | |
| execution | Yes | ||
| context_id | Yes | ||
| operation_id | Yes | ||
| env_overrides | No | ||
| yield_time_ms | No | ||
| execution_deadline_ms | No |