docker_exec
Execute commands inside running Docker containers for debugging and inspection tasks. Specify container and command to run.
Instructions
Execute command inside a running container. Use for debugging or inspection.
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": {
"container": "<container>",
"command": "<command>"
},
"name": "docker_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container | Yes | Container name or ID | |
| command | Yes | Command to execute | |
| user | No | User to run as |