docker_exec
Run a command inside a running Docker container by providing the container name or ID and the command to execute.
Instructions
Execute a command inside a running container.
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 |
|---|---|---|---|
| command | Yes | The command to run inside the container. | |
| container | Yes | Container name or ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||