Container Create Tool
container_create_toolCreate a new container from an image, with optional environment variables, volumes, labels, and command.
Instructions
Create a new 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": {
"image": "<image>"
},
"name": "container_create_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Environment variables | |
| name | No | Container name | |
| image | Yes | Container image (e.g. "registry.access.redhat.com/ubi9/ubi:latest") | |
| labels | No | Container labels | |
| command | No | Command to run | |
| volumes | No | Volume mounts (format: "host_path:container_path[:options]") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||