{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "api.mcp.ai",
    "site": "mcp.ai",
    "addresses": [
      {
        "address": "104.21.2.217",
        "endpoints": 1122,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.21.0.0/19",
          "country": "US"
        }
      },
      {
        "address": "172.67.129.185",
        "endpoints": 1122,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.128.0/20",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3032::6815:2d9",
        "endpoints": 1122,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3032::/48",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3037::ac43:81b9",
        "endpoints": 1122,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3037::/48",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "104.21.2.217",
          "172.67.129.185",
          "2606:4700:3032::6815:2d9",
          "2606:4700:3037::ac43:81b9"
        ],
        "first_seen": "2026-11-21T22:26:00.863Z",
        "last_seen": "2026-11-21T22:26:00.863Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "mcp-ai",
      "version": "0.9.472",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare",
      "access-control-allow-origin": "*"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 1121,
      "sample": [
        {
          "id": "29171",
          "url": "https://api.mcp.ai/contaazul",
          "server_name": "io.github.douglac/contaazul-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:36:02.087Z"
        },
        {
          "id": "31813",
          "url": "https://api.mcp.ai/p_99pay",
          "server_name": "io.github.mcp-dir/99pay-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:37:01.422Z"
        },
        {
          "id": "31814",
          "url": "https://api.mcp.ai/p_acordos_leniencia",
          "server_name": "io.github.mcp-dir/acordos_leniencia-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:38:01.546Z"
        },
        {
          "id": "31815",
          "url": "https://api.mcp.ai/p_advbox",
          "server_name": "io.github.mcp-dir/advbox-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:39:01.880Z"
        },
        {
          "id": "31816",
          "url": "https://api.mcp.ai/p_agger",
          "server_name": "io.github.mcp-dir/agger-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:40:02.074Z"
        },
        {
          "id": "31817",
          "url": "https://api.mcp.ai/p_agora",
          "server_name": "io.github.mcp-dir/agora-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:41:01.294Z"
        },
        {
          "id": "31818",
          "url": "https://api.mcp.ai/p_aml_vinculos",
          "server_name": "io.github.mcp-dir/aml_vinculos-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:42:03.929Z"
        },
        {
          "id": "31819",
          "url": "https://api.mcp.ai/p_anatel_celular_legal",
          "server_name": "io.github.mcp-dir/anatel_celular_legal-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:43:02.246Z"
        },
        {
          "id": "31820",
          "url": "https://api.mcp.ai/p_anbima_certificado",
          "server_name": "io.github.mcp-dir/anbima_certificado-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:44:01.891Z"
        },
        {
          "id": "31821",
          "url": "https://api.mcp.ai/p_anp_base_distribuicao",
          "server_name": "io.github.mcp-dir/anp_base_distribuicao-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:45:03.184Z"
        },
        {
          "id": "31822",
          "url": "https://api.mcp.ai/p_anp_instalacoes_simp",
          "server_name": "io.github.mcp-dir/anp_instalacoes_simp-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:46:01.294Z"
        },
        {
          "id": "31823",
          "url": "https://api.mcp.ai/p_anp_postos",
          "server_name": "io.github.mcp-dir/anp_postos-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:47:01.677Z"
        },
        {
          "id": "31824",
          "url": "https://api.mcp.ai/p_anp_revendas",
          "server_name": "io.github.mcp-dir/anp_revendas-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:48:01.700Z"
        },
        {
          "id": "31825",
          "url": "https://api.mcp.ai/p_antecedentes_criminais_mg",
          "server_name": "io.github.mcp-dir/antecedentes_criminais_mg-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:49:01.321Z"
        },
        {
          "id": "31826",
          "url": "https://api.mcp.ai/p_antecedentes_criminais_sp",
          "server_name": "io.github.mcp-dir/antecedentes_criminais_sp-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:50:02.777Z"
        },
        {
          "id": "31827",
          "url": "https://api.mcp.ai/p_antecedentes_policia_civil",
          "server_name": "io.github.mcp-dir/antecedentes_policia_civil-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:51:01.357Z"
        },
        {
          "id": "31828",
          "url": "https://api.mcp.ai/p_antecedentes_policia_federal",
          "server_name": "io.github.mcp-dir/antecedentes_policia_federal-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:52:01.817Z"
        },
        {
          "id": "31829",
          "url": "https://api.mcp.ai/p_anthropic_billing",
          "server_name": "io.github.mcp-dir/anthropic_billing-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:53:01.105Z"
        },
        {
          "id": "31830",
          "url": "https://api.mcp.ai/p_antt_frete_piso_minimo",
          "server_name": "io.github.mcp-dir/antt_frete_piso_minimo-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:54:01.602Z"
        },
        {
          "id": "31831",
          "url": "https://api.mcp.ai/p_antt_operacao_transporte",
          "server_name": "io.github.mcp-dir/antt_operacao_transporte-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:55:08.915Z"
        }
      ]
    },
    "same_site": {
      "total": 1121,
      "sample": [
        {
          "id": "29170",
          "url": "https://api.mcp.ai/banco",
          "server_name": "io.github.douglac/banco-mcp",
          "last_state": "error",
          "last_checked_at": "2026-11-22T23:35:01.992Z"
        },
        {
          "id": "29171",
          "url": "https://api.mcp.ai/contaazul",
          "server_name": "io.github.douglac/contaazul-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:36:02.087Z"
        },
        {
          "id": "31813",
          "url": "https://api.mcp.ai/p_99pay",
          "server_name": "io.github.mcp-dir/99pay-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:37:01.422Z"
        },
        {
          "id": "31814",
          "url": "https://api.mcp.ai/p_acordos_leniencia",
          "server_name": "io.github.mcp-dir/acordos_leniencia-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:38:01.546Z"
        },
        {
          "id": "31815",
          "url": "https://api.mcp.ai/p_advbox",
          "server_name": "io.github.mcp-dir/advbox-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:39:01.880Z"
        },
        {
          "id": "31816",
          "url": "https://api.mcp.ai/p_agger",
          "server_name": "io.github.mcp-dir/agger-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:40:02.074Z"
        },
        {
          "id": "31817",
          "url": "https://api.mcp.ai/p_agora",
          "server_name": "io.github.mcp-dir/agora-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:41:01.294Z"
        },
        {
          "id": "31818",
          "url": "https://api.mcp.ai/p_aml_vinculos",
          "server_name": "io.github.mcp-dir/aml_vinculos-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:42:03.929Z"
        },
        {
          "id": "31819",
          "url": "https://api.mcp.ai/p_anatel_celular_legal",
          "server_name": "io.github.mcp-dir/anatel_celular_legal-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:43:02.246Z"
        },
        {
          "id": "31820",
          "url": "https://api.mcp.ai/p_anbima_certificado",
          "server_name": "io.github.mcp-dir/anbima_certificado-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:44:01.891Z"
        },
        {
          "id": "31821",
          "url": "https://api.mcp.ai/p_anp_base_distribuicao",
          "server_name": "io.github.mcp-dir/anp_base_distribuicao-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:45:03.184Z"
        },
        {
          "id": "31822",
          "url": "https://api.mcp.ai/p_anp_instalacoes_simp",
          "server_name": "io.github.mcp-dir/anp_instalacoes_simp-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:46:01.294Z"
        },
        {
          "id": "31823",
          "url": "https://api.mcp.ai/p_anp_postos",
          "server_name": "io.github.mcp-dir/anp_postos-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:47:01.677Z"
        },
        {
          "id": "31824",
          "url": "https://api.mcp.ai/p_anp_revendas",
          "server_name": "io.github.mcp-dir/anp_revendas-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:48:01.700Z"
        },
        {
          "id": "31825",
          "url": "https://api.mcp.ai/p_antecedentes_criminais_mg",
          "server_name": "io.github.mcp-dir/antecedentes_criminais_mg-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:49:01.321Z"
        },
        {
          "id": "31826",
          "url": "https://api.mcp.ai/p_antecedentes_criminais_sp",
          "server_name": "io.github.mcp-dir/antecedentes_criminais_sp-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:50:02.777Z"
        },
        {
          "id": "31827",
          "url": "https://api.mcp.ai/p_antecedentes_policia_civil",
          "server_name": "io.github.mcp-dir/antecedentes_policia_civil-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:51:01.357Z"
        },
        {
          "id": "31828",
          "url": "https://api.mcp.ai/p_antecedentes_policia_federal",
          "server_name": "io.github.mcp-dir/antecedentes_policia_federal-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:52:01.817Z"
        },
        {
          "id": "31829",
          "url": "https://api.mcp.ai/p_anthropic_billing",
          "server_name": "io.github.mcp-dir/anthropic_billing-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:53:01.105Z"
        },
        {
          "id": "31830",
          "url": "https://api.mcp.ai/p_antt_frete_piso_minimo",
          "server_name": "io.github.mcp-dir/antt_frete_piso_minimo-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:54:01.602Z"
        }
      ]
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.github.mcp-dir",
      "total": 1119,
      "sample": [
        {
          "name": "io.github.mcp-dir/99pay-mcp",
          "title": "MCP.AI connector for 99Pay (unofficial)"
        },
        {
          "name": "io.github.mcp-dir/acordos_leniencia-mcp",
          "title": "Acordos de Leniência"
        },
        {
          "name": "io.github.mcp-dir/advbox-mcp",
          "title": "AdvBox"
        },
        {
          "name": "io.github.mcp-dir/agger-mcp",
          "title": "Agger"
        },
        {
          "name": "io.github.mcp-dir/agora-mcp",
          "title": "MCP.AI connector for Ágora (unofficial)"
        },
        {
          "name": "io.github.mcp-dir/aml_vinculos-mcp",
          "title": "AML (Vínculos Societários)"
        },
        {
          "name": "io.github.mcp-dir/anatel_celular_legal-mcp",
          "title": "Anatel: Consulta Celular Legal"
        },
        {
          "name": "io.github.mcp-dir/anbima_certificado-mcp",
          "title": "Certificado Anbima"
        },
        {
          "name": "io.github.mcp-dir/anp_base_distribuicao-mcp",
          "title": "ANP: Base de Distribuição"
        },
        {
          "name": "io.github.mcp-dir/anp_instalacoes_simp-mcp",
          "title": "ANP: Instalações do SIMP"
        },
        {
          "name": "io.github.mcp-dir/anp_postos-mcp",
          "title": "ANP: Postos"
        },
        {
          "name": "io.github.mcp-dir/anp_revendas-mcp",
          "title": "ANP: Revendas GLP"
        },
        {
          "name": "io.github.mcp-dir/antecedentes_criminais_mg-mcp",
          "title": "Antecedentes Criminais: MG"
        },
        {
          "name": "io.github.mcp-dir/antecedentes_criminais_sp-mcp",
          "title": "Antecedentes Criminais: SP"
        },
        {
          "name": "io.github.mcp-dir/antecedentes_policia_civil-mcp",
          "title": "Antecedentes (Polícia Civil)"
        },
        {
          "name": "io.github.mcp-dir/antecedentes_policia_federal-mcp",
          "title": "Antecedentes (Polícia Federal)"
        },
        {
          "name": "io.github.mcp-dir/anthropic_billing-mcp",
          "title": "Anthropic Billing"
        },
        {
          "name": "io.github.mcp-dir/antt_frete_piso_minimo-mcp",
          "title": "ANTT: Calcular Piso Mínimo de Frete"
        },
        {
          "name": "io.github.mcp-dir/antt_operacao_transporte-mcp",
          "title": "Operação de Transporte ANTT"
        },
        {
          "name": "io.github.mcp-dir/antt_produtos_perigosos-mcp",
          "title": "ANTT: Produtos Perigosos"
        }
      ]
    },
    "same_repository": {
      "repository_url": "https://github.com/mcp-dir/feegow-mcp",
      "total": 0,
      "sample": []
    },
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "32178",
    "server_name": "io.github.mcp-dir/feegow-mcp",
    "url": "https://api.mcp.ai/p_feegow",
    "host": "api.mcp.ai",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-21T22:26:00.863Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "bd57620a0e5a4abbbc9120d38be477b66adf4982b08e58a9034989d556e29910",
    "first_listed_at": "2026-11-21T22:26:00.863Z",
    "created_at": "2026-11-21T10:25:02.592Z",
    "resolved_addresses": [
      "104.21.2.217",
      "172.67.129.185",
      "2606:4700:3032::6815:2d9",
      "2606:4700:3037::ac43:81b9"
    ]
  },
  "server": {
    "name": "io.github.mcp-dir/feegow-mcp",
    "title": "Feegow Clinic",
    "description": "Full clinic management on Feegow Clinic, patients, appointments, providers, specialties, insurance, ",
    "version": "0.1.0",
    "registry_status": "active",
    "repository_url": "https://github.com/mcp-dir/feegow-mcp",
    "website_url": null,
    "published_at": "2026-06-10T17:56:06.062Z",
    "updated_at": "2026-06-10T17:56:06.062Z",
    "first_seen": "2026-11-21T10:25:01.292Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [
      "takes-payment"
    ],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T16:14:07.401Z"
  },
  "operator": {
    "key": "mcp.ai",
    "name": "mcp.ai",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 1,
    "answered": 1,
    "answered_percent": 100,
    "avg_listing_latency_ms": 196,
    "first_check_in_window": "2026-11-21T22:26:00.863Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "bd57620a0e5a4abbbc9120d38be477b66adf4982b08e58a9034989d556e29910",
    "tools": 94,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-21T22:26:01.062Z",
    "tool_names": [
      "feegow_list_accounts",
      "feegow_patient_list",
      "feegow_patient_get",
      "feegow_patient_search_cpf",
      "feegow_patient_write_create",
      "feegow_patient_write_edit",
      "feegow_patient_support_list_sources",
      "feegow_patient_support_list_dependents",
      "feegow_patient_support_list_privates",
      "feegow_patient_support_health_programs",
      "feegow_patient_support_exam_requests",
      "feegow_patient_support_write",
      "feegow_appointment_list",
      "feegow_appointment_statuses",
      "feegow_appointment_motives",
      "feegow_appointment_channels",
      "feegow_appointment_available_schedule",
      "feegow_appointment_queue_position",
      "feegow_appointment_write_create",
      "feegow_appointment_write_cancel",
      "feegow_appointment_write_reschedule",
      "feegow_appointment_write_update_status",
      "feegow_professional_list",
      "feegow_professional_get",
      "feegow_professional_insurance",
      "feegow_company_list_units",
      "feegow_company_list_locals",
      "feegow_specialty",
      "feegow_insurance",
      "feegow_procedure_list",
      "feegow_procedure_types",
      "feegow_procedure_insurance_list",
      "feegow_procedure_franchise",
      "feegow_procedure_bundles",
      "feegow_procedure_groups",
      "feegow_employee",
      "feegow_lock",
      "feegow_financial_list_suppliers",
      "feegow_financial_search_supplier",
      "feegow_financial_list_categories",
      "feegow_financial_list_cost_centers",
      "feegow_financial_list_transfers",
      "feegow_financial_list_invoices",
      "feegow_financial_list_current_accounts",
      "feegow_financial_find_invoice_nfse",
      "feegow_financial_list_credit_card_brands",
      "feegow_financial_list_vouchers",
      "feegow_financial_list_sales",
      "feegow_financial_list_private_tables",
      "feegow_financial_get_dmed",
      "feegow_financial_write_associate_account",
      "feegow_financial_write_update_nfse",
      "feegow_financial_write_pay_invoice",
      "feegow_financial_write_create_invoice",
      "feegow_financial_write_create_invoice_by_appt",
      "feegow_financial_write_create_voucher",
      "feegow_financial_write_update_voucher",
      "feegow_financial_write_pay_booking",
      "feegow_financial_delete_remove_invoice",
      "feegow_financial_delete_remove_payment",
      "feegow_financial_delete_cancel_voucher",
      "feegow_billing",
      "feegow_billing_write_create",
      "feegow_billing_write_edit",
      "feegow_stock_list_products",
      "feegow_stock_get_position",
      "feegow_stock_list_locations",
      "feegow_stock_write_insert",
      "feegow_stock_write_entry",
      "feegow_stock_write_movement",
      "feegow_stock_write_exit",
      "feegow_medical_report_list",
      "feegow_medical_report_get_file",
      "feegow_medical_report_search",
      "feegow_medical_report_write",
      "feegow_proposal_list",
      "feegow_proposal_list_by_date",
      "feegow_proposal_get_url",
      "feegow_proposal_write_create",
      "feegow_proposal_write_change_status",
      "feegow_report_list",
      "feegow_report_generate",
      "feegow_benefit_card_list_contracts",
      "feegow_benefit_card_list_plans",
      "feegow_benefit_card_write_create_contract",
      "feegow_benefit_card_write_update_contract",
      "feegow_benefit_card_write_create_plan",
      "feegow_benefit_card_write_update_plan",
      "show_version",
      "report_bug",
      "connect",
      "toolkit_info",
      "marketplace",
      "authenticate"
    ],
    "declared": {
      "tools": [
        {
          "name": "feegow_list_accounts",
          "description": "List Feegow API connections (clinics) linked to this install — id, label, name.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_list_accounts",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_patient_list",
          "description": "Read patients in Feegow Clinic.\nActions:\n- list: paginated patient list (offset/limit). Filter by telefone, cpf, origem_id, alterado_em, data_aniversario.\n- get: full detail by paciente_id (includes address, insurance, documents).\n- search_cpf: find patient by CPF (11 digits, numbers only).\nReturns name, birth date, gender, address, phones, emails, documents, insurance info.\n\n[Flattened action: list]\n\nBulk support: accepts paciente_ids, origem_ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "cpf": {
                "type": "string"
              },
              "limit": {
                "type": "number",
                "default": 50
              },
              "photo": {
                "type": "boolean"
              },
              "offset": {
                "type": "number",
                "default": 0
              },
              "account": {
                "type": "string"
              },
              "telefone": {
                "type": "string"
              },
              "origem_id": {
                "type": "number"
              },
              "origem_ids": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              },
              "alterado_em": {
                "type": "string"
              },
              "paciente_id": {
                "type": "number"
              },
              "paciente_ids": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              },
              "programa_saude": {
                "type": "boolean"
              },
              "data_aniversario": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_patient_list",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_patient_get",
          "description": "Read patients in Feegow Clinic.\nActions:\n- list: paginated patient list (offset/limit). Filter by telefone, cpf, origem_id, alterado_em, data_aniversario.\n- get: full detail by paciente_id (includes address, insurance, documents).\n- search_cpf: find patient by CPF (11 digits, numbers only).\nReturns name, birth date, gender, address, phones, emails, documents, insurance info.\n\n[Flattened action: get]\n\nBulk support: accepts paciente_ids, origem_ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "cpf": {
                "type": "string"
              },
              "limit": {
                "type": "number",
                "default": 50
              },
              "photo": {
                "type": "boolean"
              },
              "offset": {
                "type": "number",
                "default": 0
              },
              "account": {
                "type": "string"
              },
              "telefone": {
                "type": "string"
              },
              "origem_id": {
                "type": "number"
              },
              "origem_ids": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              },
              "alterado_em": {
                "type": "string"
              },
              "paciente_id": {
                "type": "number"
              },
              "paciente_ids": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              },
              "programa_saude": {
                "type": "boolean"
              },
              "data_aniversario": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_patient_get",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_patient_search_cpf",
          "description": "Read patients in Feegow Clinic.\nActions:\n- list: paginated patient list (offset/limit). Filter by telefone, cpf, origem_id, alterado_em, data_aniversario.\n- get: full detail by paciente_id (includes address, insurance, documents).\n- search_cpf: find patient by CPF (11 digits, numbers only).\nReturns name, birth date, gender, address, phones, emails, documents, insurance info.\n\n[Flattened action: search_cpf]\n\nBulk support: accepts paciente_ids, origem_ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "cpf": {
                "type": "string"
              },
              "limit": {
                "type": "number",
                "default": 50
              },
              "photo": {
                "type": "boolean"
              },
              "offset": {
                "type": "number",
                "default": 0
              },
              "account": {
                "type": "string"
              },
              "telefone": {
                "type": "string"
              },
              "origem_id": {
                "type": "number"
              },
              "origem_ids": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              },
              "alterado_em": {
                "type": "string"
              },
              "paciente_id": {
                "type": "number"
              },
              "paciente_ids": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              },
              "programa_saude": {
                "type": "boolean"
              },
              "data_aniversario": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_patient_search_cpf",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_patient_write_create",
          "description": "Create or edit patients in Feegow Clinic.\nActions:\n- create: requires nome_completo and cpf (11 digits). Optional: data_nascimento (YYYY-MM-DD), genero (M/F), origem_id, celular, telefone, email, endereco, cidade, estado, cep, observacao, convenio_id, plano_id, matricula, titular, validade, tabela_id, nome_social, peso, altura.\n- edit: requires paciente_id. All other fields optional — only pass what you want to change.\n\n[Flattened action: create]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_patient_write_create",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_patient_write_edit",
          "description": "Create or edit patients in Feegow Clinic.\nActions:\n- create: requires nome_completo and cpf (11 digits). Optional: data_nascimento (YYYY-MM-DD), genero (M/F), origem_id, celular, telefone, email, endereco, cidade, estado, cep, observacao, convenio_id, plano_id, matricula, titular, validade, tabela_id, nome_social, peso, altura.\n- edit: requires paciente_id. All other fields optional — only pass what you want to change.\n\n[Flattened action: edit]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_patient_write_edit",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_patient_support_list_sources",
          "description": "Supporting patient data reads in Feegow.\nActions:\n- list_sources: list all patient origins (origem).\n- list_dependents: list dependents for a patient (requires paciente_id).\n- list_privates: list private pricing tables.\n- health_programs: list health programs (filter by program_id, nome_programa, convenio_id, status, tipo_programa_id, data_start, data_end).\n- exam_requests: list exam requests (requires paciente_id, data_inicio, data_fim, tipo_pedido: 1=Standard, 2=SADT).\n\nFor uploading a file to a patient record use feegow_patient_support_write.\n\n[Flattened action: list_sources]\n\nBulk support: accepts paciente_ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              },
              "paciente_id": {
                "type": "number"
              },
              "paciente_ids": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              }
            }
          },
          "annotations": {
            "title": "feegow_patient_support_list_sources",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_patient_support_list_dependents",
          "description": "Supporting patient data reads in Feegow.\nActions:\n- list_sources: list all patient origins (origem).\n- list_dependents: list dependents for a patient (requires paciente_id).\n- list_privates: list private pricing tables.\n- health_programs: list health programs (filter by program_id, nome_programa, convenio_id, status, tipo_programa_id, data_start, data_end).\n- exam_requests: list exam requests (requires paciente_id, data_inicio, data_fim, tipo_pedido: 1=Standard, 2=SADT).\n\nFor uploading a file to a patient record use feegow_patient_support_write.\n\n[Flattened action: list_dependents]\n\nBulk support: accepts paciente_ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              },
              "paciente_id": {
                "type": "number"
              },
              "paciente_ids": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              }
            }
          },
          "annotations": {
            "title": "feegow_patient_support_list_dependents",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_patient_support_list_privates",
          "description": "Supporting patient data reads in Feegow.\nActions:\n- list_sources: list all patient origins (origem).\n- list_dependents: list dependents for a patient (requires paciente_id).\n- list_privates: list private pricing tables.\n- health_programs: list health programs (filter by program_id, nome_programa, convenio_id, status, tipo_programa_id, data_start, data_end).\n- exam_requests: list exam requests (requires paciente_id, data_inicio, data_fim, tipo_pedido: 1=Standard, 2=SADT).\n\nFor uploading a file to a patient record use feegow_patient_support_write.\n\n[Flattened action: list_privates]\n\nBulk support: accepts paciente_ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              },
              "paciente_id": {
                "type": "number"
              },
              "paciente_ids": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              }
            }
          },
          "annotations": {
            "title": "feegow_patient_support_list_privates",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_patient_support_health_programs",
          "description": "Supporting patient data reads in Feegow.\nActions:\n- list_sources: list all patient origins (origem).\n- list_dependents: list dependents for a patient (requires paciente_id).\n- list_privates: list private pricing tables.\n- health_programs: list health programs (filter by program_id, nome_programa, convenio_id, status, tipo_programa_id, data_start, data_end).\n- exam_requests: list exam requests (requires paciente_id, data_inicio, data_fim, tipo_pedido: 1=Standard, 2=SADT).\n\nFor uploading a file to a patient record use feegow_patient_support_write.\n\n[Flattened action: health_programs]\n\nBulk support: accepts paciente_ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              },
              "paciente_id": {
                "type": "number"
              },
              "paciente_ids": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              }
            }
          },
          "annotations": {
            "title": "feegow_patient_support_health_programs",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_patient_support_exam_requests",
          "description": "Supporting patient data reads in Feegow.\nActions:\n- list_sources: list all patient origins (origem).\n- list_dependents: list dependents for a patient (requires paciente_id).\n- list_privates: list private pricing tables.\n- health_programs: list health programs (filter by program_id, nome_programa, convenio_id, status, tipo_programa_id, data_start, data_end).\n- exam_requests: list exam requests (requires paciente_id, data_inicio, data_fim, tipo_pedido: 1=Standard, 2=SADT).\n\nFor uploading a file to a patient record use feegow_patient_support_write.\n\n[Flattened action: exam_requests]\n\nBulk support: accepts paciente_ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              },
              "paciente_id": {
                "type": "number"
              },
              "paciente_ids": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              }
            }
          },
          "annotations": {
            "title": "feegow_patient_support_exam_requests",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_patient_support_write",
          "description": "Upload a base64 file to a patient record in Feegow. Requires data JSON with paciente_id or cpf+nascimento, base64_file, arquivo_descricao.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_patient_support_write",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_appointment_list",
          "description": "Read appointments and scheduling data in Feegow.\nActions:\n- list: search appointments by date range (data_start/data_end DD-MM-YYYY), profissional_id, paciente_id, unidade_id, especialidade_id, procedimento_id, canal_id, retorno, list_procedures (1/0).\n- statuses: list all appointment status types (Marcado, Em atendimento, Atendido, etc.).\n- motives: list cancellation/rescheduling motives.\n- channels: list appointment channels (online, clinic, etc.).\n- available_schedule: find available time slots. Requires tipo (E=Especialidade, P=Procedimento), data_start, data_end (DD-MM-YYYY). Optional: especialidade_id, procedimento_id, unidade_id, profissional_id, convenio_id.\n- queue_position: generate queue ticket (requires unidade_id, tipo_senha: 0=G, 1=P, 2=C, 3=E, 4=R).\n\n[Flattened action: list]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_appointment_list",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_appointment_statuses",
          "description": "Read appointments and scheduling data in Feegow.\nActions:\n- list: search appointments by date range (data_start/data_end DD-MM-YYYY), profissional_id, paciente_id, unidade_id, especialidade_id, procedimento_id, canal_id, retorno, list_procedures (1/0).\n- statuses: list all appointment status types (Marcado, Em atendimento, Atendido, etc.).\n- motives: list cancellation/rescheduling motives.\n- channels: list appointment channels (online, clinic, etc.).\n- available_schedule: find available time slots. Requires tipo (E=Especialidade, P=Procedimento), data_start, data_end (DD-MM-YYYY). Optional: especialidade_id, procedimento_id, unidade_id, profissional_id, convenio_id.\n- queue_position: generate queue ticket (requires unidade_id, tipo_senha: 0=G, 1=P, 2=C, 3=E, 4=R).\n\n[Flattened action: statuses]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_appointment_statuses",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_appointment_motives",
          "description": "Read appointments and scheduling data in Feegow.\nActions:\n- list: search appointments by date range (data_start/data_end DD-MM-YYYY), profissional_id, paciente_id, unidade_id, especialidade_id, procedimento_id, canal_id, retorno, list_procedures (1/0).\n- statuses: list all appointment status types (Marcado, Em atendimento, Atendido, etc.).\n- motives: list cancellation/rescheduling motives.\n- channels: list appointment channels (online, clinic, etc.).\n- available_schedule: find available time slots. Requires tipo (E=Especialidade, P=Procedimento), data_start, data_end (DD-MM-YYYY). Optional: especialidade_id, procedimento_id, unidade_id, profissional_id, convenio_id.\n- queue_position: generate queue ticket (requires unidade_id, tipo_senha: 0=G, 1=P, 2=C, 3=E, 4=R).\n\n[Flattened action: motives]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_appointment_motives",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_appointment_channels",
          "description": "Read appointments and scheduling data in Feegow.\nActions:\n- list: search appointments by date range (data_start/data_end DD-MM-YYYY), profissional_id, paciente_id, unidade_id, especialidade_id, procedimento_id, canal_id, retorno, list_procedures (1/0).\n- statuses: list all appointment status types (Marcado, Em atendimento, Atendido, etc.).\n- motives: list cancellation/rescheduling motives.\n- channels: list appointment channels (online, clinic, etc.).\n- available_schedule: find available time slots. Requires tipo (E=Especialidade, P=Procedimento), data_start, data_end (DD-MM-YYYY). Optional: especialidade_id, procedimento_id, unidade_id, profissional_id, convenio_id.\n- queue_position: generate queue ticket (requires unidade_id, tipo_senha: 0=G, 1=P, 2=C, 3=E, 4=R).\n\n[Flattened action: channels]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_appointment_channels",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_appointment_available_schedule",
          "description": "Read appointments and scheduling data in Feegow.\nActions:\n- list: search appointments by date range (data_start/data_end DD-MM-YYYY), profissional_id, paciente_id, unidade_id, especialidade_id, procedimento_id, canal_id, retorno, list_procedures (1/0).\n- statuses: list all appointment status types (Marcado, Em atendimento, Atendido, etc.).\n- motives: list cancellation/rescheduling motives.\n- channels: list appointment channels (online, clinic, etc.).\n- available_schedule: find available time slots. Requires tipo (E=Especialidade, P=Procedimento), data_start, data_end (DD-MM-YYYY). Optional: especialidade_id, procedimento_id, unidade_id, profissional_id, convenio_id.\n- queue_position: generate queue ticket (requires unidade_id, tipo_senha: 0=G, 1=P, 2=C, 3=E, 4=R).\n\n[Flattened action: available_schedule]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_appointment_available_schedule",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_appointment_queue_position",
          "description": "Read appointments and scheduling data in Feegow.\nActions:\n- list: search appointments by date range (data_start/data_end DD-MM-YYYY), profissional_id, paciente_id, unidade_id, especialidade_id, procedimento_id, canal_id, retorno, list_procedures (1/0).\n- statuses: list all appointment status types (Marcado, Em atendimento, Atendido, etc.).\n- motives: list cancellation/rescheduling motives.\n- channels: list appointment channels (online, clinic, etc.).\n- available_schedule: find available time slots. Requires tipo (E=Especialidade, P=Procedimento), data_start, data_end (DD-MM-YYYY). Optional: especialidade_id, procedimento_id, unidade_id, profissional_id, convenio_id.\n- queue_position: generate queue ticket (requires unidade_id, tipo_senha: 0=G, 1=P, 2=C, 3=E, 4=R).\n\n[Flattened action: queue_position]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_appointment_queue_position",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_appointment_write_create",
          "description": "Create, cancel, reschedule, or update status of appointments in Feegow.\nActions:\n- create: new appointment. Requires local_id, paciente_id, profissional_id, especialidade_id, procedimento_id, data (DD-MM-YYYY), horario (HH:MM:SS 24h), valor (centavos), plano (0=no insurance, 1=insurance). Optional: convenio_id, convenio_plano_id, canal_id, tabela_id, notas, celular, telefone, email, retorno, sys_user.\n- cancel: requires agendamento_id, motivo_id. Optional: obs. (reversible status flip — not a hard delete).\n- reschedule: requires agendamento_id, motivo_id, data (DD-MM-YYYY), horario (HH:MM:SS). Optional: obs.\n- update_status: requires AgendamentoID, StatusID. Optional: Obs, HoraChegada (HH:MM for waiting status).\n\n[Flattened action: create]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_appointment_write_create",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_appointment_write_cancel",
          "description": "Create, cancel, reschedule, or update status of appointments in Feegow.\nActions:\n- create: new appointment. Requires local_id, paciente_id, profissional_id, especialidade_id, procedimento_id, data (DD-MM-YYYY), horario (HH:MM:SS 24h), valor (centavos), plano (0=no insurance, 1=insurance). Optional: convenio_id, convenio_plano_id, canal_id, tabela_id, notas, celular, telefone, email, retorno, sys_user.\n- cancel: requires agendamento_id, motivo_id. Optional: obs. (reversible status flip — not a hard delete).\n- reschedule: requires agendamento_id, motivo_id, data (DD-MM-YYYY), horario (HH:MM:SS). Optional: obs.\n- update_status: requires AgendamentoID, StatusID. Optional: Obs, HoraChegada (HH:MM for waiting status).\n\n[Flattened action: cancel]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_appointment_write_cancel",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_appointment_write_reschedule",
          "description": "Create, cancel, reschedule, or update status of appointments in Feegow.\nActions:\n- create: new appointment. Requires local_id, paciente_id, profissional_id, especialidade_id, procedimento_id, data (DD-MM-YYYY), horario (HH:MM:SS 24h), valor (centavos), plano (0=no insurance, 1=insurance). Optional: convenio_id, convenio_plano_id, canal_id, tabela_id, notas, celular, telefone, email, retorno, sys_user.\n- cancel: requires agendamento_id, motivo_id. Optional: obs. (reversible status flip — not a hard delete).\n- reschedule: requires agendamento_id, motivo_id, data (DD-MM-YYYY), horario (HH:MM:SS). Optional: obs.\n- update_status: requires AgendamentoID, StatusID. Optional: Obs, HoraChegada (HH:MM for waiting status).\n\n[Flattened action: reschedule]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_appointment_write_reschedule",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_appointment_write_update_status",
          "description": "Create, cancel, reschedule, or update status of appointments in Feegow.\nActions:\n- create: new appointment. Requires local_id, paciente_id, profissional_id, especialidade_id, procedimento_id, data (DD-MM-YYYY), horario (HH:MM:SS 24h), valor (centavos), plano (0=no insurance, 1=insurance). Optional: convenio_id, convenio_plano_id, canal_id, tabela_id, notas, celular, telefone, email, retorno, sys_user.\n- cancel: requires agendamento_id, motivo_id. Optional: obs. (reversible status flip — not a hard delete).\n- reschedule: requires agendamento_id, motivo_id, data (DD-MM-YYYY), horario (HH:MM:SS). Optional: obs.\n- update_status: requires AgendamentoID, StatusID. Optional: Obs, HoraChegada (HH:MM for waiting status).\n\n[Flattened action: update_status]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_appointment_write_update_status",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_professional_list",
          "description": "Read professionals (doctors, specialists) in Feegow.\nActions:\n- list: list professionals. Requires ativo (0=inactive, 1=active). Optional: unidade_id, especialidade_id.\n- get: full detail + specialties for a professional (requires profissional_id).\n- insurance: list insurance plans accepted by a professional (requires profissional_id).\n\n[Flattened action: list]\n\nBulk support: accepts profissional_ids, unidade_ids, especialidade_ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "ativo": {
                "type": "number"
              },
              "account": {
                "type": "string"
              },
              "unidade_id": {
                "type": "number"
              },
              "unidade_ids": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              },
              "profissional_id": {
                "type": "number"
              },
              "especialidade_id": {
                "type": "number"
              },
              "profissional_ids": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              },
              "especialidade_ids": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              }
            }
          },
          "annotations": {
            "title": "feegow_professional_list",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_professional_get",
          "description": "Read professionals (doctors, specialists) in Feegow.\nActions:\n- list: list professionals. Requires ativo (0=inactive, 1=active). Optional: unidade_id, especialidade_id.\n- get: full detail + specialties for a professional (requires profissional_id).\n- insurance: list insurance plans accepted by a professional (requires profissional_id).\n\n[Flattened action: get]\n\nBulk support: accepts profissional_ids, unidade_ids, especialidade_ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "ativo": {
                "type": "number"
              },
              "account": {
                "type": "string"
              },
              "unidade_id": {
                "type": "number"
              },
              "unidade_ids": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              },
              "profissional_id": {
                "type": "number"
              },
              "especialidade_id": {
                "type": "number"
              },
              "profissional_ids": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              },
              "especialidade_ids": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              }
            }
          },
          "annotations": {
            "title": "feegow_professional_get",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_professional_insurance",
          "description": "Read professionals (doctors, specialists) in Feegow.\nActions:\n- list: list professionals. Requires ativo (0=inactive, 1=active). Optional: unidade_id, especialidade_id.\n- get: full detail + specialties for a professional (requires profissional_id).\n- insurance: list insurance plans accepted by a professional (requires profissional_id).\n\n[Flattened action: insurance]\n\nBulk support: accepts profissional_ids, unidade_ids, especialidade_ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "ativo": {
                "type": "number"
              },
              "account": {
                "type": "string"
              },
              "unidade_id": {
                "type": "number"
              },
              "unidade_ids": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              },
              "profissional_id": {
                "type": "number"
              },
              "especialidade_id": {
                "type": "number"
              },
              "profissional_ids": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              },
              "especialidade_ids": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              }
            }
          },
          "annotations": {
            "title": "feegow_professional_insurance",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_company_list_units",
          "description": "Read clinic company info in Feegow.\nActions:\n- list_units: list all units (matriz + filiais). Optional: endereco, cep.\n- list_locals: list rooms/locations registered across units.\n\n[Flattened action: list_units]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "cep": {
                "type": "string"
              },
              "account": {
                "type": "string"
              },
              "endereco": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_company_list_units",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_company_list_locals",
          "description": "Read clinic company info in Feegow.\nActions:\n- list_units: list all units (matriz + filiais). Optional: endereco, cep.\n- list_locals: list rooms/locations registered across units.\n\n[Flattened action: list_locals]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "cep": {
                "type": "string"
              },
              "account": {
                "type": "string"
              },
              "endereco": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_company_list_locals",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_specialty",
          "description": "List all medical specialties available for scheduling in Feegow. Optional filter by unidade_id.\n\nBulk support: accepts unidade_ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "account": {
                "type": "string"
              },
              "unidade_id": {
                "type": "number"
              },
              "unidade_ids": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              }
            }
          },
          "annotations": {
            "title": "feegow_specialty",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_insurance",
          "description": "List all accepted insurance plans (convênios) and their sub-plans in Feegow. Optional filter by unidade_id.\n\nBulk support: accepts unidade_ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "account": {
                "type": "string"
              },
              "unidade_id": {
                "type": "number"
              },
              "unidade_ids": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              }
            }
          },
          "annotations": {
            "title": "feegow_insurance",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_procedure_list",
          "description": "Read procedures in Feegow. Values in centavos.\nActions:\n- list: list procedures + values. Filter by tipo_procedimento, procedimento_id, unidade_id, paciente_id, especialidade_id, profissional_id, tabela_id, nome_procedimento.\n- types: list procedure types (Cirurgia, Consulta, Exame, Procedimento, Retorno).\n- insurance_list: list insurance plans that accept a procedure (by procedimentoID or nomeProcedimento).\n- franchise: list imported franchise procedures (requires unidade_id).\n- bundles: list procedure bundles/packages (optional procedimento_id, pacote_id).\n- groups: list procedure groups (optional grupo_id).\n\n[Flattened action: list]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_procedure_list",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_procedure_types",
          "description": "Read procedures in Feegow. Values in centavos.\nActions:\n- list: list procedures + values. Filter by tipo_procedimento, procedimento_id, unidade_id, paciente_id, especialidade_id, profissional_id, tabela_id, nome_procedimento.\n- types: list procedure types (Cirurgia, Consulta, Exame, Procedimento, Retorno).\n- insurance_list: list insurance plans that accept a procedure (by procedimentoID or nomeProcedimento).\n- franchise: list imported franchise procedures (requires unidade_id).\n- bundles: list procedure bundles/packages (optional procedimento_id, pacote_id).\n- groups: list procedure groups (optional grupo_id).\n\n[Flattened action: types]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_procedure_types",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_procedure_insurance_list",
          "description": "Read procedures in Feegow. Values in centavos.\nActions:\n- list: list procedures + values. Filter by tipo_procedimento, procedimento_id, unidade_id, paciente_id, especialidade_id, profissional_id, tabela_id, nome_procedimento.\n- types: list procedure types (Cirurgia, Consulta, Exame, Procedimento, Retorno).\n- insurance_list: list insurance plans that accept a procedure (by procedimentoID or nomeProcedimento).\n- franchise: list imported franchise procedures (requires unidade_id).\n- bundles: list procedure bundles/packages (optional procedimento_id, pacote_id).\n- groups: list procedure groups (optional grupo_id).\n\n[Flattened action: insurance_list]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_procedure_insurance_list",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_procedure_franchise",
          "description": "Read procedures in Feegow. Values in centavos.\nActions:\n- list: list procedures + values. Filter by tipo_procedimento, procedimento_id, unidade_id, paciente_id, especialidade_id, profissional_id, tabela_id, nome_procedimento.\n- types: list procedure types (Cirurgia, Consulta, Exame, Procedimento, Retorno).\n- insurance_list: list insurance plans that accept a procedure (by procedimentoID or nomeProcedimento).\n- franchise: list imported franchise procedures (requires unidade_id).\n- bundles: list procedure bundles/packages (optional procedimento_id, pacote_id).\n- groups: list procedure groups (optional grupo_id).\n\n[Flattened action: franchise]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_procedure_franchise",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_procedure_bundles",
          "description": "Read procedures in Feegow. Values in centavos.\nActions:\n- list: list procedures + values. Filter by tipo_procedimento, procedimento_id, unidade_id, paciente_id, especialidade_id, profissional_id, tabela_id, nome_procedimento.\n- types: list procedure types (Cirurgia, Consulta, Exame, Procedimento, Retorno).\n- insurance_list: list insurance plans that accept a procedure (by procedimentoID or nomeProcedimento).\n- franchise: list imported franchise procedures (requires unidade_id).\n- bundles: list procedure bundles/packages (optional procedimento_id, pacote_id).\n- groups: list procedure groups (optional grupo_id).\n\n[Flattened action: bundles]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_procedure_bundles",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_procedure_groups",
          "description": "Read procedures in Feegow. Values in centavos.\nActions:\n- list: list procedures + values. Filter by tipo_procedimento, procedimento_id, unidade_id, paciente_id, especialidade_id, profissional_id, tabela_id, nome_procedimento.\n- types: list procedure types (Cirurgia, Consulta, Exame, Procedimento, Retorno).\n- insurance_list: list insurance plans that accept a procedure (by procedimentoID or nomeProcedimento).\n- franchise: list imported franchise procedures (requires unidade_id).\n- bundles: list procedure bundles/packages (optional procedimento_id, pacote_id).\n- groups: list procedure groups (optional grupo_id).\n\n[Flattened action: groups]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_procedure_groups",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_employee",
          "description": "List employees in Feegow. Requires ativo (0=inactive, 1=active). Optional: unidade_id.\n\nBulk support: accepts unidade_ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "ativo": {
                "type": "number",
                "default": 1
              },
              "account": {
                "type": "string"
              },
              "unidade_id": {
                "type": "number"
              },
              "unidade_ids": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              }
            }
          },
          "annotations": {
            "title": "feegow_employee",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_lock",
          "description": "List schedule locks/blocks in Feegow. Filter by bloqueio_id, date_start, date_end (DD-MM-YYYY), profissional_id, unidade_id.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_lock",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_financial_list_suppliers",
          "description": "Read financial data in Feegow.\nActions:\n- list_suppliers, search_supplier, list_categories, list_cost_centers, list_transfers,\n  list_invoices, list_current_accounts, find_invoice_nfse, list_credit_card_brands,\n  list_vouchers, list_sales, list_private_tables, get_dmed.\nAll params are passed as JSON in the \"data\" field.\n\n[Flattened action: list_suppliers]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_financial_list_suppliers",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_financial_search_supplier",
          "description": "Read financial data in Feegow.\nActions:\n- list_suppliers, search_supplier, list_categories, list_cost_centers, list_transfers,\n  list_invoices, list_current_accounts, find_invoice_nfse, list_credit_card_brands,\n  list_vouchers, list_sales, list_private_tables, get_dmed.\nAll params are passed as JSON in the \"data\" field.\n\n[Flattened action: search_supplier]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_financial_search_supplier",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_financial_list_categories",
          "description": "Read financial data in Feegow.\nActions:\n- list_suppliers, search_supplier, list_categories, list_cost_centers, list_transfers,\n  list_invoices, list_current_accounts, find_invoice_nfse, list_credit_card_brands,\n  list_vouchers, list_sales, list_private_tables, get_dmed.\nAll params are passed as JSON in the \"data\" field.\n\n[Flattened action: list_categories]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_financial_list_categories",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_financial_list_cost_centers",
          "description": "Read financial data in Feegow.\nActions:\n- list_suppliers, search_supplier, list_categories, list_cost_centers, list_transfers,\n  list_invoices, list_current_accounts, find_invoice_nfse, list_credit_card_brands,\n  list_vouchers, list_sales, list_private_tables, get_dmed.\nAll params are passed as JSON in the \"data\" field.\n\n[Flattened action: list_cost_centers]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_financial_list_cost_centers",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_financial_list_transfers",
          "description": "Read financial data in Feegow.\nActions:\n- list_suppliers, search_supplier, list_categories, list_cost_centers, list_transfers,\n  list_invoices, list_current_accounts, find_invoice_nfse, list_credit_card_brands,\n  list_vouchers, list_sales, list_private_tables, get_dmed.\nAll params are passed as JSON in the \"data\" field.\n\n[Flattened action: list_transfers]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_financial_list_transfers",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_financial_list_invoices",
          "description": "Read financial data in Feegow.\nActions:\n- list_suppliers, search_supplier, list_categories, list_cost_centers, list_transfers,\n  list_invoices, list_current_accounts, find_invoice_nfse, list_credit_card_brands,\n  list_vouchers, list_sales, list_private_tables, get_dmed.\nAll params are passed as JSON in the \"data\" field.\n\n[Flattened action: list_invoices]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_financial_list_invoices",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_financial_list_current_accounts",
          "description": "Read financial data in Feegow.\nActions:\n- list_suppliers, search_supplier, list_categories, list_cost_centers, list_transfers,\n  list_invoices, list_current_accounts, find_invoice_nfse, list_credit_card_brands,\n  list_vouchers, list_sales, list_private_tables, get_dmed.\nAll params are passed as JSON in the \"data\" field.\n\n[Flattened action: list_current_accounts]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_financial_list_current_accounts",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_financial_find_invoice_nfse",
          "description": "Read financial data in Feegow.\nActions:\n- list_suppliers, search_supplier, list_categories, list_cost_centers, list_transfers,\n  list_invoices, list_current_accounts, find_invoice_nfse, list_credit_card_brands,\n  list_vouchers, list_sales, list_private_tables, get_dmed.\nAll params are passed as JSON in the \"data\" field.\n\n[Flattened action: find_invoice_nfse]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_financial_find_invoice_nfse",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_financial_list_credit_card_brands",
          "description": "Read financial data in Feegow.\nActions:\n- list_suppliers, search_supplier, list_categories, list_cost_centers, list_transfers,\n  list_invoices, list_current_accounts, find_invoice_nfse, list_credit_card_brands,\n  list_vouchers, list_sales, list_private_tables, get_dmed.\nAll params are passed as JSON in the \"data\" field.\n\n[Flattened action: list_credit_card_brands]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_financial_list_credit_card_brands",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_financial_list_vouchers",
          "description": "Read financial data in Feegow.\nActions:\n- list_suppliers, search_supplier, list_categories, list_cost_centers, list_transfers,\n  list_invoices, list_current_accounts, find_invoice_nfse, list_credit_card_brands,\n  list_vouchers, list_sales, list_private_tables, get_dmed.\nAll params are passed as JSON in the \"data\" field.\n\n[Flattened action: list_vouchers]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_financial_list_vouchers",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_financial_list_sales",
          "description": "Read financial data in Feegow.\nActions:\n- list_suppliers, search_supplier, list_categories, list_cost_centers, list_transfers,\n  list_invoices, list_current_accounts, find_invoice_nfse, list_credit_card_brands,\n  list_vouchers, list_sales, list_private_tables, get_dmed.\nAll params are passed as JSON in the \"data\" field.\n\n[Flattened action: list_sales]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_financial_list_sales",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_financial_list_private_tables",
          "description": "Read financial data in Feegow.\nActions:\n- list_suppliers, search_supplier, list_categories, list_cost_centers, list_transfers,\n  list_invoices, list_current_accounts, find_invoice_nfse, list_credit_card_brands,\n  list_vouchers, list_sales, list_private_tables, get_dmed.\nAll params are passed as JSON in the \"data\" field.\n\n[Flattened action: list_private_tables]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_financial_list_private_tables",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_financial_get_dmed",
          "description": "Read financial data in Feegow.\nActions:\n- list_suppliers, search_supplier, list_categories, list_cost_centers, list_transfers,\n  list_invoices, list_current_accounts, find_invoice_nfse, list_credit_card_brands,\n  list_vouchers, list_sales, list_private_tables, get_dmed.\nAll params are passed as JSON in the \"data\" field.\n\n[Flattened action: get_dmed]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_financial_get_dmed",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_financial_write_associate_account",
          "description": "Write financial operations in Feegow.\nActions:\n- associate_account: associate financial account to patient (account, association).\n- update_nfse: update NFS-e number on invoice (invoice_id, nfse_numero).\n- pay_invoice: pay an invoice.\n- create_invoice: create a new invoice.\n- create_invoice_by_appt: create invoice from appointment.\n- create_voucher: create a voucher.\n- update_voucher: update a voucher.\n- pay_booking: pay a booking (bookingId, amount, associationId, accountId, paymentMethod, paymentDate YYYY-MM-DD).\n\nFor destructive removals (remove_invoice, remove_payment, cancel_voucher) use feegow_financial_delete.\n\n[Flattened action: associate_account]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_financial_write_associate_account",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_financial_write_update_nfse",
          "description": "Write financial operations in Feegow.\nActions:\n- associate_account: associate financial account to patient (account, association).\n- update_nfse: update NFS-e number on invoice (invoice_id, nfse_numero).\n- pay_invoice: pay an invoice.\n- create_invoice: create a new invoice.\n- create_invoice_by_appt: create invoice from appointment.\n- create_voucher: create a voucher.\n- update_voucher: update a voucher.\n- pay_booking: pay a booking (bookingId, amount, associationId, accountId, paymentMethod, paymentDate YYYY-MM-DD).\n\nFor destructive removals (remove_invoice, remove_payment, cancel_voucher) use feegow_financial_delete.\n\n[Flattened action: update_nfse]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_financial_write_update_nfse",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_financial_write_pay_invoice",
          "description": "Write financial operations in Feegow.\nActions:\n- associate_account: associate financial account to patient (account, association).\n- update_nfse: update NFS-e number on invoice (invoice_id, nfse_numero).\n- pay_invoice: pay an invoice.\n- create_invoice: create a new invoice.\n- create_invoice_by_appt: create invoice from appointment.\n- create_voucher: create a voucher.\n- update_voucher: update a voucher.\n- pay_booking: pay a booking (bookingId, amount, associationId, accountId, paymentMethod, paymentDate YYYY-MM-DD).\n\nFor destructive removals (remove_invoice, remove_payment, cancel_voucher) use feegow_financial_delete.\n\n[Flattened action: pay_invoice]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_financial_write_pay_invoice",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_financial_write_create_invoice",
          "description": "Write financial operations in Feegow.\nActions:\n- associate_account: associate financial account to patient (account, association).\n- update_nfse: update NFS-e number on invoice (invoice_id, nfse_numero).\n- pay_invoice: pay an invoice.\n- create_invoice: create a new invoice.\n- create_invoice_by_appt: create invoice from appointment.\n- create_voucher: create a voucher.\n- update_voucher: update a voucher.\n- pay_booking: pay a booking (bookingId, amount, associationId, accountId, paymentMethod, paymentDate YYYY-MM-DD).\n\nFor destructive removals (remove_invoice, remove_payment, cancel_voucher) use feegow_financial_delete.\n\n[Flattened action: create_invoice]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_financial_write_create_invoice",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_financial_write_create_invoice_by_appt",
          "description": "Write financial operations in Feegow.\nActions:\n- associate_account: associate financial account to patient (account, association).\n- update_nfse: update NFS-e number on invoice (invoice_id, nfse_numero).\n- pay_invoice: pay an invoice.\n- create_invoice: create a new invoice.\n- create_invoice_by_appt: create invoice from appointment.\n- create_voucher: create a voucher.\n- update_voucher: update a voucher.\n- pay_booking: pay a booking (bookingId, amount, associationId, accountId, paymentMethod, paymentDate YYYY-MM-DD).\n\nFor destructive removals (remove_invoice, remove_payment, cancel_voucher) use feegow_financial_delete.\n\n[Flattened action: create_invoice_by_appt]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_financial_write_create_invoice_by_appt",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_financial_write_create_voucher",
          "description": "Write financial operations in Feegow.\nActions:\n- associate_account: associate financial account to patient (account, association).\n- update_nfse: update NFS-e number on invoice (invoice_id, nfse_numero).\n- pay_invoice: pay an invoice.\n- create_invoice: create a new invoice.\n- create_invoice_by_appt: create invoice from appointment.\n- create_voucher: create a voucher.\n- update_voucher: update a voucher.\n- pay_booking: pay a booking (bookingId, amount, associationId, accountId, paymentMethod, paymentDate YYYY-MM-DD).\n\nFor destructive removals (remove_invoice, remove_payment, cancel_voucher) use feegow_financial_delete.\n\n[Flattened action: create_voucher]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_financial_write_create_voucher",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_financial_write_update_voucher",
          "description": "Write financial operations in Feegow.\nActions:\n- associate_account: associate financial account to patient (account, association).\n- update_nfse: update NFS-e number on invoice (invoice_id, nfse_numero).\n- pay_invoice: pay an invoice.\n- create_invoice: create a new invoice.\n- create_invoice_by_appt: create invoice from appointment.\n- create_voucher: create a voucher.\n- update_voucher: update a voucher.\n- pay_booking: pay a booking (bookingId, amount, associationId, accountId, paymentMethod, paymentDate YYYY-MM-DD).\n\nFor destructive removals (remove_invoice, remove_payment, cancel_voucher) use feegow_financial_delete.\n\n[Flattened action: update_voucher]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_financial_write_update_voucher",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_financial_write_pay_booking",
          "description": "Write financial operations in Feegow.\nActions:\n- associate_account: associate financial account to patient (account, association).\n- update_nfse: update NFS-e number on invoice (invoice_id, nfse_numero).\n- pay_invoice: pay an invoice.\n- create_invoice: create a new invoice.\n- create_invoice_by_appt: create invoice from appointment.\n- create_voucher: create a voucher.\n- update_voucher: update a voucher.\n- pay_booking: pay a booking (bookingId, amount, associationId, accountId, paymentMethod, paymentDate YYYY-MM-DD).\n\nFor destructive removals (remove_invoice, remove_payment, cancel_voucher) use feegow_financial_delete.\n\n[Flattened action: pay_booking]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_financial_write_pay_booking",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_financial_delete_remove_invoice",
          "description": "Destructive financial operations in Feegow.\nActions:\n- remove_invoice: remove an invoice.\n- remove_payment: remove a payment.\n- cancel_voucher: cancel a voucher.\nAll are irreversible.\n\n[Flattened action: remove_invoice]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_financial_delete_remove_invoice",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "feegow_financial_delete_remove_payment",
          "description": "Destructive financial operations in Feegow.\nActions:\n- remove_invoice: remove an invoice.\n- remove_payment: remove a payment.\n- cancel_voucher: cancel a voucher.\nAll are irreversible.\n\n[Flattened action: remove_payment]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_financial_delete_remove_payment",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "feegow_financial_delete_cancel_voucher",
          "description": "Destructive financial operations in Feegow.\nActions:\n- remove_invoice: remove an invoice.\n- remove_payment: remove a payment.\n- cancel_voucher: cancel a voucher.\nAll are irreversible.\n\n[Flattened action: cancel_voucher]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_financial_delete_cancel_voucher",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "feegow_billing",
          "description": "Read insurance billing guides (guias) in Feegow.\nRequires billing_type_id (1=Consulta, 2=SADT, 3=Honorarios, 4=Internação, 5=Quimioterapia), insurance_id, billing (guide number).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_billing",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_billing_write_create",
          "description": "Create or edit insurance billing guides in Feegow.\nActions:\n- create: create a new SADT billing guide. Pass full data as JSON.\n- edit: edit a SADT billing guide. Requires billing_id, billing_type_id, plus attribute to edit.\n\n[Flattened action: create]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_billing_write_create",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_billing_write_edit",
          "description": "Create or edit insurance billing guides in Feegow.\nActions:\n- create: create a new SADT billing guide. Pass full data as JSON.\n- edit: edit a SADT billing guide. Requires billing_id, billing_type_id, plus attribute to edit.\n\n[Flattened action: edit]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_billing_write_edit",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_stock_list_products",
          "description": "Read stock/inventory data in Feegow.\nActions:\n- list_products: list products (perPage, page, id, location, category, producer, type).\n- get_position: product position/levels (perPage, page, fabricante, produto, categoria, localizacao, dataInicio, dataFim).\n- list_locations: stock locations (empty body {} lists all; each item has id, NomeLocalizacao, UnidadeID).\n\n[Flattened action: list_products]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_stock_list_products",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_stock_get_position",
          "description": "Read stock/inventory data in Feegow.\nActions:\n- list_products: list products (perPage, page, id, location, category, producer, type).\n- get_position: product position/levels (perPage, page, fabricante, produto, categoria, localizacao, dataInicio, dataFim).\n- list_locations: stock locations (empty body {} lists all; each item has id, NomeLocalizacao, UnidadeID).\n\n[Flattened action: get_position]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_stock_get_position",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_stock_list_locations",
          "description": "Read stock/inventory data in Feegow.\nActions:\n- list_products: list products (perPage, page, id, location, category, producer, type).\n- get_position: product position/levels (perPage, page, fabricante, produto, categoria, localizacao, dataInicio, dataFim).\n- list_locations: stock locations (empty body {} lists all; each item has id, NomeLocalizacao, UnidadeID).\n\n[Flattened action: list_locations]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_stock_list_locations",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_stock_write_insert",
          "description": "Write stock operations in Feegow. Numeric fields MUST be JSON numbers (integers), never strings — Feegow rejects \"4\" where 4 is expected.\nActions:\n- insert: insert new product. PrecoCompra and PrecoVenda are REQUIRED integers (whole numbers, no decimals). Typical fields: NomeProduto (string), TipoProduto, CategoriaID, FabricanteID, ApresentacaoNome (string), ApresentacaoQuantidade, ApresentacaoUnidade, LocalizacaoID, EstoqueMinimo, EstoqueMaximo, DiasAvisoValidade (all integers).\n- entry: product entry into stock. Requires productId (integer), quantity (integer), date (string).\n- movement: product movement between locations.\n- exit: product exit from stock. Requires productId (integer), quantity (integer), date (string).\n\n[Flattened action: insert]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_stock_write_insert",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_stock_write_entry",
          "description": "Write stock operations in Feegow. Numeric fields MUST be JSON numbers (integers), never strings — Feegow rejects \"4\" where 4 is expected.\nActions:\n- insert: insert new product. PrecoCompra and PrecoVenda are REQUIRED integers (whole numbers, no decimals). Typical fields: NomeProduto (string), TipoProduto, CategoriaID, FabricanteID, ApresentacaoNome (string), ApresentacaoQuantidade, ApresentacaoUnidade, LocalizacaoID, EstoqueMinimo, EstoqueMaximo, DiasAvisoValidade (all integers).\n- entry: product entry into stock. Requires productId (integer), quantity (integer), date (string).\n- movement: product movement between locations.\n- exit: product exit from stock. Requires productId (integer), quantity (integer), date (string).\n\n[Flattened action: entry]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_stock_write_entry",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_stock_write_movement",
          "description": "Write stock operations in Feegow. Numeric fields MUST be JSON numbers (integers), never strings — Feegow rejects \"4\" where 4 is expected.\nActions:\n- insert: insert new product. PrecoCompra and PrecoVenda are REQUIRED integers (whole numbers, no decimals). Typical fields: NomeProduto (string), TipoProduto, CategoriaID, FabricanteID, ApresentacaoNome (string), ApresentacaoQuantidade, ApresentacaoUnidade, LocalizacaoID, EstoqueMinimo, EstoqueMaximo, DiasAvisoValidade (all integers).\n- entry: product entry into stock. Requires productId (integer), quantity (integer), date (string).\n- movement: product movement between locations.\n- exit: product exit from stock. Requires productId (integer), quantity (integer), date (string).\n\n[Flattened action: movement]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_stock_write_movement",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_stock_write_exit",
          "description": "Write stock operations in Feegow. Numeric fields MUST be JSON numbers (integers), never strings — Feegow rejects \"4\" where 4 is expected.\nActions:\n- insert: insert new product. PrecoCompra and PrecoVenda are REQUIRED integers (whole numbers, no decimals). Typical fields: NomeProduto (string), TipoProduto, CategoriaID, FabricanteID, ApresentacaoNome (string), ApresentacaoQuantidade, ApresentacaoUnidade, LocalizacaoID, EstoqueMinimo, EstoqueMaximo, DiasAvisoValidade (all integers).\n- entry: product entry into stock. Requires productId (integer), quantity (integer), date (string).\n- movement: product movement between locations.\n- exit: product exit from stock. Requires productId (integer), quantity (integer), date (string).\n\n[Flattened action: exit]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_stock_write_exit",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_medical_report_list",
          "description": "Read medical/lab reports (laudos) in Feegow.\nActions:\n- list: list reports by date range. Requires start_date, end_date (YYYY-MM-DD), patient_id.\n- get_file: get download URL for report file (valid 20 min). Requires lab_report_id.\n- search: find report by agendamento_id. Optional: procedimento_id.\nFor creating a report use feegow_medical_report_write.\n\n[Flattened action: list]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_medical_report_list",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_medical_report_get_file",
          "description": "Read medical/lab reports (laudos) in Feegow.\nActions:\n- list: list reports by date range. Requires start_date, end_date (YYYY-MM-DD), patient_id.\n- get_file: get download URL for report file (valid 20 min). Requires lab_report_id.\n- search: find report by agendamento_id. Optional: procedimento_id.\nFor creating a report use feegow_medical_report_write.\n\n[Flattened action: get_file]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_medical_report_get_file",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_medical_report_search",
          "description": "Read medical/lab reports (laudos) in Feegow.\nActions:\n- list: list reports by date range. Requires start_date, end_date (YYYY-MM-DD), patient_id.\n- get_file: get download URL for report file (valid 20 min). Requires lab_report_id.\n- search: find report by agendamento_id. Optional: procedimento_id.\nFor creating a report use feegow_medical_report_write.\n\n[Flattened action: search]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_medical_report_search",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_medical_report_write",
          "description": "Register a new medical/lab report in Feegow. Requires agendamento_id, laudo_base64. Optional: profissional_laudador, procedimento_id.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_medical_report_write",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_proposal_list",
          "description": "Read proposals (treatment plans with pricing) in Feegow. Values in R$.\nActions:\n- list: list proposals for patient. Optional: paciente_id, data_inicio (DD-MM-YYYY), data_fim (DD-MM-YYYY), tipo_data (A=last update, I=creation).\n- list_by_date: list proposals by date (data_proposta, data_alteracao YYYY-MM-DD, PacienteID).\n- get_url: get proposal URL (proposta_id).\nFor creating / changing status use feegow_proposal_write.\n\n[Flattened action: list]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_proposal_list",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_proposal_list_by_date",
          "description": "Read proposals (treatment plans with pricing) in Feegow. Values in R$.\nActions:\n- list: list proposals for patient. Optional: paciente_id, data_inicio (DD-MM-YYYY), data_fim (DD-MM-YYYY), tipo_data (A=last update, I=creation).\n- list_by_date: list proposals by date (data_proposta, data_alteracao YYYY-MM-DD, PacienteID).\n- get_url: get proposal URL (proposta_id).\nFor creating / changing status use feegow_proposal_write.\n\n[Flattened action: list_by_date]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_proposal_list_by_date",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_proposal_get_url",
          "description": "Read proposals (treatment plans with pricing) in Feegow. Values in R$.\nActions:\n- list: list proposals for patient. Optional: paciente_id, data_inicio (DD-MM-YYYY), data_fim (DD-MM-YYYY), tipo_data (A=last update, I=creation).\n- list_by_date: list proposals by date (data_proposta, data_alteracao YYYY-MM-DD, PacienteID).\n- get_url: get proposal URL (proposta_id).\nFor creating / changing status use feegow_proposal_write.\n\n[Flattened action: get_url]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_proposal_get_url",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_proposal_write_create",
          "description": "Create / update proposals in Feegow.\nActions:\n- create: create proposal. Requires proposer_id (sys_user), paciente_id, status_id (1-5), proposal_date (DD-MM-YYYY), procedimentos array. Status: 1=Awaiting client, 2=Approved, 3=Rejected, 4=Awaiting financing, 5=Executed.\n- change_status: update proposal status (proposal_id, status_id).\n\n[Flattened action: create]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_proposal_write_create",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_proposal_write_change_status",
          "description": "Create / update proposals in Feegow.\nActions:\n- create: create proposal. Requires proposer_id (sys_user), paciente_id, status_id (1-5), proposal_date (DD-MM-YYYY), procedimentos array. Status: 1=Awaiting client, 2=Approved, 3=Rejected, 4=Awaiting financing, 5=Executed.\n- change_status: update proposal status (proposal_id, status_id).\n\n[Flattened action: change_status]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_proposal_write_change_status",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_report_list",
          "description": "List and generate system reports in Feegow.\nActions:\n- list: list all available report types (returns id, Ct, Relatorio, Arquivo).\n- generate: generate a report. Requires report (the Arquivo field from list). Optional DATA_INICIO/DATA_FIM (DD/MM/YYYY) passed together; the interval must be UNDER 6 months. Large reports come back as a downloadable file (open sections with arquivo_ler), not inline.\nReport generation is a read-like operation (aggregates existing data — no state mutation).\n\n[Flattened action: list]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "report": {
                "type": "string"
              },
              "account": {
                "type": "string"
              },
              "DATA_FIM": {
                "type": "string"
              },
              "DATA_INICIO": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_report_list",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_report_generate",
          "description": "List and generate system reports in Feegow.\nActions:\n- list: list all available report types (returns id, Ct, Relatorio, Arquivo).\n- generate: generate a report. Requires report (the Arquivo field from list). Optional DATA_INICIO/DATA_FIM (DD/MM/YYYY) passed together; the interval must be UNDER 6 months. Large reports come back as a downloadable file (open sections with arquivo_ler), not inline.\nReport generation is a read-like operation (aggregates existing data — no state mutation).\n\n[Flattened action: generate]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "report": {
                "type": "string"
              },
              "account": {
                "type": "string"
              },
              "DATA_FIM": {
                "type": "string"
              },
              "DATA_INICIO": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_report_generate",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_benefit_card_list_contracts",
          "description": "Read benefit card data in Feegow (contracts and plans).\nActions:\n- list_contracts: list benefit contracts. Filter by page, perPage, document, planId, name, personID, accountOwner, registrationNumber, initialDate, endDate, statusContractId, unity, user, accountPayer.\n- list_plans: list benefit plans. Filter by page, perPage, id.\n\n[Flattened action: list_contracts]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_benefit_card_list_contracts",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_benefit_card_list_plans",
          "description": "Read benefit card data in Feegow (contracts and plans).\nActions:\n- list_contracts: list benefit contracts. Filter by page, perPage, document, planId, name, personID, accountOwner, registrationNumber, initialDate, endDate, statusContractId, unity, user, accountPayer.\n- list_plans: list benefit plans. Filter by page, perPage, id.\n\n[Flattened action: list_plans]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_benefit_card_list_plans",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_benefit_card_write_create_contract",
          "description": "Write benefit card operations in Feegow (contracts and plans).\nActions:\n- create_contract: create benefit contract. Full body with contract, recurrence, people arrays.\n- update_contract: update benefit contract.\n- create_plan: create benefit plan (name, membershipValue, recurrenceValue, dependencyMembershipValue, dependencyRecurrenceValue, parameters).\n- update_plan: update benefit plan (id required).\n\n[Flattened action: create_contract]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_benefit_card_write_create_contract",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_benefit_card_write_update_contract",
          "description": "Write benefit card operations in Feegow (contracts and plans).\nActions:\n- create_contract: create benefit contract. Full body with contract, recurrence, people arrays.\n- update_contract: update benefit contract.\n- create_plan: create benefit plan (name, membershipValue, recurrenceValue, dependencyMembershipValue, dependencyRecurrenceValue, parameters).\n- update_plan: update benefit plan (id required).\n\n[Flattened action: update_contract]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_benefit_card_write_update_contract",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_benefit_card_write_create_plan",
          "description": "Write benefit card operations in Feegow (contracts and plans).\nActions:\n- create_contract: create benefit contract. Full body with contract, recurrence, people arrays.\n- update_contract: update benefit contract.\n- create_plan: create benefit plan (name, membershipValue, recurrenceValue, dependencyMembershipValue, dependencyRecurrenceValue, parameters).\n- update_plan: update benefit plan (id required).\n\n[Flattened action: create_plan]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_benefit_card_write_create_plan",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "feegow_benefit_card_write_update_plan",
          "description": "Write benefit card operations in Feegow (contracts and plans).\nActions:\n- create_contract: create benefit contract. Full body with contract, recurrence, people arrays.\n- update_contract: update benefit contract.\n- create_plan: create benefit plan (name, membershipValue, recurrenceValue, dependencyMembershipValue, dependencyRecurrenceValue, parameters).\n- update_plan: update benefit plan (id required).\n\n[Flattened action: update_plan]",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "feegow_benefit_card_write_update_plan",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "show_version",
          "description": "Show the current MCP platform and adapter versions.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {}
          },
          "annotations": {
            "title": "Show Version",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "report_bug",
          "description": "Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "message"
            ],
            "properties": {
              "context": {
                "type": "string",
                "default": ""
              },
              "message": {
                "type": "string"
              },
              "conversation": {
                "type": "string",
                "default": "[]"
              }
            }
          },
          "annotations": {
            "title": "Report Bug",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "connect",
          "description": "Returns connection status and URLs. When all providers are connected, returns authenticated:true and empty pending[]. When credentials are missing, returns connect_url for the toolkit and per-install URLs.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {}
          },
          "annotations": {
            "title": "Connection Status",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "toolkit_info",
          "description": "Returns the current toolkit state: installed MCPs, their connection status, the accounts connected to each one, and how many catalog tools each exposes.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {}
          },
          "annotations": {
            "title": "Toolkit Info",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "marketplace",
          "description": "The official mcp.ai marketplace — the in-platform catalog of every MCP/tool, AND the way to run them. Covers capability requests like \"find an MCP that does X\", \"consulta um CPF\", \"is there a tool for Y\". Core flow: action=search discovers MCPs by intent → describe returns one MCP's full profile (every tool with its id + params, pricing, auth) so you pick the right tool_id → invoke RUNS that tool. KEY: invoke works even when the MCP is NOT installed — it runs the tool pontualmente (one-off), without adding the MCP to the toolkit and without bloating the tool list. If the MCP needs a credential/login, invoke returns a connect link; if it is paid and the wallet is empty, invoke returns a checkout/top-up link (the user opens it, then you retry). Use install only to make an MCP PERMANENT in the active toolkit (its tools then show up natively in future sessions); prefer invoke for a single/occasional use. list_tools lists what is callable right now. subscribe/cancel handle per-MCP billing; report_bug sends feedback; request_mcp asks us to build a NEW MCP when nothing fits. Search/describe flag installed_in_toolkit vs installed_in_workspace. Writes (install/uninstall/subscribe/cancel and the one-off install behind invoke) require workspace owner/admin. It also carries the mcp.ai PROMPT LIBRARY, which is about ready-made prompt TEXT rather than MCPs: search_prompts finds one, get_prompt returns its full text with {{variables}} filled, and publish_prompt saves a prompt and returns a shareable mcp.ai/p/<slug> link that opens without login.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "number",
                "default": 10
              },
              "query": {
                "type": "string",
                "default": ""
              },
              "action": {
                "enum": [
                  "search",
                  "describe",
                  "install",
                  "uninstall",
                  "subscribe",
                  "cancel",
                  "resume",
                  "report_bug",
                  "request_mcp",
                  "list_tools",
                  "invoke",
                  "search_prompts",
                  "get_prompt",
                  "publish_prompt"
                ],
                "type": "string",
                "default": "search"
              },
              "mcp_id": {
                "type": "string",
                "default": ""
              },
              "message": {
                "type": "string",
                "default": ""
              },
              "tool_id": {
                "type": "string",
                "default": ""
              },
              "arguments": {
                "type": "string",
                "default": "{}"
              },
              "immediate": {
                "type": "boolean",
                "default": false
              },
              "tier_slug": {
                "type": "string",
                "default": ""
              },
              "prompt_body": {
                "type": "string",
                "default": ""
              },
              "prompt_slug": {
                "type": "string",
                "default": ""
              },
              "prompt_tool": {
                "type": "string",
                "default": ""
              },
              "prompt_vars": {
                "type": "string",
                "default": "{}"
              },
              "conversation": {
                "type": "string",
                "default": "[]"
              },
              "prompt_title": {
                "type": "string",
                "default": ""
              },
              "request_name": {
                "type": "string",
                "default": ""
              },
              "cancel_reason": {
                "enum": [
                  "too_expensive",
                  "missing_features",
                  "switched_service",
                  "unused",
                  "customer_service",
                  "too_complex",
                  "low_quality",
                  "other"
                ],
                "type": "string"
              },
              "cancel_comment": {
                "type": "string",
                "default": ""
              },
              "prompt_targets": {
                "type": "array",
                "items": {
                  "enum": [
                    "claude",
                    "chatgpt",
                    "cursor",
                    "lovable"
                  ],
                  "type": "string"
                },
                "default": []
              },
              "report_context": {
                "type": "string",
                "default": ""
              },
              "prompt_category": {
                "type": "string",
                "default": ""
              },
              "request_details": {
                "type": "string",
                "default": ""
              },
              "prompt_description": {
                "type": "string",
                "default": ""
              }
            }
          },
          "annotations": {
            "title": "Marketplace",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "authenticate",
          "description": "MCP.AI for IDE agents (Cursor, etc.): log in in the browser, copy the access token. Best: add it to this server's config as a header `Authorization: Bearer <token>` for a permanent, non-expiring connection. Or paste it here for a session-only login: call with { token: \"<jwt>\" } after the user pastes, or with no args to get the link.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "token": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "Authenticate",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": "MCP.AI platform v0.9.472 | Adapters: feegow v1.1.0. When the user asks about the version (e.g. \"qual a versão\", \"which version\"), call the show_version tool. NEW MCPs/tools/integrations (capabilities not already in this toolkit) come from the official mcp.ai catalog: the `marketplace` tool (action=search) finds and runs them. You are not authenticated yet. Call the authenticate tool first — it will give the user a browser link to log in and copy a token. No other tools will work until authenticated."
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}