duplicate_route
Duplicate a route and its responses into the same environment, regenerating UUIDs and appending '(copy)' to the documentation.
Instructions
Clone an existing route (with all its responses) into the same environment. All UUIDs are regenerated. The copy gets '(copy)' appended to its documentation.
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": {
"environmentId": "<environmentId>",
"routeId": "<routeId>"
},
"name": "duplicate_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| environmentId | Yes | Environment UUID | |
| routeId | Yes | UUID of the route to duplicate |