_mcp_build_docker_image
Builds a Docker image for fine-tuning by rendering a Dockerfile.train and executing the docker build command with specified base image, tag, and optional model caching.
Instructions
Render Dockerfile.train and emit/execute docker build command (dry-run unless local_python+docker configured).
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": {
"project_id": "<project_id>",
"base_image": "<base_image>",
"tag": "<tag>"
},
"name": "_mcp_build_docker_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | ||
| base_image | Yes | ||
| project_id | Yes | ||
| cache_models | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||