delete_route
Remove a route from a Caddy HTTP server by specifying its index. Changes apply immediately. Use list_routes to find the index.
Instructions
Delete a route by index from an HTTP server's route list. Use list_routes to find the index. Changes take effect immediately.
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": {
"server_name": "<server_name>",
"route_index": "<route_index>"
},
"name": "delete_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route_index | Yes | ||
| server_name | Yes |