list_messages
Search message history with filters on topic, text, status, kind, work status, or pin_key, and project fields to return headers only. Get newest first, then fetch full records as needed.
Instructions
Search the full message history with optional filters. Use 'topic' for substring match on the topic, 'text' for substring match across topic OR body (a field name, an identifier, a phrase); both filters are at most 200 characters. 'status' (open/resolved), 'kind' and 'work_status' for exact match on structured fields. Returns newest first. 'pin_key' filters to proposals STRUCTURALLY linked to a pin (the field set at send time) — messages that merely mention the key in their text are deliberately NOT matched, which is the difference between this and text=. Optional 'fields' projects the response: a list of field names, or the single value 'headers' for the usual listing set (everything except the bodies). Omit it and the full record comes back. Use it when a listing over a long history would otherwise be too large to return — bodies dominate the size, and a 'which messages' question rarely needs them; fetch the ones you want individually afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| text | No | ||
| limit | No | ||
| since | No | ||
| topic | No | ||
| fields | No | ||
| status | No | ||
| pin_key | No | ||
| to_role | No | ||
| from_role | No | ||
| unread_only | No | ||
| work_status | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||