route_create
Create a new route for Edge Routine (ER) with options for mode, rule, and sequence. Set bypass and enable status to manage routing configurations directly through the ESA MCP Server.
Instructions
Create a new route associated with an Edge Routine (ER).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bypass | Yes | The bypass of the route, default is off | |
mode | Yes | The mode of the route, default is simple | |
route | No | The route of the route, if mode is simple, this field is required. For example: test.example.com/* | |
routeEnable | Yes | The enable of the route, default is on | |
routeName | Yes | The name of the route, use to identify the route. For example: test-route | |
routineName | Yes | The name of the routine | |
rule | Yes | The rule of the route, if mode is custom, this field is required | |
sequence | No | The sequence of the route, if not passed, default is the current number of routes | |
siteId | Yes | The ID of the site |
Input Schema (JSON Schema)
{
"properties": {
"bypass": {
"description": "The bypass of the route, default is off",
"enum": [
"on",
"off"
],
"type": "enum"
},
"mode": {
"description": "The mode of the route, default is simple",
"enum": [
"simple",
"custom"
],
"type": "enum"
},
"route": {
"description": "The route of the route, if mode is simple, this field is required. For example: test.example.com/*",
"type": "string"
},
"routeEnable": {
"description": "The enable of the route, default is on",
"enum": [
"on",
"off"
],
"type": "enum"
},
"routeName": {
"description": "The name of the route, use to identify the route. For example: test-route",
"type": "string"
},
"routineName": {
"description": "The name of the routine",
"type": "string"
},
"rule": {
"description": "The rule of the route, if mode is custom, this field is required",
"type": "string"
},
"sequence": {
"description": "The sequence of the route, if not passed, default is the current number of routes",
"type": "number"
},
"siteId": {
"description": "The ID of the site",
"type": "number"
}
},
"required": [
"siteId",
"mode",
"rule",
"routineName",
"routeName",
"bypass",
"routeEnable"
],
"type": "object"
}