create_container
Create and optionally start a Docker container from a specified image, with custom name, environment variables, labels, and command.
Instructions
Create and optionally start a container. Command is a string that will be split into an array (e.g. 'sleep 60' becomes ['sleep', '60']). For the raw array form use the JSON format for env/labels.
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": "<name>"
},
"name": "create_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| name | Yes | ||
| image | Yes | ||
| env_id | No | 0 | |
| labels | No | ||
| command | No | ||
| agent_token | No |