Propose activating or pausing a route
patroltech_routes_propose_set_activeUse when you want to activate or pause a route. It only adds a proposal to the pending batch of this connection (up to 10 changes); nothing changes in the account yet. Show the returned summaries to the user and call patroltech_proposals_confirm only after they agree.
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": {
"route": "<route>",
"active": "<active>"
},
"name": "patroltech_routes_propose_set_active"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route | Yes | Route name. | |
| active | Yes | true = activate it; false = deactivate it. | |
| organization | No | Omit unless the account has more than one organization; then the exact name (or id) as listed by patroltech_account_get_context. |