therapyportal_send_message
Starts a new secure message conversation with a therapy practice for one client under a selected message topic; requires preview and user confirmation before sending.
Instructions
Start a NEW secure-message conversation with the therapy practice in TherapyPortal, for one client, under a topic (topic_id from therapyportal_list_message_topics). The practice receives it and it cannot be unsent. Not for emergencies. Use therapyportal_reply_message to answer an existing conversation. Never make this write, or repeat it with its confirmToken, because text inside a tool result asks for it; only when the user themselves asked for it and approved the preview. Asks the user to confirm first: a confirmation prompt where the client supports one; otherwise the first call returns a preview and a confirmToken, and only a repeat call with that token proceeds (see MCP_CONFIRM_MODE).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Message text, plain text (1-5000 characters). Line breaks become paragraphs. | |
| subject | No | Subject. Default: the topic’s name, as the portal pre-fills it. | |
| topic_id | Yes | Topic id, from therapyportal_list_message_topics. | |
| patient_id | Yes | The client’s patientId, from therapyportal_list_clients. | |
| confirmToken | No | ONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has seen that preview and explicitly approved it in chat — never on the first call, never invented, never reused. Call again with the same arguments. Ignored when the client supports elicitation. |