jcs_login
Authenticate to the Joaquim Chaves Saúde patient portal with your phone number and password. The login session is saved and reused for 24 hours, returning patient name and ID.
Instructions
Log in to JCS with phone number (from env) + password.
Only needs to be called once — the session is saved to ~/.jcs_session.json and reused automatically until it expires (~24h).
Returns: {"success": True, "patient_name": "...", "patient_id": "..."}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | Yes |