stop_route
Stops a running message copy route by name, sending a shutdown signal that ends a continuous route or abandons a drain without waiting for exit. Returns total messages moved plus average throughput.
Instructions
Stop a route started by this server, by name. Use it to end a continuous route or abandon a drain; a route started with exit_on_empty stops by itself, so wait for it with wait_route instead. Sends the shutdown signal and returns without waiting for the route to exit; the route is removed from list_routes, and messages captured for route_messages but not yet read are discarded (their count is returned). Returns the total messages it moved plus the rate it achieved (average_messages_per_second over elapsed_s).
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": "stop_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The route name, as returned by `start_route` or listed by `list_routes`. |