get_messages
Read and optionally consume messages from a specified channel in chronological order. Supports reading broadcast messages for pipeline runs or messages targeted to specific steps.
Instructions
Read messages from a channel. Returns all messages in chronological order.
Channel conventions:
{run_id} — read broadcast messages for a pipeline run
{run_id}:{step_name} — read messages targeted to a specific step
Use clear=true to consume messages (delete after reading).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory. Defaults to current working directory. | |
| clear | No | If true, clear the channel after reading (consume mode). Default: false. | |
| channel | Yes | Channel to read messages from. |