Simulate a request through the route
simulate_dynamic_routeOmit version_number or set it to null to simulate the current draft, including an unpublished route. To simulate history, supply a positive version_number from list_dynamic_route_versions. Zero is invalid and does not mean draft. Minimal draft call: {"name":"support","version_number":null}. Optional input and metadata supply request context; overrides.model_outcomes maps model/pool node IDs to success or fallback, and overrides.classifier_cases maps classifier node IDs to case IDs. For example {"name":"support","version_number":null,"overrides":{"model_outcomes":{"primary":"success"}}} tests the documented example graph. May call a live classifier when no override is provided; does not deploy or invoke the selected final model. Inspect data.status and data.path for the routing verdict. Fix draft issues with update_dynamic_route_draft before deployment. 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": "simulate_dynamic_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Route name | |
| input | No | The request body a conditional or classifier node reads; in the shape of the compat endpoint you call the route from (for chat completions: messages). | |
| metadata | No | Request metadata a conditional node can test (tags; headers; the caller's project). | |
| overrides | No | Forced outcomes per node id: which conditional case matches; which percentage bucket is drawn; whether a model succeeds or fails; which classifier case is picked. | |
| request_id | No | Seeds the percentage-split draw so a run is reproducible. | |
| version_number | No | Omit or set null to simulate the current draft; supply a positive existing deployed version to simulate history. Zero is invalid. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| meta | No |