Optional: Renew a standing order (with drift check)
renew_standing_orderRenew a weekly standing order by fetching a live quote, checking past renewals for quantity, price, product, or reliability drift, then placing the order; drift holds it for human approval.
Instructions
Renew this week's standing order: live quote, drift check against past renewals, then the order.
amounts: this week's amount per item, in item order, if it differs from the usual (omit for the usual). The gateway compares with the median of recent renewals: quantity creep, cost or price drift, a different product, new Terminal or reliability issues. Any drift puts the order on hold for a human (pending_approval); tell the buyer drift.summary and share order.approval_url. delivery_date defaults to the next delivery day. agent_id: optional when your credential covers the standing order's mandate (see my_mandates). agent_token: only if you can't send the Authorization: Bearer header and the mandate requires agent auth.
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": {
"standing_id": "<standing_id>"
},
"name": "renew_standing_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amounts | No | ||
| agent_id | No | ||
| rationale | No | ||
| agent_token | No | ||
| standing_id | Yes | ||
| delivery_date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drift | Yes | {findings[], summary, baseline} | |
| order | Yes | ||
| renewal | Yes |