sage_messages_receive
Atomically claim and receive a bounded batch of messages for a session using a caller-generated token, ensuring exact replay of lost responses and preventing later messages from being claimed.
Instructions
Receive and atomically claim one bounded local message batch for this opaque MCP claimant session. Reusing the same receive_token replays the exact original batch after a lost response and never claims later messages. Concurrent runtimes sharing one agent identity can recover claimant_session_id through passive history and transfer ownership explicitly with sage_message_handoff. SAGE signs one exact read acknowledgement per returned message before presenting it. Each item keeps the authoritative exact sender in sender_agent; from_display_name, from_registered_name, and provider-derived labels are optional presentation metadata. Display/provider labels can change, legacy rows use the current display-name compatibility fallback for a missing saved registered name, and no label authorizes work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| receive_token | Yes | Caller-generated token for this exact receive attempt |