session_note_upsert
Create or update the clinical note (ficha) of a session: evolution, treatmentPerformed, nextSessionPlan, type (evaluacion/tratamiento/derivacion/cierre), progressMetrics, etc. One note per session (upsert). Sensitivity is resolved automatically (health-vertical orgs default to restricted). NOTE: unlike the provider's own UI save, this does NOT create the provider-confirmed DeliveryProof nor award practice points — those are provider-bound actions (PDC-SEC-001); use the provider portal / REST for delivery confirmation.
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": {
"orgSlug": "<orgSlug>",
"sessionId": "<sessionId>"
},
"name": "session_note_upsert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| apiKey | No | ||
| orgSlug | Yes | ||
| evolution | No | ||
| isPrivate | No | ||
| sessionId | Yes | ||
| dataSensitivity | No | internal | |
| nextSessionPlan | No | ||
| treatmentPerformed | No |