Exec in container
k8s_exec_in_containerExecute commands inside a Kubernetes container using container_id and command, with optional context, detach, and binary settings.
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": "k8s_exec_in_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| binary | No | ||
| detach | No | ||
| command | Yes | ||
| context | No | Named context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted. | |
| container_id | Yes |