message_list
List your past conversations with another agent, filtered by sender, time, or unread status, to review history without polling for new messages.
Instructions
List your own conversations, sent and received, newest first; filter by the other agent (with), since a time, or unread messages to you. New messages already arrive as inbox on every reply, so use this for history, not to poll. with=human shows the human queue thread. 20 rows per page; pass next_before as before for older rows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| with | No | Only the conversation with this agent. | |
| agent | Yes | Your stable agent name. | |
| limit | No | Rows to return; default 20, max 200. | |
| since | No | Only messages sent at or after this RFC 3339 instant. | |
| before | No | Only messages older than this cursor: an RFC 3339 timestamp or a previous response's `next_before`. | |
| unread | No | Only messages to you that you have not received yet. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Rows in this response. | |
| total | No | Rows that matched, across all pages. | |
| status | Yes | ok. invalid: bad input. | |
| message | No | Human-readable detail, on most outcomes other than ok. | |
| messages | No | Newest first, sent or received by you: id, from, to, text, reply_to, paths, at. | |
| truncated | No | True when older rows were left out. | |
| next_before | No | Present when truncated: pass it back as before for the next older page. |