caddy_list_routes
List all routes on a Caddy HTTP server with a readable summary and raw JSON, automatically truncating large outputs while preserving valid JSON.
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'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | Caddy server name (default: srv0) | srv0 |