Propose adding a route schedule
patroltech_routes_propose_add_time_windowUse when you want to add a schedule to 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>",
"days": "<days>",
"from": "<from>",
"to": "<to>"
},
"name": "patroltech_routes_propose_add_time_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End time, HH:mm local. If it is earlier than `from`, it ends the next day (20:00-05:00). | |
| days | Yes | Days on which the time window STARTS. | |
| from | Yes | Start time, HH:mm in the local time of the account. | |
| route | Yes | Route name. | |
| organization | No | Omit unless the account has more than one organization; then the exact name (or id) as listed by patroltech_account_get_context. |