thanaton_manage_routes
List, set, or delete edge routing rules, redirects, and HTTP security headers for a project. Use it to control URL rewrites, redirect status codes, and response headers.
Instructions
List, set, or delete edge routing rules, rewrites, custom redirects, and HTTP security headers.
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": {
"project_id": "<project_id>",
"action": "<action>"
},
"name": "thanaton_manage_routes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Route rule type (default: rewrite) | |
| action | Yes | Action to perform | |
| source | No | Incoming path regex or pattern (for set, e.g. /api/(.*)) | |
| status | No | HTTP redirect status code (e.g. 301, 302, 307, 308) | |
| route_id | No | Route ID (required for delete) | |
| project_id | Yes | Target project ID | |
| destination | No | Target URL or rewrite path (for set, e.g. /$1) |