webdiet-mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited webdiet-mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Você tem acesso à WebDiet REST API na MCP.AI.
Gestão de pacientes, planos alimentares, prescrições, prontuário e antropometria para nutricionistas.
https://api.mcp.ai/api/webdietTodo endpoint é um POST na Base URL + o path abaixo. Os parâmetros vão no corpo JSON.
Inclua em toda request:
Authorization: Bearer sk_live_...
Content-Type: application/jsonGere sua chave em https://app.mcp.ai/settings/api-keys (workspace API key sk_live_…, não expira, revogável). Uma única chave serve pra todos os seus MCPs.{ "ok": true, "tool": "<tool_id>", "result": <payload> }curl -X POST https://api.mcp.ai/api/webdiet/anamnese \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{"patient_id":"..."}'Se um endpoint retornar erro, vazio ou dado inesperado, reporte (não desista calado): POST /api/webdiet/report com { "message": "...", "context"?: "...", "conversation"?: [...] }. Isso notifica o time da MCP.AI.
#### webdiet_anamnese
List all anamnesis records for a WebDiet patient WITH the full Q/A content. _(POST /api/webdiet/anamnese)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Sim | WebDiet patient ID |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
#### webdiet_anamnese_delete
Permanently delete an anamnesis record in WebDiet. Irreversible. _(POST /api/webdiet/anamnese/delete)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Sim | WebDiet patient ID |
anamnese_id | string | Sim | Anamnese ID to delete |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
anamnese_ids | string[] | Não | Bulk mode: multiple values for anamnese_id |
#### webdiet_anamnese_write_duplicate
Create / update anamnesis records in WebDiet. _(POST /api/webdiet/anamnese/write/duplicate)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Sim | WebDiet patient ID |
anamnese_id | string | Não | Anamnese ID (required for save_interpretation/duplicate; optional for save to update) |
texto | string | Não | save: JSON array of anamnese text content |
titulo | string | Não | save: anamnese title |
interpretacao | string | Não | save_interpretation: interpretation text |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
anamnese_ids | string[] | Não | Bulk mode: multiple values for anamnese_id |
#### webdiet_anamnese_write_save
Create / update anamnesis records in WebDiet. _(POST /api/webdiet/anamnese/write/save)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Sim | WebDiet patient ID |
anamnese_id | string | Não | Anamnese ID (required for save_interpretation/duplicate; optional for save to update) |
texto | string | Não | save: JSON array of anamnese text content |
titulo | string | Não | save: anamnese title |
interpretacao | string | Não | save_interpretation: interpretation text |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
anamnese_ids | string[] | Não | Bulk mode: multiple values for anamnese_id |
#### webdiet_anamnese_write_save_interpretation
Create / update anamnesis records in WebDiet. _(POST /api/webdiet/anamnese/write/save/interpretation)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Sim | WebDiet patient ID |
anamnese_id | string | Não | Anamnese ID (required for save_interpretation/duplicate; optional for save to update) |
texto | string | Não | save: JSON array of anamnese text content |
titulo | string | Não | save: anamnese title |
interpretacao | string | Não | save_interpretation: interpretation text |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
anamnese_ids | string[] | Não | Bulk mode: multiple values for anamnese_id |
#### webdiet_antropometria_get
Read anthropometry (body measurement) records for a WebDiet patient. _(POST /api/webdiet/antropometria/get)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Não | WebDiet patient ID (required for list) |
antropometria_id | string | Não | Anthropometry record ID (required for get) |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
antropometria_ids | string[] | Não | Bulk mode: multiple values for antropometria_id |
#### webdiet_antropometria_list
Read anthropometry (body measurement) records for a WebDiet patient. _(POST /api/webdiet/antropometria/list)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Não | WebDiet patient ID (required for list) |
antropometria_id | string | Não | Anthropometry record ID (required for get) |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
antropometria_ids | string[] | Não | Bulk mode: multiple values for antropometria_id |
#### webdiet_calculo_energetico_delete
Permanently delete an energy expenditure calculation. Irreversible. _(POST /api/webdiet/calculo/energetico/delete)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
calculo_id | string | Sim | Calculation ID |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
calculo_ids | string[] | Não | Bulk mode: multiple values for calculo_id |
#### webdiet_calculo_energetico_get
Read energy expenditure calculations (Cálculo Energético) in WebDiet. _(POST /api/webdiet/calculo/energetico/get)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Não | WebDiet patient ID (required for list, get) |
calculo_id | string | Não | Calculation ID (required for get) |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
calculo_ids | string[] | Não | Bulk mode: multiple values for calculo_id |
#### webdiet_calculo_energetico_list
Read energy expenditure calculations (Cálculo Energético) in WebDiet. _(POST /api/webdiet/calculo/energetico/list)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Não | WebDiet patient ID (required for list, get) |
calculo_id | string | Não | Calculation ID (required for get) |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
calculo_ids | string[] | Não | Bulk mode: multiple values for calculo_id |
#### webdiet_calculo_energetico_write_create
Create / update energy expenditure calculations in WebDiet. _(POST /api/webdiet/calculo/energetico/write/create)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Sim | WebDiet patient ID |
calculo_id | string | Não | Calculation ID (required for save) |
nome | string | Não | create: calculation name |
altura | string | Não | save: patient height in cm |
peso | string | Não | save: patient weight in Kg |
mlg | string | Não | save: fat-free mass in Kg (required for some formulas) |
formula | string | Não | save: formula name (e.g. harris1984, harris1919, fao2004, eer2005, eer2023, katch1996, cunningham1980, mifflin1990) |
fator_atividade | string | Não | save: activity factor (1.0=none, 1.2=sedentary, 1.375=light, 1.55=moderate, 1.725=intense, 1.9=very intense) |
fator_injuria | string | Não | save: injury factor (1.0=none, up to 2.0) |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
calculo_ids | string[] | Não | Bulk mode: multiple values for calculo_id |
#### webdiet_calculo_energetico_write_save
Create / update energy expenditure calculations in WebDiet. _(POST /api/webdiet/calculo/energetico/write/save)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Sim | WebDiet patient ID |
calculo_id | string | Não | Calculation ID (required for save) |
nome | string | Não | create: calculation name |
altura | string | Não | save: patient height in cm |
peso | string | Não | save: patient weight in Kg |
mlg | string | Não | save: fat-free mass in Kg (required for some formulas) |
formula | string | Não | save: formula name (e.g. harris1984, harris1919, fao2004, eer2005, eer2023, katch1996, cunningham1980, mifflin1990) |
fator_atividade | string | Não | save: activity factor (1.0=none, 1.2=sedentary, 1.375=light, 1.55=moderate, 1.725=intense, 1.9=very intense) |
fator_injuria | string | Não | save: injury factor (1.0=none, up to 2.0) |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
calculo_ids | string[] | Não | Bulk mode: multiple values for calculo_id |
#### webdiet_create_antropometria
Create a new body measurement record for a patient. Returns the record ID needed for webdiet_save_antropometria. Types: adulto (adult), infantil (child), gestacional (pregnancy). _(POST /api/webdiet/create/antropometria)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Sim | WebDiet patient ID |
tipo | string | Não | (adulto, infantil, gestacional) |
data | string | Não | Date DD/MM/YYYY, defaults to today |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
#### webdiet_financeiro_categories
Read financial records (payments, receipts) in WebDiet. _(POST /api/webdiet/financeiro/categories)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
inicio | string | Não | list: start date YYYYMMDDHHmm (defaults to 30 days ago) |
fim | string | Não | list: end date YYYYMMDDHHmm (defaults to now) |
tipo | string | Não | categories: entrada (income) or saida (expense) (entrada, saida) |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
#### webdiet_financeiro_delete
Permanently delete a financial record. Irreversible. _(POST /api/webdiet/financeiro/delete)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
financeiro_id | string | Sim | Financial record ID from webdiet_financeiro list |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
financeiro_ids | string[] | Não | Bulk mode: multiple values for financeiro_id |
#### webdiet_financeiro_list
Read financial records (payments, receipts) in WebDiet. _(POST /api/webdiet/financeiro/list)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
inicio | string | Não | list: start date YYYYMMDDHHmm (defaults to 30 days ago) |
fim | string | Não | list: end date YYYYMMDDHHmm (defaults to now) |
tipo | string | Não | categories: entrada (income) or saida (expense) (entrada, saida) |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
#### webdiet_financeiro_write
Create financial records in WebDiet. _(POST /api/webdiet/financeiro/write)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Sim | WebDiet patient ID |
nome | string | Não | patient/payee name |
cpf | string | Não | CPF |
tipo | string | Não | entrada (income) or saida (expense) (entrada, saida) |
data | string | Não | Date DD/MM/YYYY (defaults to today) |
horario | string | Não | Time HH:MM |
categoria | string | Não | Category name |
nova_cat | string | Não | New category name (creates if not exists) |
valor | string | Sim | Amount with comma (e.g. "300,00") |
forma | string | Não | Payment method (Pix, Dinheiro, Cartão de crédito, Transferência) |
observacao | string | Não | Notes/description |
parcelas | string | Não | Number of installments |
dataCobranca | string | Não | First billing date DD/MM/YYYY |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
#### webdiet_food_search
Search WebDiet food database for numeric food ids (needed for full macros in Convencional / metodoPlanning prescriptions). _(POST /api/webdiet/food/search)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
keyword | string | Sim | Food name search (min 3 chars), e.g. "arroz branco", "tilapia" |
limite | number | Não | Max results (1–100) |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
#### webdiet_get_consultations
Load food diary entries, meal reactions, attachments, or orientations for a patient. Use tipo to select: diario (food diary), reacoes (meal reactions), anexos (attachments), orientacoes (guidelines/or _(POST /api/webdiet/get/consultations)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Sim | WebDiet patient ID |
tipo | string | Não | diario = food diary, reacoes = meal reactions, anexos = attachments, orientacoes = guidelines/orientations (diario, reacoes, anexos, orientacoes) |
limite | number | Não | Max results to return |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
#### webdiet_get_planner
Load the nutritionist's calendar/agenda for a date: appointments, overdue tasks, birthdays, events. Defaults to today. _(POST /api/webdiet/get/planner)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
date | string | Não | Date YYYYMMDD, defaults to today |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
#### webdiet_get_upload_command
Returns a ready-to-run curl command that uploads a file directly to the server without reading it into context. _(POST /api/webdiet/get/upload/command)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
file_path | string | Sim | Path to the file (from user message or local path) |
file_name | string | Não | Override file name (defaults to basename of file_path) |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
#### webdiet_list_accounts
List all WebDiet accounts linked to this install. _(POST /api/webdiet/list/accounts)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
#### webdiet_list_anexos
Load educational slides or cloud file attachments. Use laminasAnexos for educational slides/laminas (~238 items with PDFs about nutrition topics), cloudAnexos for uploaded cloud files. For guidelines/ _(POST /api/webdiet/list/anexos)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Não | WebDiet patient ID (optional for some types) |
tipo | string | Não | laminasAnexos = educational slides, cloudAnexos = cloud files (laminasAnexos, cloudAnexos) |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
#### webdiet_list_message_templates
Load patient welcome message templates. Returns the active layout and all available template layouts. _(POST /api/webdiet/list/message/templates)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
tipo | string | Não | Template type |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
#### webdiet_manipulados_delete
Permanently delete a manipulado for a patient. Irreversible. _(POST /api/webdiet/manipulados/delete)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Sim | WebDiet patient ID |
manipulado_id | string | Sim | Manipulado ID to delete |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
manipulado_ids | string[] | Não | Bulk mode: multiple values for manipulado_id |
#### webdiet_manipulados_get
Read "Prescrição de manipulados" (compounded/magistral pharmacy formulas) in WebDiet. _(POST /api/webdiet/manipulados/get)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Não | WebDiet patient ID (required for list, get) |
manipulado_id | string | Não | Manipulado id (required for get) |
keyword | string | Não | list_banco: filter by clinical indication keyword (busca em nome/observacao). Ex: "constipação", "diarreia", "imunidade", "emagrecimento", "ansiedade", "menopausa", "dor", "colesterol". |
categoria | string | Não | list_banco: filter by category. (, suplementos, cosmeceuticos, dermatologicos, extensoes, all) |
incluir_bloqueados | boolean | Não | list_banco: include locked extension formulas (default false — esconde 129 fórmulas que requerem assinatura de extensão paga). |
limite | number | Não | list / list_banco: max results (1–250). |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
manipulado_ids | string[] | Não | Bulk mode: multiple values for manipulado_id |
#### webdiet_manipulados_list
Read "Prescrição de manipulados" (compounded/magistral pharmacy formulas) in WebDiet. _(POST /api/webdiet/manipulados/list)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Não | WebDiet patient ID (required for list, get) |
manipulado_id | string | Não | Manipulado id (required for get) |
keyword | string | Não | list_banco: filter by clinical indication keyword (busca em nome/observacao). Ex: "constipação", "diarreia", "imunidade", "emagrecimento", "ansiedade", "menopausa", "dor", "colesterol". |
categoria | string | Não | list_banco: filter by category. (, suplementos, cosmeceuticos, dermatologicos, extensoes, all) |
incluir_bloqueados | boolean | Não | list_banco: include locked extension formulas (default false — esconde 129 fórmulas que requerem assinatura de extensão paga). |
limite | number | Não | list / list_banco: max results (1–250). |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
manipulado_ids | string[] | Não | Bulk mode: multiple values for manipulado_id |
#### webdiet_manipulados_list_banco
Read "Prescrição de manipulados" (compounded/magistral pharmacy formulas) in WebDiet. _(POST /api/webdiet/manipulados/list/banco)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Não | WebDiet patient ID (required for list, get) |
manipulado_id | string | Não | Manipulado id (required for get) |
keyword | string | Não | list_banco: filter by clinical indication keyword (busca em nome/observacao). Ex: "constipação", "diarreia", "imunidade", "emagrecimento", "ansiedade", "menopausa", "dor", "colesterol". |
categoria | string | Não | list_banco: filter by category. (, suplementos, cosmeceuticos, dermatologicos, extensoes, all) |
incluir_bloqueados | boolean | Não | list_banco: include locked extension formulas (default false — esconde 129 fórmulas que requerem assinatura de extensão paga). |
limite | number | Não | list / list_banco: max results (1–250). |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
manipulado_ids | string[] | Não | Bulk mode: multiple values for manipulado_id |
#### webdiet_manipulados_write_duplicate
Create / send / publish / duplicate manipulados in WebDiet. _(POST /api/webdiet/manipulados/write/duplicate)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Sim | WebDiet patient ID |
manipulado_id | string | Não | Manipulado id (required for publish/duplicate; optional for save to update an existing one — omit to create) |
nome | string | Não | save: formula name (e.g. "Fórmula para constipação e diarreia"). Defaults to "Formulação" if empty. |
texto | string | Não | save: HTML content of the formula (body from tinyMCE — <p>, <ul>, <strong> allowed). Required for save. |
nomes | string | Não | send: JSON array of EXACT formula names from webdiet_manipulados list_banco. |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
manipulado_ids | string[] | Não | Bulk mode: multiple values for manipulado_id |
#### webdiet_manipulados_write_publish
Create / send / publish / duplicate manipulados in WebDiet. _(POST /api/webdiet/manipulados/write/publish)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Sim | WebDiet patient ID |
manipulado_id | string | Não | Manipulado id (required for publish/duplicate; optional for save to update an existing one — omit to create) |
nome | string | Não | save: formula name (e.g. "Fórmula para constipação e diarreia"). Defaults to "Formulação" if empty. |
texto | string | Não | save: HTML content of the formula (body from tinyMCE — <p>, <ul>, <strong> allowed). Required for save. |
nomes | string | Não | send: JSON array of EXACT formula names from webdiet_manipulados list_banco. |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
manipulado_ids | string[] | Não | Bulk mode: multiple values for manipulado_id |
#### webdiet_manipulados_write_save
Create / send / publish / duplicate manipulados in WebDiet. _(POST /api/webdiet/manipulados/write/save)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Sim | WebDiet patient ID |
manipulado_id | string | Não | Manipulado id (required for publish/duplicate; optional for save to update an existing one — omit to create) |
nome | string | Não | save: formula name (e.g. "Fórmula para constipação e diarreia"). Defaults to "Formulação" if empty. |
texto | string | Não | save: HTML content of the formula (body from tinyMCE — <p>, <ul>, <strong> allowed). Required for save. |
nomes | string | Não | send: JSON array of EXACT formula names from webdiet_manipulados list_banco. |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
manipulado_ids | string[] | Não | Bulk mode: multiple values for manipulado_id |
#### webdiet_manipulados_write_send
Create / send / publish / duplicate manipulados in WebDiet. _(POST /api/webdiet/manipulados/write/send)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Sim | WebDiet patient ID |
manipulado_id | string | Não | Manipulado id (required for publish/duplicate; optional for save to update an existing one — omit to create) |
nome | string | Não | save: formula name (e.g. "Fórmula para constipação e diarreia"). Defaults to "Formulação" if empty. |
texto | string | Não | save: HTML content of the formula (body from tinyMCE — <p>, <ul>, <strong> allowed). Required for save. |
nomes | string | Não | send: JSON array of EXACT formula names from webdiet_manipulados list_banco. |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
manipulado_ids | string[] | Não | Bulk mode: multiple values for manipulado_id |
#### webdiet_orientacoes_list
Read "Listas e Orientações" (guidelines/orientation lists) in WebDiet. _(POST /api/webdiet/orientacoes/list)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Não | WebDiet patient ID (required for list) |
limite | number | Não | list: max results |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
#### webdiet_orientacoes_list_banco
Read "Listas e Orientações" (guidelines/orientation lists) in WebDiet. _(POST /api/webdiet/orientacoes/list/banco)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Não | WebDiet patient ID (required for list) |
limite | number | Não | list: max results |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
#### webdiet_orientacoes_write_save
Create / update / send "Listas e Orientações" in WebDiet. _(POST /api/webdiet/orientacoes/write/save)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Sim | WebDiet patient ID |
orientacao_id | string | Não | save: orientation ID (empty = create new) |
texto | string | Não | save: orientation content (HTML text) |
titulo | string | Não | save: orientation title |
nomes | string | Não | send: JSON array of orientation NAMES from webdiet_orientacoes list_banco (e.g. ["Chás diuréticos", "Refeições livres"]) |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
orientacao_ids | string[] | Não | Bulk mode: multiple values for orientacao_id |
#### webdiet_orientacoes_write_send
Create / update / send "Listas e Orientações" in WebDiet. _(POST /api/webdiet/orientacoes/write/send)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Sim | WebDiet patient ID |
orientacao_id | string | Não | save: orientation ID (empty = create new) |
texto | string | Não | save: orientation content (HTML text) |
titulo | string | Não | save: orientation title |
nomes | string | Não | send: JSON array of orientation NAMES from webdiet_orientacoes list_banco (e.g. ["Chás diuréticos", "Refeições livres"]) |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
orientacao_ids | string[] | Não | Bulk mode: multiple values for orientacao_id |
#### webdiet_patient_delete
Permanently delete a WebDiet patient (uses removerPaciente — resolves id/link from a fresh list first). Irreversible. _(POST /api/webdiet/patient/delete)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Sim | WebDiet patient ID, portal link number, or unique name/phone keyword |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
#### webdiet_patient_get
Read patients in WebDiet. _(POST /api/webdiet/patient/get)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Não | WebDiet patient ID (required for get) |
keyword | string | Não | list: filter by name/email/phone |
page | integer | Não | list: page number (1-based) |
page_size | integer | Não | list: patients per page |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
#### webdiet_patient_list
Read patients in WebDiet. _(POST /api/webdiet/patient/list)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Não | WebDiet patient ID (required for get) |
keyword | string | Não | list: filter by name/email/phone |
page | integer | Não | list: page number (1-based) |
page_size | integer | Não | list: patients per page |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
#### webdiet_patient_write_create
Create or update patients in WebDiet. _(POST /api/webdiet/patient/write/create)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Não | WebDiet patient ID (required for update) |
nome | string | Não | Full name |
genero | string | Não | M or F (M, F) |
nascimento | string | Não | DD/MM/YYYY — REQUIRED for create |
telefone | string | Não | Phone |
email | string | Não | |
cpf | string | Não | CPF |
apelido | string | Não | Nickname |
instagram | string | Não | Instagram handle |
boasvindas | boolean | Não | create: send welcome message |
cep | string | Não | ZIP |
endereco | string | Não | Street |
bairro | string | Não | Neighborhood |
cidade | string | Não | City |
estado | string | Não | State |
complemento | string | Não | |
numero | string | Não | |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
#### webdiet_patient_write_update
Create or update patients in WebDiet. _(POST /api/webdiet/patient/write/update)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Não | WebDiet patient ID (required for update) |
nome | string | Não | Full name |
genero | string | Não | M or F (M, F) |
nascimento | string | Não | DD/MM/YYYY — REQUIRED for create |
telefone | string | Não | Phone |
email | string | Não | |
cpf | string | Não | CPF |
apelido | string | Não | Nickname |
instagram | string | Não | Instagram handle |
boasvindas | boolean | Não | create: send welcome message |
cep | string | Não | ZIP |
endereco | string | Não | Street |
bairro | string | Não | Neighborhood |
cidade | string | Não | City |
estado | string | Não | State |
complemento | string | Não | |
numero | string | Não | |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
#### webdiet_preconsulta_delete
Permanently delete a pre-consultation response in WebDiet. Templates are NOT affected. Irreversible. _(POST /api/webdiet/preconsulta/delete)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
response_id | string | Sim | Pre-consult response id (numeric) |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
response_ids | string[] | Não | Bulk mode: multiple values for response_id |
#### webdiet_preconsulta_get_response
Read pre-consultation questionnaires (Pré-consulta) in WebDiet. _(POST /api/webdiet/preconsulta/get/response)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
response_id | string | Não | get_response: response id (numeric), id_code, or codigo |
tipo | string | Não | list_responses: filter by template name (tipo) — server-side substring match |
nome | string | Não | list_responses: filter by responder name — server-side substring match |
offset | integer | Não | list_responses: server-side pagination offset |
limit | integer | Não | list_responses: client-side cap on returned items (defaults 50) |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
response_ids | string[] | Não | Bulk mode: multiple values for response_id |
#### webdiet_preconsulta_list_responses
Read pre-consultation questionnaires (Pré-consulta) in WebDiet. _(POST /api/webdiet/preconsulta/list/responses)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
response_id | string | Não | get_response: response id (numeric), id_code, or codigo |
tipo | string | Não | list_responses: filter by template name (tipo) — server-side substring match |
nome | string | Não | list_responses: filter by responder name — server-side substring match |
offset | integer | Não | list_responses: server-side pagination offset |
limit | integer | Não | list_responses: client-side cap on returned items (defaults 50) |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
response_ids | string[] | Não | Bulk mode: multiple values for response_id |
#### webdiet_preconsulta_list_templates
Read pre-consultation questionnaires (Pré-consulta) in WebDiet. _(POST /api/webdiet/preconsulta/list/templates)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
response_id | string | Não | get_response: response id (numeric), id_code, or codigo |
tipo | string | Não | list_responses: filter by template name (tipo) — server-side substring match |
nome | string | Não | list_responses: filter by responder name — server-side substring match |
offset | integer | Não | list_responses: server-side pagination offset |
limit | integer | Não | list_responses: client-side cap on returned items (defaults 50) |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
response_ids | string[] | Não | Bulk mode: multiple values for response_id |
#### webdiet_preconsulta_write_link_to_patient
Vincular (link) a pre-consultation response to an existing patient in WebDiet. _(POST /api/webdiet/preconsulta/write/link/to/patient)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Sim | WebDiet patient ID, portal link number, or unique name/phone keyword |
response_id | string | Sim | Pre-consult response id (from webdiet_preconsulta list_responses) |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
response_ids | string[] | Não | Bulk mode: multiple values for response_id |
#### webdiet_prescription_get_detail
Read meal plan prescriptions in WebDiet. _(POST /api/webdiet/prescription/get/detail)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
link | string | Não | get_detail: prescription URL or relative link from list |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
#### webdiet_prescription_list
Read meal plan prescriptions in WebDiet. _(POST /api/webdiet/prescription/list)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
link | string | Não | get_detail: prescription URL or relative link from list |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
#### webdiet_prescription_write_create
Create, save or publish meal plan prescriptions in WebDiet. _(POST /api/webdiet/prescription/write/create)_
| Parâmetro | Tipo | Obrigatório | Descrição | ||
|---|---|---|---|---|---|
patient_id | string | Sim | WebDiet patient ID | ||
prescription_id | string | Não | save/publish: prescription ID from create | ||
nome | string | Não | create: prescription name | ||
metodo | string | Não | create: "Convencional" (Por alimentos — DEFAULT, alimento-por-alimento) | "Equivalentes" (Por equivalentes — avançado) | "Qualitativo" (Qualitativa — texto livre, renderização limitada via API). Para save: opcional (auto-detectado pelo prescription_id). (Convencional, Equivalentes, Qualitativo) |
prescricao_json | string | Não | save: JSON array of meals — each meal: {nome, horario, alimentos: [{nome, quantidade, medida_caseira, peso_gramas, id?}]}. Inclua "id" (WebDiet food-DB ID numérico) em cada alimento para que macros sejam calculados no painel WebDiet. | ||
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. | ||
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id | ||
prescription_ids | string[] | Não | Bulk mode: multiple values for prescription_id |
#### webdiet_prescription_write_publish
Create, save or publish meal plan prescriptions in WebDiet. _(POST /api/webdiet/prescription/write/publish)_
| Parâmetro | Tipo | Obrigatório | Descrição | ||
|---|---|---|---|---|---|
patient_id | string | Sim | WebDiet patient ID | ||
prescription_id | string | Não | save/publish: prescription ID from create | ||
nome | string | Não | create: prescription name | ||
metodo | string | Não | create: "Convencional" (Por alimentos — DEFAULT, alimento-por-alimento) | "Equivalentes" (Por equivalentes — avançado) | "Qualitativo" (Qualitativa — texto livre, renderização limitada via API). Para save: opcional (auto-detectado pelo prescription_id). (Convencional, Equivalentes, Qualitativo) |
prescricao_json | string | Não | save: JSON array of meals — each meal: {nome, horario, alimentos: [{nome, quantidade, medida_caseira, peso_gramas, id?}]}. Inclua "id" (WebDiet food-DB ID numérico) em cada alimento para que macros sejam calculados no painel WebDiet. | ||
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. | ||
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id | ||
prescription_ids | string[] | Não | Bulk mode: multiple values for prescription_id |
#### webdiet_prescription_write_save
Create, save or publish meal plan prescriptions in WebDiet. _(POST /api/webdiet/prescription/write/save)_
| Parâmetro | Tipo | Obrigatório | Descrição | ||
|---|---|---|---|---|---|
patient_id | string | Sim | WebDiet patient ID | ||
prescription_id | string | Não | save/publish: prescription ID from create | ||
nome | string | Não | create: prescription name | ||
metodo | string | Não | create: "Convencional" (Por alimentos — DEFAULT, alimento-por-alimento) | "Equivalentes" (Por equivalentes — avançado) | "Qualitativo" (Qualitativa — texto livre, renderização limitada via API). Para save: opcional (auto-detectado pelo prescription_id). (Convencional, Equivalentes, Qualitativo) |
prescricao_json | string | Não | save: JSON array of meals — each meal: {nome, horario, alimentos: [{nome, quantidade, medida_caseira, peso_gramas, id?}]}. Inclua "id" (WebDiet food-DB ID numérico) em cada alimento para que macros sejam calculados no painel WebDiet. | ||
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. | ||
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id | ||
prescription_ids | string[] | Não | Bulk mode: multiple values for prescription_id |
#### webdiet_prontuario
Get the clinical record (prontuario) for a WebDiet patient. Returns decoded text with sections: Identificacao, Triagem, Anamnese alimentar, etc. _(POST /api/webdiet/prontuario)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Sim | WebDiet patient ID |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
#### webdiet_prontuario_write
Save the clinical record (prontuario) for a WebDiet patient. Pass texto as a JSON array of HTML strings, one per section. _(POST /api/webdiet/prontuario/write)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Sim | WebDiet patient ID |
texto | string | Sim | JSON array of HTML strings, one per section |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
#### webdiet_recibo
Generate or update a receipt (recibo) for a financial record in WebDiet. _(POST /api/webdiet/recibo)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
financeiro_id | string | Sim | Financial record ID from webdiet_financeiro list |
nome | string | Sim | Patient name (displayed on receipt) |
dados_recibo | string | Não | JSON array: [patient_name, cpf, address, city, nutritionist_name, crn] |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
financeiro_ids | string[] | Não | Bulk mode: multiple values for financeiro_id |
#### webdiet_save_antropometria
Save body measurements (anthropometry) for a patient. Call webdiet_create_antropometria first to get the antropometria_id. _(POST /api/webdiet/save/antropometria)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Sim | WebDiet patient ID |
antropometria_id | string | Sim | Record ID from webdiet_create_antropometria |
massa | string | Não | Weight in Kg, e.g. "70.5" |
estatura | string | Não | Height in cm, e.g. "175" |
estatura_sentado | string | Não | Seated height in cm |
altura_joelho | string | Não | Knee height in cm |
dobra_triceptal | string | Não | Triceps skinfold in mm |
dobra_biciptal | string | Não | Biceps skinfold in mm |
dobra_abdominal | string | Não | Abdominal skinfold in mm |
dobra_subescapular | string | Não | Subscapular skinfold in mm |
dobra_axilar | string | Não | Mid-axillary skinfold in mm |
dobra_coxa | string | Não | Thigh skinfold in mm |
dobra_toraxica | string | Não | Chest skinfold in mm |
dobra_suprailiaca | string | Não | Suprailiac skinfold in mm |
dobra_panturrilha | string | Não | Calf skinfold in mm |
dobra_supraespinhal | string | Não | Supraspinal skinfold in mm |
c_pescoco | string | Não | Neck circumference in cm |
c_torax | string | Não | Chest circumference in cm |
c_ombro | string | Não | Shoulder circumference in cm |
c_cintura | string | Não | Waist circumference in cm |
c_abdomen | string | Não | Abdomen circumference in cm |
c_quadril | string | Não | Hip circumference in cm |
c_bracorelaxado | string | Não | Left relaxed arm circ. in cm |
c_bracorelaxado_dir | string | Não | Right relaxed arm circ. in cm |
c_bracocontraido | string | Não | Left contracted arm circ. in cm |
c_bracocontraido_dir | string | Não | Right contracted arm circ. in cm |
c_antebraco | string | Não | Left forearm circ. in cm |
c_antebraco_dir | string | Não | Right forearm circ. in cm |
c_coxaproximal | string | Não | Left proximal thigh circ. in cm |
c_coxaproximal_dir | string | Não | Right proximal thigh circ. in cm |
c_coxamedial | string | Não | Left mid-thigh circ. in cm |
c_coxamedial_dir | string | Não | Right mid-thigh circ. in cm |
c_coxadistal | string | Não | Left distal thigh circ. in cm |
c_coxadistal_dir | string | Não | Right distal thigh circ. in cm |
c_panturrilha | string | Não | Left calf circ. in cm |
c_panturrilha_dir | string | Não | Right calf circ. in cm |
diametro_umero | string | Não | Humerus bone diameter in cm |
diametro_punho | string | Não | Wrist bone diameter in cm |
diametro_femur | string | Não | Femur bone diameter in cm |
formula_escolhida | string | Não | Skinfold formula for body fat % (pollock3, pollock7, guedes, petroski, durnin, faulkner, nenhuma) |
refAntropometria | string | Não | Density→fat% conversion formula (brozek, siri) |
lado | string | Não | Non-dominant side for CMB (esquerdo, direito) |
bioimpedancia_agua | string | Não | Total body water in Kg |
bioimpedancia_massa | string | Não | Lean mass in Kg (bioimpedance) |
bioimpedancia_gordura | string | Não | Body fat % (bioimpedance) |
bioimpedancia_osseo | string | Não | Bone mass in Kg (bioimpedance) |
bioimpedancia_massalivre | string | Não | Fat-free mass in Kg (bioimpedance) |
bioimpedancia_idade | string | Não | Metabolic age (bioimpedance) |
bioimpedancia_visceral | string | Não | Visceral fat index (bioimpedance) |
bioimpedancia_massaGordura | string | Não | Fat mass in Kg (bioimpedance) |
bioimpedancia_percentualMagra | string | Não | Lean mass % (bioimpedance) |
origem | string | Não | (manual, automatica) |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
antropometria_ids | string[] | Não | Bulk mode: multiple values for antropometria_id |
#### webdiet_upload_anexo
Upload a file (PDF, image, etc.) to a patient's attachments in WebDiet. _(POST /api/webdiet/upload/anexo)_
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patient_id | string | Sim | WebDiet patient id (long digits), portal link number, or unique list keyword — resolved before upload |
upload_code | string | Não | Code from webdiet_get_upload_command curl response (e.g. "file-a1b2c3d4") |
file_url | string | Não | Direct URL to download the file |
file_base64 | string | Não | File content as base64-encoded string (small files only) |
file_name | string | Não | File name with extension (e.g. "report.pdf") — required for file_base64/file_url |
tipo | string | Não | Upload type: anexo (patient attachment), cloud (cloud storage), prontuario, antropometria, exame, perfil, evolucao (anexo, cloud, prontuario, antropometria, exame, perfil, evolucao) |
nome_anexo | string | Não | Display name for the attachment |
salvar_cloud | boolean | Não | Also save to WebDiet Cloud for reuse with other patients |
account | string | Não | Optional account selector when multiple WebDiet accounts are linked in this install. Pass the account id, email, or label (full or partial match). Omit if only one account is linked. Use webdiet_list_accounts to discover. |
patient_ids | string[] | Não | Bulk mode: multiple values for patient_id |
Este MCP também funciona via conexão MCP (Claude / Cursor) em https://api.mcp.ai/p_webdiet — veja o README. A skill acima é pra consumir a REST API direto (agente próprio / código).
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.