Deploy the draft
deploy_dynamic_routeValidates the row-locked current draft and deploys it as a new immutable version, changing live routing. Optional expected_route_uuid, expected_draft_revision and expected_active_version_number bind the operation to the reviewed identity, draft and live pointer; zero active version means unpublished. A mismatch returns 409. Supply a fresh idempotency_key for each new deployment and reuse identical arguments only to retry that operation. A replay returns the original version in meta.deployed_version and current observational data without reactivating the original version or validating a later draft. meta.idempotency_replayed identifies replays. The receipt can also be recovered by the read-only deployments/{idempotency_key} endpoint. Requires the dynamic_routes:write scope.
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": {
"name": "<name>"
},
"name": "deploy_dynamic_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Route name | |
| note | No | Release note recorded on the new version. | |
| idempotency_key | No | Unique operation identifier. Reusing the same request returns its original deployed version without reactivating it. Use a fresh identifier for every new deployment. | |
| expected_route_uuid | No | Optional route identity precondition; a recycled route name does not satisfy it. | |
| expected_draft_revision | No | Optional positive revision of the draft reviewed by the caller; a changed draft returns 409. | |
| expected_active_version_number | No | Optional active version precondition; zero means currently unpublished. A changed live pointer returns 409. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| meta | No |