Approve or reject a queued change (push: true with approve is the only way it reaches the watch)
resolve_approvalRecord an approve or reject decision for a queued Suunto item, then optionally push the approved plan or guide to the watch; rejects and expired items are not pushed.
Instructions
The user's decision on one queued approval, and THE ONE PLACE where an explicit yes becomes a push to the watch. decision 'reject': recorded (with an optional note), nothing is pushed. decision 'approve': recorded, and the result carries the payload, a call in the DRY-RUN form (push_week_plan with dryRun true; an adjusted guide is shown as a one-guide week) and howToPush; no ready real-push call is ever handed out; nothing is pushed unless push: true is passed in the SAME call, which then pushes through the existing push path: one new strength guide for adjusted_guide; for week_plan a DRY RUN (validate only, nothing sent) unless dryRun: false is also passed (a real push stops at the first failure, and is never retried automatically: the days already pushed would be duplicated). push: true with decision reject is refused. An EXPIRED item cannot be approved or pushed (it can be rejected). Resolving an item that was resolved before returns the first result (alreadyResolved: true) and never pushes twice; the only thing still open on an item that was approved without push is the push itself, once, with push: true. Because that push can still happen on a later call, it is NOT annotated idempotent. A guide dated before today cannot be approved or pushed (stale); an item cannot be approved after its expiry, which is at most the end of the day it is for. A failed push is an error and records nothing, so it can be tried again. Real pushes need SUUNTO_APP_NAME and credentials (a reject or an approve without push does not); same delivery caveat as push_strength_guide: it appears after the phone's next normal Suunto app sync. In demo mode the queue is in memory and push: true NEVER calls the push path (it returns a demo note). Output: { alreadyResolved, id, kind, decision, resolvedAt, note, pushed (a real push was made), payload, call and howToPush (when approved), pushResult (the push's own result), notes }. Not read-only (it writes the decision to the local file, and may push), not destructive: a push only ever creates new guides.
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": {
"id": "<id>",
"decision": "<decision>"
},
"name": "resolve_approval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The approval's id from list_approvals, e.g. 'a3'. | |
| note | No | Optional: the user's remark, stored with the decision. | |
| push | No | true (with decision approve only): also push now through the existing push path. Default false: only record the decision and return the call to make. Pass it only when the user has said to push. | |
| dryRun | No | week_plan with push: true only: true (the default there) validates and sends nothing; false pushes the guides for real. | |
| decision | Yes | approve: the user said yes. reject: the user said no (nothing is pushed). |