Run container
k8s_run_containerRuns a Kubernetes container from a specified image with optional name, ports, environment variables, volumes, labels, and command, enabling agents to deploy workloads on demand.
Instructions
Invoke the run_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": {
"image": "<image>"
},
"name": "k8s_run_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| image | Yes | ||
| ports | No | ||
| detach | No | ||
| labels | No | ||
| command | No | ||
| context | No | Named context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted. | |
| volumes | No | ||
| environment | No |