dietbox_agenda_write
Create a new event/appointment in the Dietbox agenda. Requires Start and End as ISO datetime strings. Timezone defaults to America/Sao_Paulo (IANA format). Valid Tipo values: "consulta" (appointment), "retorno" (follow-up), "bloqueio" (block).
Bulk support: accepts patient_ids for batched execution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| tipo | No | consulta | |
| start | Yes | ||
| titulo | No | ||
| account | No | ||
| timezone | No | America/Sao_Paulo | |
| todo_dia | No | ||
| descricao | No | ||
| patient_id | No | ||
| patient_ids | No |