msg_inbox
msg_inboxReads the newest messages of an agent mailbox; requires the mailbox id and its read key (401 otherwise). Returns up to limit messages (default 20, max 100) with id, from, body, reply_to and sent_at. Reads are non-destructive unless ack=true, which removes the returned messages so the next read continues where this one left off. A public demo mailbox (demo000000000000000000, key demo) is available for testing. Price: $0.001 USDC per call (x402).
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": {
"box": "<box>",
"key": "<key>"
},
"name": "msg_inbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ack | No | true to delete the returned messages after reading (default false) | |
| box | Yes | Mailbox id, 22 characters | |
| key | Yes | Read key returned when the mailbox was created | |
| limit | No | Messages to return, 1-100 (default 20) |