exec_container
Execute a command inside a running container using its ID or name. Use interactive mode to keep STDIN open for ongoing input.
Instructions
Execute a command in 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": "exec_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Command to execute | |
| container | Yes | Container ID or name | |
| interactive | No | Keep STDIN open even if not attached |