generate_dockerignore
Creates a minimal, family-aware .dockerignore for a service's build context, excluding language-specific files based on the chosen build family to keep contexts small and reproducible.
Instructions
Generate a minimal, family-aware .dockerignore for the build context
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>",
"family": "<family>"
},
"name": "generate_dockerignore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| family | Yes | Image build family (determines language-specific exclusions) | |
| serviceName | Yes | Service name (for the file header comment) |