docker_exec
Execute shell commands inside a Docker container as its user, capturing stdout, stderr, and exit code.
Instructions
Run a shell command inside a container as its user. UNRESTRICTED -- no allow/deny-list. Returns {stdout, stderr, exit_code}.
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": {
"name": "<name>",
"cmd": "<cmd>"
},
"name": "docker_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmd | Yes | ||
| name | Yes | ||
| timeout | No |