logi-approval
v0.1.4logi Agent Approval Gate — human approval on the phone before high-risk agent actions.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
logi__request_approval
Use BEFORE performing any high-risk action the user has flagged (budget changes, prod deploys, payments, mass communications). Sends a push to the user's phone with a Face ID + Number Matching prompt. By default (wait_for_decision=true) blocks until they decide or the wait runs out (status 'timeout'). With wait_for_decision=false it returns immediately with status 'pending' — then poll logi__check_approval with the SAME auth_req_id. ONLY status 'approved' means proceed; anything else (pending, delivered, timeout, rejected, expired, revoked) means DO NOT proceed — abort and report. One appr…
| Parameter | Type | Description |
|---|---|---|
action_type * | string | |
body * | string | |
title * | string | |
context | object | |
idempotency_key | string | |
ttl_seconds | integer | |
wait_for_decision | boolean |
logi__check_approval
Use to poll a previously created approval by auth_req_id (e.g. after logi__request_approval with wait_for_decision=false or a 'timeout'). Read-only. Returns current status and (when terminal) the decision metadata. Only status 'approved' means proceed. Prefer logi__request_approval with wait_for_decision=true unless you specifically need non-blocking polling.
| Parameter | Type | Description |
|---|---|---|
auth_req_id * | string |
logi__cancel_approval
Use to withdraw an approval request you no longer need (task abandoned, plan changed, or you stopped waiting after a 'timeout'). The server marks it 'revoked' so it can never be approved or used. Already-decided requests are returned unchanged.
| Parameter | Type | Description |
|---|---|---|
auth_req_id * | string |