insync_upload_insurance_card
Upload front, back, or both sides of an insurance card image to your InSync patient profile, with a preview and confirmation before the irreversible portal write.
Instructions
Upload a photo of your insurance card (front, back, or both) to your own InSync patient profile (JPG, JPEG or PNG). Give each side exactly one of: _path (a file on this machine — local installs only), _inline (base64, for a small image), or _blob_key (from insync_upload_slots, on a hosted server). This WRITES to the portal: the practice sees the uploaded image and there is no delete or undo through this server, so it is irreversible. 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).
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": {
"side": "<side>"
},
"name": "insync_upload_insurance_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | Which side(s) to upload: front, back, or both. | |
| back_path | No | BACK image as a path on this machine (local installs only; refused when hosted). | |
| front_path | No | FRONT image as a path on this machine (local installs only; refused when hosted). | |
| back_inline | No | BACK image as base64 {filename, contentBase64} — for a small image. | |
| 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. | |
| front_inline | No | FRONT image as base64 {filename, contentBase64} — for a small image. | |
| back_blob_key | No | BACK image as the blobKey from insync_upload_slots, after PUTting the file. | |
| front_blob_key | No | FRONT image as the blobKey from insync_upload_slots, after PUTting the file. |