suggest_runtime_base
Recommends scratch or distroless as the runtime base for a service based on its type and programming language, guiding minimal base-image selection for hardened container builds.
Instructions
Recommend scratch vs distroless based on service type and language
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": {
"serviceName": "<serviceName>"
},
"name": "suggest_runtime_base"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Programming language (e.g., 'go', 'c', 'rust') | |
| serviceName | Yes | Name of the service (e.g., 'nginx', 'traefik', 'postgres') |