list_routes
Retrieve and manage all routes linked to a specific control plane, including details like protocols, methods, hosts, and paths. Supports pagination for efficient route inspection and configuration.
Instructions
List all routes associated with a control plane.
INPUT:
controlPlaneId: String - ID of the control plane
size: Number - Number of routes to return (1-1000, default: 100)
offset: String (optional) - Pagination offset token from previous response
OUTPUT:
metadata: Object - Contains controlPlaneId, size, offset, nextOffset, totalCount
routes: Array - List of routes with details for each including:
routeId: String - Unique identifier for the route
name: String - Display name of the route
protocols: Array - Protocols this route accepts (http, https, grpc, etc.)
methods: Array - HTTP methods this route accepts
hosts: Array - Hostnames this route matches
paths: Array - URL paths this route matches
stripPath: Boolean - Whether to strip the matched path prefix
preserveHost: Boolean - Whether to preserve the host header
serviceId: String - ID of the service this route forwards to
enabled: Boolean - Whether the route is enabled
metadata: Object - Creation and update timestamps
relatedTools: Array - List of related tools for further analysis
Input Schema
Name | Required | Description | Default |
---|---|---|---|
controlPlaneId | Yes | Control Plane ID (obtainable from list-control-planes tool) | |
offset | No | Offset token for pagination (from previous response) | |
size | No | Number of routes to return |