caddy_list_routes
List all routes on a Caddy HTTP server with readable matcher/handler summaries and raw JSON, so you can inspect, debug, or audit active routing configuration.
Instructions
List all routes on a Caddy HTTP server with a human-readable summary of matchers and handlers, followed by the raw route JSON. Both halves are capped on large servers: the summary at 500 routes, the JSON at 20000 characters (truncated on whole-route boundaries, so it always parses). When either cap trims output, a note says how many routes were omitted -- read the rest with caddy_config_get at 'apps/http/servers//routes'.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "caddy_list_routes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | Caddy server name (default: srv0) | srv0 |