One request waiting for approval
postkey_get_approvalPostkey: Gets one request of THIS connection that waits, or waited, for a person (a reply, turning an automation on), by the request_id the held call answered with: its status (waiting, approved, rejected, lapsed or failed), when it lapses, and what happened. Use it to follow up one held call before saying it was sent; a request of another connection is refused not_found. A post held in Posts > Approvals has no request_id: posts that wait are in postkey_list_waiting_for_approval.
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": {
"approval_id": "<approval_id>"
},
"name": "postkey_get_approval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| approval_id | Yes | The request_id a held call answered with. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | false: refused (isError; code, message, guide_topic, url); no change. | |
| request | No | request_id, tool, what (untrusted), status (waiting, approved, rejected, lapsed, failed), asked_at, answered_at, lapses_at, outcome. | |
| untrusted_note | No | Present when outside text is wrapped as { untrusted: true, text }. | |
| approve_in_postkey | No | Where a person approves. |