route
Stub or block HTTP requests matching a URL pattern to control responses during testing. Requests are recorded as actions, not replay steps, until unrouted.
Instructions
Stub or block requests matching a URL pattern (testing). The stub persists until unroute; the call is recorded as an action, never part of a replay path.
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": {
"pattern": "<pattern>"
},
"name": "route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| abort | No | ||
| status | No | ||
| pattern | Yes | ||
| content_type | No | application/json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |