get_facility_messages
Retrieve facility message threads in reverse chronological order with cursor-based pagination. Automatically marks facility messages as read.
Instructions
Read the message thread with a specific facility. Returns messages in reverse chronological order with sender role (member, facility, agent). Supports cursor-based pagination. Automatically marks facility messages as read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of messages to return (1-100). Defaults to 50. | |
| before | No | Cursor: only return messages sent before this ISO 8601 timestamp. Use the oldest message timestamp from the previous page. | |
| facility_id | Yes | UUID of the facility whose conversation to read. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Messages exchanged with a facility. |