get_middleware
Retrieve detailed information about a Traefik middleware by name and protocol, or omit the name to list available middlewares. Use it to inspect HTTP, TCP, or UDP middleware configuration.
Instructions
Get information about middlewares
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": {
"protocol": "<protocol>"
},
"name": "get_middleware"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name of the middleware including its provider i.e. `name@provider` Returns detailled informations about the middleware Consult `get_service` without name for list of middlewares | |
| protocol | Yes | Protocol of the middleware, in ['http', 'tcp', 'udp'] |