request_inbound_action
Propose scanning, forwarding, or discarding an inbound mail item for owner approval; proposals never charge credits or move mail.
Instructions
Propose a scan, forward or discard through POST /v1/inbound-items/:id/actions. Agent keys only; the proposal always waits for the owner's approval (awaiting_member_approval: true) and never charges credits or moves mail by itself. Takes the item's current version as action.expected_version, its current quote as action.expected_quote (the item's quotes.scan, or the forward quote for the chosen class; required for scan and forward, refused with the fresh quote otherwise), an idempotency_key that makes retries safe, and for forward a complete US destination and mail_class (first_class requires untracked_acknowledged: true; packages cannot be forwarded yet). Forward destinations and discard proposals are checked against the agent's inbound_policy server-side. One open action per item. Key scope: inbound.item.action (agent.inbox.propose also works). Member keys read their own live items; agent keys read items bound or assigned to them, in their key's environment. Proposals are agent-only and always wait for the owner: they never charge credits, buy postage, open, forward or discard anything by themselves. Forward destinations and discard proposals are checked against the agent's structured inbound policy. Image URLs are never issued to agents.
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": {
"item_id": "<item_id>",
"action": "<action>",
"idempotency_key": "<idempotency_key>"
},
"name": "request_inbound_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The proposal: type scan, forward or discard, with expected_version (the item's current version). scan and forward also take expected_quote {cost_cents, billable, max_cents}: the item's current scan quote, or the forward quote for the chosen class. forward adds a US destination on the renter's Form 1583 and mail_class (default priority; first_class needs untracked_acknowledged: true). discard needs confirmed: true. | |
| item_id | Yes | Inbound item id (UUID) from a list or search result. | |
| idempotency_key | Yes | Caller-generated replay key (8–200 visible ASCII characters) for this one intent. The same key with the same input replays the stored result; the same key with different input is refused. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |