insync_get_message
Reads one full secure patient-portal message, including subject, date, body and attachments. Unread messages stay unopened unless you confirm marking them read.
Instructions
Read one secure message in full (subject, sent date, body as plain text or Markdown, attachment list). WARNING: opening an UNREAD message marks it read in the portal — the practice can see that, and it cannot be undone. An unread message is NOT opened unless allow_mark_read is true; without it the tool returns the message’s metadata and a note asking you to confirm with the user first. An already-read message is opened freely.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"child_id": "<child_id>",
"master_id": "<master_id>"
},
"name": "insync_get_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | Response shape: "compact" (default) drops fields the response already carries elsewhere; "full" returns every field this server understands. compact projects each record to the fields a caller acts on; "full" keeps every field this server understands. (No "raw": the record is assembled here, not passed through from one endpoint.) | |
| format | No | How the body reads: "text" (default; lines, numbered items and link targets kept) or "markdown" (also keeps bold, lists, tables and links with their text). | |
| child_id | Yes | TODOChildId of the message, from insync_list_messages. | |
| master_id | Yes | TODOMasterId of the message, from insync_list_messages. | |
| allow_mark_read | No | Set true ONLY after the user agrees to let an unread message be marked read. Default false. |