Translate Dockerfile
translate_dockerfileStatically parse a single- or multi-stage Dockerfile or shell install command, map packages to a target container distribution, and suggest multi-stage build-time slimming. Commands are never executed.
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": {
"input": "<input>",
"target_distro": "<target_distro>"
},
"name": "translate_dockerfile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | ||
| stage_index | No | ||
| source_distro | No | ||
| target_distro | Yes | ||
| source_release | No | ||
| target_release | No |