Subscribe to Incoming SMS
subscribe_to_messagesSubscribe to receive incoming SMS messages in real-time via WebSocket, with optional filtering by SIM ID.
Instructions
Open (or reuse) a WebSocket subscription that streams new SMS for the authenticated user. Each incoming SMS is pushed as an MCP notifications/message (logger=simrelay-sms, level=info, JSON-encoded payload). Also kept in an internal ring buffer of the most recent 100. Pass sim_id to filter to a single SIM. Idempotent — calling again updates the filter and returns the current subscription state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sim_id | No | Optional filter — only forward messages for this hosted_sim_id. Omit to receive all incoming SMS for the authenticated user. |