exec
Run shell commands inside a sandbox, returning combined stdout and stderr. Use for CLI tasks like git, npm, pip, apt, curl.
Instructions
Run a shell command inside the sandbox. Returns combined stdout+stderr. Use for any CLI work: git, npm, pip, apt, curl, etc.
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>",
"command": "<command>"
},
"name": "exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Sandbox id | |
| command | Yes | Shell command to run (executed via bash -c) |