Exec in container
podman_exec_in_containerExecute a command inside a specified Podman container by ID to inspect, troubleshoot, or modify its running environment.
Instructions
Invoke the exec_in_container operation.
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_id": "<container_id>",
"command": "<command>"
},
"name": "podman_exec_in_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| binary | No | ||
| detach | No | ||
| command | Yes | ||
| container_id | Yes |