Convert between configuration technologies
convert_configConvert a configuration between technologies (not just data formats): docker-run-to-compose, compose-to-docker-run, compose-to-kubernetes, swagger2-to-openapi3. Returns JSON with the output and warnings about anything that could not be translated faithfully — read them back to the user. Call list_supported_technologies to see every conversion. For plain format changes (YAML ↔ JSON, TOML…) use convert_yaml.
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": {
"conversion": "<conversion>",
"content": "<content>"
},
"name": "convert_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The source: a docker-compose file, a `docker run` command, a Swagger 2.0 document… | |
| conversion | Yes | Conversion id, e.g. "compose-to-kubernetes" |