create_route
Define and configure routes for APISIX-MCP by specifying paths, hosts, methods, and upstream settings to manage API traffic efficiently.
Instructions
Create a route
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": {
"route": "<route>"
},
"name": "create_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | route id | |
| route | Yes | route configuration |