healthcloud-cli 2.0.0__tar.gz → 2.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {healthcloud_cli-2.0.0 → healthcloud_cli-2.1.0}/.gitignore +4 -0
- {healthcloud_cli-2.0.0 → healthcloud_cli-2.1.0}/PKG-INFO +2 -2
- {healthcloud_cli-2.0.0 → healthcloud_cli-2.1.0}/healthcloud_cli/contracts/mcp-tools.manifest.json +554 -207
- {healthcloud_cli-2.0.0 → healthcloud_cli-2.1.0}/pyproject.toml +1 -1
- {healthcloud_cli-2.0.0 → healthcloud_cli-2.1.0}/README.md +0 -0
- {healthcloud_cli-2.0.0 → healthcloud_cli-2.1.0}/hatch_build.py +0 -0
- {healthcloud_cli-2.0.0 → healthcloud_cli-2.1.0}/healthcloud_cli/__init__.py +0 -0
- {healthcloud_cli-2.0.0 → healthcloud_cli-2.1.0}/healthcloud_cli/cli.py +0 -0
- {healthcloud_cli-2.0.0 → healthcloud_cli-2.1.0}/healthcloud_cli/context.py +0 -0
- {healthcloud_cli-2.0.0 → healthcloud_cli-2.1.0}/healthcloud_cli/contracts/__init__.py +0 -0
- {healthcloud_cli-2.0.0 → healthcloud_cli-2.1.0}/healthcloud_cli/main.py +0 -0
- {healthcloud_cli-2.0.0 → healthcloud_cli-2.1.0}/healthcloud_cli/manifest.py +0 -0
- {healthcloud_cli-2.0.0 → healthcloud_cli-2.1.0}/healthcloud_cli/output.py +0 -0
- {healthcloud_cli-2.0.0 → healthcloud_cli-2.1.0}/healthcloud_cli/params.py +0 -0
- {healthcloud_cli-2.0.0 → healthcloud_cli-2.1.0}/healthcloud_cli/util.py +0 -0
- {healthcloud_cli-2.0.0 → healthcloud_cli-2.1.0}/scripts/__init__.py +0 -0
- {healthcloud_cli-2.0.0 → healthcloud_cli-2.1.0}/scripts/bundle_manifest.py +0 -0
|
@@ -25,6 +25,7 @@ build/
|
|
|
25
25
|
# test time (scripts/copy-manifest.cjs) — that copy is generated, not source.
|
|
26
26
|
packages/cli/npm/contracts/
|
|
27
27
|
coverage/
|
|
28
|
+
report/
|
|
28
29
|
*.tsbuildinfo
|
|
29
30
|
|
|
30
31
|
# Python / pip
|
|
@@ -79,3 +80,6 @@ temp/
|
|
|
79
80
|
.cache/
|
|
80
81
|
.parcel-cache/
|
|
81
82
|
.turbo/
|
|
83
|
+
|
|
84
|
+
# Disposable OpenAPI Generator staging and C#/Java sanity outputs
|
|
85
|
+
.generated/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: healthcloud-cli
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.1.0
|
|
4
4
|
Summary: Command-line interface for the HealthCloud MCP gateway, generated from the shared MCP tool manifest.
|
|
5
5
|
Author: Healthcheck Systems Inc
|
|
6
6
|
License-Expression: MIT
|
{healthcloud_cli-2.0.0 → healthcloud_cli-2.1.0}/healthcloud_cli/contracts/mcp-tools.manifest.json
RENAMED
|
@@ -25907,7 +25907,7 @@
|
|
|
25907
25907
|
"defaultBaseUrl": "https://dev-api-fieldagent.health.cloud",
|
|
25908
25908
|
"name": "fieldagent",
|
|
25909
25909
|
"path": "/fieldagent",
|
|
25910
|
-
"toolCount":
|
|
25910
|
+
"toolCount": 19,
|
|
25911
25911
|
"tools": [
|
|
25912
25912
|
{
|
|
25913
25913
|
"cliCommand": "confirm-field-agent-password-reset",
|
|
@@ -26085,6 +26085,72 @@
|
|
|
26085
26085
|
},
|
|
26086
26086
|
"requiredRoles": []
|
|
26087
26087
|
},
|
|
26088
|
+
{
|
|
26089
|
+
"cliCommand": "get-patient-photo",
|
|
26090
|
+
"description": "Retrieve a patient's FHIR Binary photo resource.",
|
|
26091
|
+
"descriptionSource": "mcp-authored",
|
|
26092
|
+
"destructive": false,
|
|
26093
|
+
"httpMethod": "GET",
|
|
26094
|
+
"httpPath": "/patients/{patient_id}/photo",
|
|
26095
|
+
"inputSchema": {
|
|
26096
|
+
"properties": {
|
|
26097
|
+
"binary_id": {
|
|
26098
|
+
"description": "Optional binary_id returned by upload_patient_photo. If omitted, the stored patient photo is used.",
|
|
26099
|
+
"type": "string"
|
|
26100
|
+
},
|
|
26101
|
+
"patient_id": {
|
|
26102
|
+
"description": "FHIR Patient ID",
|
|
26103
|
+
"type": "string"
|
|
26104
|
+
}
|
|
26105
|
+
},
|
|
26106
|
+
"required": [
|
|
26107
|
+
"patient_id"
|
|
26108
|
+
],
|
|
26109
|
+
"type": "object"
|
|
26110
|
+
},
|
|
26111
|
+
"name": "get_patient_photo",
|
|
26112
|
+
"operationId": "fieldagent.getPatientPhoto",
|
|
26113
|
+
"parameters": {
|
|
26114
|
+
"body": [],
|
|
26115
|
+
"path": [
|
|
26116
|
+
"patient_id"
|
|
26117
|
+
],
|
|
26118
|
+
"query": [
|
|
26119
|
+
"binary_id"
|
|
26120
|
+
]
|
|
26121
|
+
},
|
|
26122
|
+
"requiredRoles": []
|
|
26123
|
+
},
|
|
26124
|
+
{
|
|
26125
|
+
"cliCommand": "get-patient-photo-upload-url",
|
|
26126
|
+
"description": "Get a pre-signed Wasabi S3 PUT URL to upload a patient photo captured by the field agent (valid 10 minutes).",
|
|
26127
|
+
"descriptionSource": "mcp-authored",
|
|
26128
|
+
"destructive": false,
|
|
26129
|
+
"httpMethod": "GET",
|
|
26130
|
+
"httpPath": "/patients/{patient_id}/photo/upload-url",
|
|
26131
|
+
"inputSchema": {
|
|
26132
|
+
"properties": {
|
|
26133
|
+
"patient_id": {
|
|
26134
|
+
"description": "FHIR Patient ID",
|
|
26135
|
+
"type": "string"
|
|
26136
|
+
}
|
|
26137
|
+
},
|
|
26138
|
+
"required": [
|
|
26139
|
+
"patient_id"
|
|
26140
|
+
],
|
|
26141
|
+
"type": "object"
|
|
26142
|
+
},
|
|
26143
|
+
"name": "get_patient_photo_upload_url",
|
|
26144
|
+
"operationId": "fieldagent.patientPhotoUploadUrl",
|
|
26145
|
+
"parameters": {
|
|
26146
|
+
"body": [],
|
|
26147
|
+
"path": [
|
|
26148
|
+
"patient_id"
|
|
26149
|
+
],
|
|
26150
|
+
"query": []
|
|
26151
|
+
},
|
|
26152
|
+
"requiredRoles": []
|
|
26153
|
+
},
|
|
26088
26154
|
{
|
|
26089
26155
|
"cliCommand": "list-encounters",
|
|
26090
26156
|
"description": "List FHIR encounters visible to the field agent.",
|
|
@@ -26221,6 +26287,90 @@
|
|
|
26221
26287
|
},
|
|
26222
26288
|
"requiredRoles": []
|
|
26223
26289
|
},
|
|
26290
|
+
{
|
|
26291
|
+
"cliCommand": "onboard-patient",
|
|
26292
|
+
"description": "Run the patient-onboarding workflow — register patient, create encounter, submit vitals, submit questionnaire responses — as one request, instead of four separate calls. Reuses the exact same underlying service calls as those individual endpoints; no business logic is duplicated. There is no cross-service transaction: only 'patient' is required, each of 'encounter', 'vitals' and 'questionnaire' is attempted independently when supplied (and reported 'skipped' when omitted), and the response reports every step's outcome — plus any id it produced — so a caller can resume from the first failed step instead of repeating everything. overall_status is 'completed' (all attempted steps succeeded), 'partial' (patient registered but a downstream step failed), or 'failed' (patient registration itself failed).",
|
|
26293
|
+
"descriptionSource": "mcp-authored",
|
|
26294
|
+
"destructive": false,
|
|
26295
|
+
"httpMethod": "POST",
|
|
26296
|
+
"httpPath": "/onboardpatients",
|
|
26297
|
+
"inputSchema": {
|
|
26298
|
+
"properties": {
|
|
26299
|
+
"encounter": {
|
|
26300
|
+
"description": "Encounter fields accepted by create_encounter / POST /encounters on the Patient API (status, encounter_class, type_code, reason_code, period_start, ...). patient_id and created_by are populated automatically from the newly-registered patient and the calling field agent.",
|
|
26301
|
+
"type": "object"
|
|
26302
|
+
},
|
|
26303
|
+
"patient": {
|
|
26304
|
+
"description": "first_name, last_name, email, date_of_birth required; password (auto-generated and not returned if omitted), phone, sex_at_birth optional. Same fields as register_patient / POST /auth/register on the Patient API.",
|
|
26305
|
+
"type": "object"
|
|
26306
|
+
},
|
|
26307
|
+
"questionnaire": {
|
|
26308
|
+
"description": "Either questionnaire_id (FHIR id of an existing Questionnaire) or definition (name required; title, items[] optional — same shape as create_questionnaire / POST /questionnaires on the Patient API) is required. When definition is given instead of questionnaire_id, the Questionnaire is created first and its fhir_id is used for the response — no separate create_questionnaire call is needed. status, items[] (answers) — same shape as create_questionnaire_response / POST /questionnaires/{questionnaire_id}/responses on the Patient API.",
|
|
26309
|
+
"type": "object"
|
|
26310
|
+
},
|
|
26311
|
+
"tenant_id": {
|
|
26312
|
+
"description": "Defaults to the calling field agent's own tenant",
|
|
26313
|
+
"type": "string"
|
|
26314
|
+
},
|
|
26315
|
+
"vitals": {
|
|
26316
|
+
"description": "temperature, weight_kg, height_cm, heart_rate, systolic, diastolic, oxygen_saturation — same fields as POST /patients/{patient_id}/vitals on the Vitals API.",
|
|
26317
|
+
"type": "object"
|
|
26318
|
+
}
|
|
26319
|
+
},
|
|
26320
|
+
"required": [
|
|
26321
|
+
"patient"
|
|
26322
|
+
],
|
|
26323
|
+
"type": "object"
|
|
26324
|
+
},
|
|
26325
|
+
"name": "onboard_patient",
|
|
26326
|
+
"operationId": "fieldagent.onboardPatient",
|
|
26327
|
+
"parameters": {
|
|
26328
|
+
"body": [
|
|
26329
|
+
"encounter",
|
|
26330
|
+
"patient",
|
|
26331
|
+
"questionnaire",
|
|
26332
|
+
"tenant_id",
|
|
26333
|
+
"vitals"
|
|
26334
|
+
],
|
|
26335
|
+
"path": [],
|
|
26336
|
+
"query": []
|
|
26337
|
+
},
|
|
26338
|
+
"requiredRoles": []
|
|
26339
|
+
},
|
|
26340
|
+
{
|
|
26341
|
+
"cliCommand": "refresh-field-agent-token",
|
|
26342
|
+
"description": "Renew a field agent's access token through Cognito's refresh-token flow.",
|
|
26343
|
+
"descriptionSource": "mcp-authored",
|
|
26344
|
+
"destructive": false,
|
|
26345
|
+
"httpMethod": "POST",
|
|
26346
|
+
"httpPath": "/auth/refresh",
|
|
26347
|
+
"inputSchema": {
|
|
26348
|
+
"properties": {
|
|
26349
|
+
"refresh_token": {
|
|
26350
|
+
"type": "string"
|
|
26351
|
+
},
|
|
26352
|
+
"tenant_id": {
|
|
26353
|
+
"type": "string"
|
|
26354
|
+
}
|
|
26355
|
+
},
|
|
26356
|
+
"required": [
|
|
26357
|
+
"tenant_id",
|
|
26358
|
+
"refresh_token"
|
|
26359
|
+
],
|
|
26360
|
+
"type": "object"
|
|
26361
|
+
},
|
|
26362
|
+
"name": "refresh_field_agent_token",
|
|
26363
|
+
"operationId": "fieldagent.refreshToken",
|
|
26364
|
+
"parameters": {
|
|
26365
|
+
"body": [
|
|
26366
|
+
"refresh_token",
|
|
26367
|
+
"tenant_id"
|
|
26368
|
+
],
|
|
26369
|
+
"path": [],
|
|
26370
|
+
"query": []
|
|
26371
|
+
},
|
|
26372
|
+
"requiredRoles": []
|
|
26373
|
+
},
|
|
26224
26374
|
{
|
|
26225
26375
|
"cliCommand": "register-field-agent",
|
|
26226
26376
|
"description": "Register a field agent and create the associated Cognito and FHIR Person records.",
|
|
@@ -26233,12 +26383,6 @@
|
|
|
26233
26383
|
"address": {
|
|
26234
26384
|
"type": "object"
|
|
26235
26385
|
},
|
|
26236
|
-
"addresses": {
|
|
26237
|
-
"items": {
|
|
26238
|
-
"type": "object"
|
|
26239
|
-
},
|
|
26240
|
-
"type": "array"
|
|
26241
|
-
},
|
|
26242
26386
|
"badge_number": {
|
|
26243
26387
|
"type": "string"
|
|
26244
26388
|
},
|
|
@@ -26309,7 +26453,6 @@
|
|
|
26309
26453
|
"parameters": {
|
|
26310
26454
|
"body": [
|
|
26311
26455
|
"address",
|
|
26312
|
-
"addresses",
|
|
26313
26456
|
"badge_number",
|
|
26314
26457
|
"date_of_birth",
|
|
26315
26458
|
"department",
|
|
@@ -26492,6 +26635,48 @@
|
|
|
26492
26635
|
},
|
|
26493
26636
|
"requiredRoles": []
|
|
26494
26637
|
},
|
|
26638
|
+
{
|
|
26639
|
+
"cliCommand": "upload-patient-photo",
|
|
26640
|
+
"description": "Store a base64-encoded photo, captured by the field agent, as a FHIR Binary resource for a patient.",
|
|
26641
|
+
"descriptionSource": "mcp-authored",
|
|
26642
|
+
"destructive": false,
|
|
26643
|
+
"httpMethod": "POST",
|
|
26644
|
+
"httpPath": "/patients/{patient_id}/photo",
|
|
26645
|
+
"inputSchema": {
|
|
26646
|
+
"properties": {
|
|
26647
|
+
"content_type": {
|
|
26648
|
+
"default": "image/png",
|
|
26649
|
+
"type": "string"
|
|
26650
|
+
},
|
|
26651
|
+
"data": {
|
|
26652
|
+
"description": "Base64-encoded image data",
|
|
26653
|
+
"type": "string"
|
|
26654
|
+
},
|
|
26655
|
+
"patient_id": {
|
|
26656
|
+
"description": "FHIR Patient ID",
|
|
26657
|
+
"type": "string"
|
|
26658
|
+
}
|
|
26659
|
+
},
|
|
26660
|
+
"required": [
|
|
26661
|
+
"patient_id",
|
|
26662
|
+
"data"
|
|
26663
|
+
],
|
|
26664
|
+
"type": "object"
|
|
26665
|
+
},
|
|
26666
|
+
"name": "upload_patient_photo",
|
|
26667
|
+
"operationId": "fieldagent.uploadPatientPhoto",
|
|
26668
|
+
"parameters": {
|
|
26669
|
+
"body": [
|
|
26670
|
+
"content_type",
|
|
26671
|
+
"data"
|
|
26672
|
+
],
|
|
26673
|
+
"path": [
|
|
26674
|
+
"patient_id"
|
|
26675
|
+
],
|
|
26676
|
+
"query": []
|
|
26677
|
+
},
|
|
26678
|
+
"requiredRoles": []
|
|
26679
|
+
},
|
|
26495
26680
|
{
|
|
26496
26681
|
"cliCommand": "verify-field-agent-email",
|
|
26497
26682
|
"description": "Verify a field agent's email OTP.",
|
|
@@ -28027,7 +28212,7 @@
|
|
|
28027
28212
|
"defaultBaseUrl": "https://dev-api-patient.health.cloud",
|
|
28028
28213
|
"name": "patient",
|
|
28029
28214
|
"path": "/patient",
|
|
28030
|
-
"toolCount":
|
|
28215
|
+
"toolCount": 87,
|
|
28031
28216
|
"tools": [
|
|
28032
28217
|
{
|
|
28033
28218
|
"cliCommand": "add-insurance",
|
|
@@ -28079,7 +28264,7 @@
|
|
|
28079
28264
|
},
|
|
28080
28265
|
{
|
|
28081
28266
|
"cliCommand": "add-patient-dependent",
|
|
28082
|
-
"description": "
|
|
28267
|
+
"description": "Add a family member (dependent) for the authenticated patient.",
|
|
28083
28268
|
"descriptionSource": "mcp-authored",
|
|
28084
28269
|
"destructive": false,
|
|
28085
28270
|
"httpMethod": "POST",
|
|
@@ -28087,39 +28272,35 @@
|
|
|
28087
28272
|
"inputSchema": {
|
|
28088
28273
|
"additionalProperties": true,
|
|
28089
28274
|
"properties": {
|
|
28090
|
-
"
|
|
28091
|
-
"
|
|
28092
|
-
},
|
|
28093
|
-
"birthDate": {
|
|
28275
|
+
"dob": {
|
|
28276
|
+
"description": "YYYY-MM-DD",
|
|
28094
28277
|
"format": "date",
|
|
28095
28278
|
"type": "string"
|
|
28096
28279
|
},
|
|
28097
|
-
"
|
|
28280
|
+
"first_name": {
|
|
28098
28281
|
"type": "string"
|
|
28099
28282
|
},
|
|
28100
|
-
"
|
|
28101
|
-
"
|
|
28102
|
-
"type": "object"
|
|
28103
|
-
},
|
|
28104
|
-
"type": "array"
|
|
28283
|
+
"last_name": {
|
|
28284
|
+
"type": "string"
|
|
28105
28285
|
},
|
|
28106
28286
|
"relationship": {
|
|
28107
|
-
"
|
|
28108
|
-
|
|
28109
|
-
},
|
|
28110
|
-
"type": "array"
|
|
28287
|
+
"description": "e.g. Spouse, Child, Parent, Other (case-insensitive)",
|
|
28288
|
+
"type": "string"
|
|
28111
28289
|
}
|
|
28112
28290
|
},
|
|
28291
|
+
"required": [
|
|
28292
|
+
"first_name",
|
|
28293
|
+
"last_name"
|
|
28294
|
+
],
|
|
28113
28295
|
"type": "object"
|
|
28114
28296
|
},
|
|
28115
28297
|
"name": "add_patient_dependent",
|
|
28116
28298
|
"operationId": "patient.addDependent",
|
|
28117
28299
|
"parameters": {
|
|
28118
28300
|
"body": [
|
|
28119
|
-
"
|
|
28120
|
-
"
|
|
28121
|
-
"
|
|
28122
|
-
"name",
|
|
28301
|
+
"dob",
|
|
28302
|
+
"first_name",
|
|
28303
|
+
"last_name",
|
|
28123
28304
|
"relationship"
|
|
28124
28305
|
],
|
|
28125
28306
|
"path": [],
|
|
@@ -28129,7 +28310,7 @@
|
|
|
28129
28310
|
},
|
|
28130
28311
|
{
|
|
28131
28312
|
"cliCommand": "add-patient-notification",
|
|
28132
|
-
"description": "
|
|
28313
|
+
"description": "Add a notification for the authenticated patient.",
|
|
28133
28314
|
"descriptionSource": "mcp-authored",
|
|
28134
28315
|
"destructive": false,
|
|
28135
28316
|
"httpMethod": "POST",
|
|
@@ -28137,24 +28318,25 @@
|
|
|
28137
28318
|
"inputSchema": {
|
|
28138
28319
|
"additionalProperties": true,
|
|
28139
28320
|
"properties": {
|
|
28140
|
-
"
|
|
28141
|
-
"
|
|
28142
|
-
|
|
28143
|
-
},
|
|
28144
|
-
"type": "array"
|
|
28321
|
+
"createdAt": {
|
|
28322
|
+
"format": "date-time",
|
|
28323
|
+
"type": "string"
|
|
28145
28324
|
},
|
|
28146
|
-
"
|
|
28325
|
+
"description": {
|
|
28147
28326
|
"type": "string"
|
|
28148
28327
|
},
|
|
28149
|
-
"
|
|
28150
|
-
"format": "date-time",
|
|
28328
|
+
"icon": {
|
|
28151
28329
|
"type": "string"
|
|
28152
28330
|
},
|
|
28153
|
-
"
|
|
28331
|
+
"read": {
|
|
28332
|
+
"type": "boolean"
|
|
28333
|
+
},
|
|
28334
|
+
"severity": {
|
|
28335
|
+
"description": "info, success, warning, urgent (case-insensitive)",
|
|
28154
28336
|
"type": "string"
|
|
28155
28337
|
},
|
|
28156
|
-
"
|
|
28157
|
-
"type": "
|
|
28338
|
+
"title": {
|
|
28339
|
+
"type": "string"
|
|
28158
28340
|
}
|
|
28159
28341
|
},
|
|
28160
28342
|
"type": "object"
|
|
@@ -28163,11 +28345,12 @@
|
|
|
28163
28345
|
"operationId": "patient.addNotification",
|
|
28164
28346
|
"parameters": {
|
|
28165
28347
|
"body": [
|
|
28166
|
-
"
|
|
28167
|
-
"
|
|
28168
|
-
"
|
|
28169
|
-
"
|
|
28170
|
-
"
|
|
28348
|
+
"createdAt",
|
|
28349
|
+
"description",
|
|
28350
|
+
"icon",
|
|
28351
|
+
"read",
|
|
28352
|
+
"severity",
|
|
28353
|
+
"title"
|
|
28171
28354
|
],
|
|
28172
28355
|
"path": [],
|
|
28173
28356
|
"query": []
|
|
@@ -28445,52 +28628,6 @@
|
|
|
28445
28628
|
},
|
|
28446
28629
|
"requiredRoles": []
|
|
28447
28630
|
},
|
|
28448
|
-
{
|
|
28449
|
-
"cliCommand": "create-communications-rtc-token",
|
|
28450
|
-
"description": "Mint a short-lived Agora RTC token for a channel and contact ID.",
|
|
28451
|
-
"descriptionSource": "mcp-authored",
|
|
28452
|
-
"destructive": false,
|
|
28453
|
-
"httpMethod": "POST",
|
|
28454
|
-
"httpPath": "/communications/rtc-token",
|
|
28455
|
-
"inputSchema": {
|
|
28456
|
-
"properties": {
|
|
28457
|
-
"channelName": {
|
|
28458
|
-
"type": "string"
|
|
28459
|
-
},
|
|
28460
|
-
"role": {
|
|
28461
|
-
"default": "publisher",
|
|
28462
|
-
"enum": [
|
|
28463
|
-
"publisher",
|
|
28464
|
-
"subscriber"
|
|
28465
|
-
],
|
|
28466
|
-
"type": "string"
|
|
28467
|
-
},
|
|
28468
|
-
"uid": {
|
|
28469
|
-
"type": [
|
|
28470
|
-
"string",
|
|
28471
|
-
"integer"
|
|
28472
|
-
]
|
|
28473
|
-
}
|
|
28474
|
-
},
|
|
28475
|
-
"required": [
|
|
28476
|
-
"channelName",
|
|
28477
|
-
"uid"
|
|
28478
|
-
],
|
|
28479
|
-
"type": "object"
|
|
28480
|
-
},
|
|
28481
|
-
"name": "create_communications_rtc_token",
|
|
28482
|
-
"operationId": "patient.commsRtcToken",
|
|
28483
|
-
"parameters": {
|
|
28484
|
-
"body": [
|
|
28485
|
-
"channelName",
|
|
28486
|
-
"role",
|
|
28487
|
-
"uid"
|
|
28488
|
-
],
|
|
28489
|
-
"path": [],
|
|
28490
|
-
"query": []
|
|
28491
|
-
},
|
|
28492
|
-
"requiredRoles": []
|
|
28493
|
-
},
|
|
28494
28631
|
{
|
|
28495
28632
|
"cliCommand": "create-encounter",
|
|
28496
28633
|
"description": "Create a new FHIR Encounter for a patient.",
|
|
@@ -29272,18 +29409,18 @@
|
|
|
29272
29409
|
"requiredRoles": []
|
|
29273
29410
|
},
|
|
29274
29411
|
{
|
|
29275
|
-
"cliCommand": "get-patient-
|
|
29276
|
-
"description": "Get the authenticated patient's dashboard
|
|
29412
|
+
"cliCommand": "get-patient-alerts",
|
|
29413
|
+
"description": "Get the authenticated patient's dashboard alerts. Takes no parameters; the patient is resolved from the Bearer JWT.",
|
|
29277
29414
|
"descriptionSource": "mcp-authored",
|
|
29278
29415
|
"destructive": false,
|
|
29279
29416
|
"httpMethod": "GET",
|
|
29280
|
-
"httpPath": "/patients/
|
|
29417
|
+
"httpPath": "/patients/alerts",
|
|
29281
29418
|
"inputSchema": {
|
|
29282
29419
|
"properties": {},
|
|
29283
29420
|
"type": "object"
|
|
29284
29421
|
},
|
|
29285
|
-
"name": "
|
|
29286
|
-
"operationId": "patient.
|
|
29422
|
+
"name": "get_patient_alerts",
|
|
29423
|
+
"operationId": "patient.getPatientAlerts",
|
|
29287
29424
|
"parameters": {
|
|
29288
29425
|
"body": [],
|
|
29289
29426
|
"path": [],
|
|
@@ -29292,12 +29429,52 @@
|
|
|
29292
29429
|
"requiredRoles": []
|
|
29293
29430
|
},
|
|
29294
29431
|
{
|
|
29295
|
-
"cliCommand": "get-patient-
|
|
29296
|
-
"description": "Get the complete
|
|
29432
|
+
"cliCommand": "get-patient-attributes",
|
|
29433
|
+
"description": "Get the complete arbitrary JSON attributes dictionary for the authenticated patient. Requires the caller's patient Bearer JWT; the patient is always resolved from the token.",
|
|
29297
29434
|
"descriptionSource": "mcp-authored",
|
|
29298
29435
|
"destructive": false,
|
|
29299
29436
|
"httpMethod": "GET",
|
|
29300
|
-
"httpPath": "/patients/
|
|
29437
|
+
"httpPath": "/patients/attributes",
|
|
29438
|
+
"inputSchema": {
|
|
29439
|
+
"properties": {},
|
|
29440
|
+
"type": "object"
|
|
29441
|
+
},
|
|
29442
|
+
"name": "get_patient_attributes",
|
|
29443
|
+
"operationId": "patient.getPatientAttributes",
|
|
29444
|
+
"parameters": {
|
|
29445
|
+
"body": [],
|
|
29446
|
+
"path": [],
|
|
29447
|
+
"query": []
|
|
29448
|
+
},
|
|
29449
|
+
"requiredRoles": []
|
|
29450
|
+
},
|
|
29451
|
+
{
|
|
29452
|
+
"cliCommand": "get-patient-dashboard",
|
|
29453
|
+
"description": "Get the authenticated patient's dashboard summary (recent encounters, active medications, upcoming appointments, alerts).",
|
|
29454
|
+
"descriptionSource": "mcp-authored",
|
|
29455
|
+
"destructive": false,
|
|
29456
|
+
"httpMethod": "GET",
|
|
29457
|
+
"httpPath": "/patients/dashboard",
|
|
29458
|
+
"inputSchema": {
|
|
29459
|
+
"properties": {},
|
|
29460
|
+
"type": "object"
|
|
29461
|
+
},
|
|
29462
|
+
"name": "get_patient_dashboard",
|
|
29463
|
+
"operationId": "patient.getPatientDashboard",
|
|
29464
|
+
"parameters": {
|
|
29465
|
+
"body": [],
|
|
29466
|
+
"path": [],
|
|
29467
|
+
"query": []
|
|
29468
|
+
},
|
|
29469
|
+
"requiredRoles": []
|
|
29470
|
+
},
|
|
29471
|
+
{
|
|
29472
|
+
"cliCommand": "get-patient-flags",
|
|
29473
|
+
"description": "Get the complete boolean flags dictionary for the authenticated patient, e.g. {'imported_vitals': true}. Returns an empty object for a patient with no flags set. Requires the caller's patient Bearer JWT; the patient is always resolved from the token.",
|
|
29474
|
+
"descriptionSource": "mcp-authored",
|
|
29475
|
+
"destructive": false,
|
|
29476
|
+
"httpMethod": "GET",
|
|
29477
|
+
"httpPath": "/patients/flags",
|
|
29301
29478
|
"inputSchema": {
|
|
29302
29479
|
"properties": {},
|
|
29303
29480
|
"type": "object"
|
|
@@ -29578,6 +29755,26 @@
|
|
|
29578
29755
|
},
|
|
29579
29756
|
"requiredRoles": []
|
|
29580
29757
|
},
|
|
29758
|
+
{
|
|
29759
|
+
"cliCommand": "init-patient-health-record-import",
|
|
29760
|
+
"description": "Start the authenticated patient's health-record import from Zus (recognizes the patient from the JWT and kicks off the external pull). Takes no parameters.",
|
|
29761
|
+
"descriptionSource": "mcp-authored",
|
|
29762
|
+
"destructive": false,
|
|
29763
|
+
"httpMethod": "POST",
|
|
29764
|
+
"httpPath": "/patients/health-record/initimport",
|
|
29765
|
+
"inputSchema": {
|
|
29766
|
+
"properties": {},
|
|
29767
|
+
"type": "object"
|
|
29768
|
+
},
|
|
29769
|
+
"name": "init_patient_health_record_import",
|
|
29770
|
+
"operationId": "patient.initHealthRecordImport",
|
|
29771
|
+
"parameters": {
|
|
29772
|
+
"body": [],
|
|
29773
|
+
"path": [],
|
|
29774
|
+
"query": []
|
|
29775
|
+
},
|
|
29776
|
+
"requiredRoles": []
|
|
29777
|
+
},
|
|
29581
29778
|
{
|
|
29582
29779
|
"cliCommand": "list-assistant-actions",
|
|
29583
29780
|
"description": "List action IDs that the assistant may suggest.",
|
|
@@ -29882,7 +30079,7 @@
|
|
|
29882
30079
|
},
|
|
29883
30080
|
{
|
|
29884
30081
|
"cliCommand": "list-patient-notifications",
|
|
29885
|
-
"description": "List
|
|
30082
|
+
"description": "List notifications for the authenticated patient.",
|
|
29886
30083
|
"descriptionSource": "mcp-authored",
|
|
29887
30084
|
"destructive": false,
|
|
29888
30085
|
"httpMethod": "GET",
|
|
@@ -29981,6 +30178,40 @@
|
|
|
29981
30178
|
},
|
|
29982
30179
|
"requiredRoles": []
|
|
29983
30180
|
},
|
|
30181
|
+
{
|
|
30182
|
+
"cliCommand": "refresh-patient-token",
|
|
30183
|
+
"description": "Renew a patient's access token through Cognito's refresh-token flow.",
|
|
30184
|
+
"descriptionSource": "mcp-authored",
|
|
30185
|
+
"destructive": false,
|
|
30186
|
+
"httpMethod": "POST",
|
|
30187
|
+
"httpPath": "/auth/refresh",
|
|
30188
|
+
"inputSchema": {
|
|
30189
|
+
"properties": {
|
|
30190
|
+
"refresh_token": {
|
|
30191
|
+
"type": "string"
|
|
30192
|
+
},
|
|
30193
|
+
"tenant_id": {
|
|
30194
|
+
"type": "string"
|
|
30195
|
+
}
|
|
30196
|
+
},
|
|
30197
|
+
"required": [
|
|
30198
|
+
"tenant_id",
|
|
30199
|
+
"refresh_token"
|
|
30200
|
+
],
|
|
30201
|
+
"type": "object"
|
|
30202
|
+
},
|
|
30203
|
+
"name": "refresh_patient_token",
|
|
30204
|
+
"operationId": "patient.refreshToken",
|
|
30205
|
+
"parameters": {
|
|
30206
|
+
"body": [
|
|
30207
|
+
"refresh_token",
|
|
30208
|
+
"tenant_id"
|
|
30209
|
+
],
|
|
30210
|
+
"path": [],
|
|
30211
|
+
"query": []
|
|
30212
|
+
},
|
|
30213
|
+
"requiredRoles": []
|
|
30214
|
+
},
|
|
29984
30215
|
{
|
|
29985
30216
|
"cliCommand": "register-patient",
|
|
29986
30217
|
"description": "Register a patient account and create its FHIR Patient record.",
|
|
@@ -29999,6 +30230,11 @@
|
|
|
29999
30230
|
},
|
|
30000
30231
|
"type": "array"
|
|
30001
30232
|
},
|
|
30233
|
+
"attributes": {
|
|
30234
|
+
"additionalProperties": {},
|
|
30235
|
+
"description": "Arbitrary JSON-compatible metadata stored on the initial FHIR Patient resource.",
|
|
30236
|
+
"type": "object"
|
|
30237
|
+
},
|
|
30002
30238
|
"created_by": {
|
|
30003
30239
|
"type": "string"
|
|
30004
30240
|
},
|
|
@@ -30013,6 +30249,13 @@
|
|
|
30013
30249
|
"first_name": {
|
|
30014
30250
|
"type": "string"
|
|
30015
30251
|
},
|
|
30252
|
+
"flags": {
|
|
30253
|
+
"additionalProperties": {
|
|
30254
|
+
"type": "boolean"
|
|
30255
|
+
},
|
|
30256
|
+
"description": "Optional feature flags. Recognized key: AUTO_VERIFY_EMAIL — if true, skips email OTP verification and auto-logs the patient in.",
|
|
30257
|
+
"type": "object"
|
|
30258
|
+
},
|
|
30016
30259
|
"last_name": {
|
|
30017
30260
|
"type": "string"
|
|
30018
30261
|
},
|
|
@@ -30065,10 +30308,12 @@
|
|
|
30065
30308
|
"body": [
|
|
30066
30309
|
"address",
|
|
30067
30310
|
"addresses",
|
|
30311
|
+
"attributes",
|
|
30068
30312
|
"created_by",
|
|
30069
30313
|
"date_of_birth",
|
|
30070
30314
|
"email",
|
|
30071
30315
|
"first_name",
|
|
30316
|
+
"flags",
|
|
30072
30317
|
"last_name",
|
|
30073
30318
|
"password",
|
|
30074
30319
|
"phone",
|
|
@@ -30479,9 +30724,31 @@
|
|
|
30479
30724
|
},
|
|
30480
30725
|
"requiredRoles": []
|
|
30481
30726
|
},
|
|
30727
|
+
{
|
|
30728
|
+
"cliCommand": "update-patient-attributes",
|
|
30729
|
+
"description": "Partially update the authenticated patient's arbitrary JSON attributes. Values may be strings, booleans, numbers, null, arrays, or nested objects. The update is merged with existing attributes and the complete dictionary is returned.",
|
|
30730
|
+
"descriptionSource": "mcp-authored",
|
|
30731
|
+
"destructive": false,
|
|
30732
|
+
"httpMethod": "PATCH",
|
|
30733
|
+
"httpPath": "/patients/attributes",
|
|
30734
|
+
"inputSchema": {
|
|
30735
|
+
"additionalProperties": true,
|
|
30736
|
+
"minProperties": 1,
|
|
30737
|
+
"properties": {},
|
|
30738
|
+
"type": "object"
|
|
30739
|
+
},
|
|
30740
|
+
"name": "update_patient_attributes",
|
|
30741
|
+
"operationId": "patient.updatePatientAttributes",
|
|
30742
|
+
"parameters": {
|
|
30743
|
+
"body": [],
|
|
30744
|
+
"path": [],
|
|
30745
|
+
"query": []
|
|
30746
|
+
},
|
|
30747
|
+
"requiredRoles": []
|
|
30748
|
+
},
|
|
30482
30749
|
{
|
|
30483
30750
|
"cliCommand": "update-patient-dependent",
|
|
30484
|
-
"description": "Update a
|
|
30751
|
+
"description": "Update a family member (dependent) of the authenticated patient.",
|
|
30485
30752
|
"descriptionSource": "mcp-authored",
|
|
30486
30753
|
"destructive": false,
|
|
30487
30754
|
"httpMethod": "PUT",
|
|
@@ -30489,30 +30756,23 @@
|
|
|
30489
30756
|
"inputSchema": {
|
|
30490
30757
|
"additionalProperties": true,
|
|
30491
30758
|
"properties": {
|
|
30492
|
-
"
|
|
30493
|
-
"type": "
|
|
30759
|
+
"dependent_id": {
|
|
30760
|
+
"type": "string"
|
|
30494
30761
|
},
|
|
30495
|
-
"
|
|
30762
|
+
"dob": {
|
|
30763
|
+
"description": "YYYY-MM-DD",
|
|
30496
30764
|
"format": "date",
|
|
30497
30765
|
"type": "string"
|
|
30498
30766
|
},
|
|
30499
|
-
"
|
|
30767
|
+
"first_name": {
|
|
30500
30768
|
"type": "string"
|
|
30501
30769
|
},
|
|
30502
|
-
"
|
|
30770
|
+
"last_name": {
|
|
30503
30771
|
"type": "string"
|
|
30504
30772
|
},
|
|
30505
|
-
"name": {
|
|
30506
|
-
"items": {
|
|
30507
|
-
"type": "object"
|
|
30508
|
-
},
|
|
30509
|
-
"type": "array"
|
|
30510
|
-
},
|
|
30511
30773
|
"relationship": {
|
|
30512
|
-
"
|
|
30513
|
-
|
|
30514
|
-
},
|
|
30515
|
-
"type": "array"
|
|
30774
|
+
"description": "e.g. Spouse, Child, Parent, Other (case-insensitive)",
|
|
30775
|
+
"type": "string"
|
|
30516
30776
|
}
|
|
30517
30777
|
},
|
|
30518
30778
|
"required": [
|
|
@@ -30524,10 +30784,9 @@
|
|
|
30524
30784
|
"operationId": "patient.updateDependent",
|
|
30525
30785
|
"parameters": {
|
|
30526
30786
|
"body": [
|
|
30527
|
-
"
|
|
30528
|
-
"
|
|
30529
|
-
"
|
|
30530
|
-
"name",
|
|
30787
|
+
"dob",
|
|
30788
|
+
"first_name",
|
|
30789
|
+
"last_name",
|
|
30531
30790
|
"relationship"
|
|
30532
30791
|
],
|
|
30533
30792
|
"path": [
|
|
@@ -30562,7 +30821,7 @@
|
|
|
30562
30821
|
},
|
|
30563
30822
|
{
|
|
30564
30823
|
"cliCommand": "update-patient-notification",
|
|
30565
|
-
"description": "Update a
|
|
30824
|
+
"description": "Update a notification for the authenticated patient (partial merge — e.g. {\"read\": true}).",
|
|
30566
30825
|
"descriptionSource": "mcp-authored",
|
|
30567
30826
|
"destructive": false,
|
|
30568
30827
|
"httpMethod": "PUT",
|
|
@@ -30570,27 +30829,28 @@
|
|
|
30570
30829
|
"inputSchema": {
|
|
30571
30830
|
"additionalProperties": true,
|
|
30572
30831
|
"properties": {
|
|
30573
|
-
"
|
|
30832
|
+
"createdAt": {
|
|
30833
|
+
"format": "date-time",
|
|
30574
30834
|
"type": "string"
|
|
30575
30835
|
},
|
|
30576
|
-
"
|
|
30577
|
-
"
|
|
30578
|
-
"type": "object"
|
|
30579
|
-
},
|
|
30580
|
-
"type": "array"
|
|
30836
|
+
"description": {
|
|
30837
|
+
"type": "string"
|
|
30581
30838
|
},
|
|
30582
|
-
"
|
|
30839
|
+
"icon": {
|
|
30583
30840
|
"type": "string"
|
|
30584
30841
|
},
|
|
30585
|
-
"
|
|
30586
|
-
"format": "date-time",
|
|
30842
|
+
"notification_id": {
|
|
30587
30843
|
"type": "string"
|
|
30588
30844
|
},
|
|
30589
|
-
"
|
|
30845
|
+
"read": {
|
|
30846
|
+
"type": "boolean"
|
|
30847
|
+
},
|
|
30848
|
+
"severity": {
|
|
30849
|
+
"description": "info, success, warning, urgent (case-insensitive)",
|
|
30590
30850
|
"type": "string"
|
|
30591
30851
|
},
|
|
30592
|
-
"
|
|
30593
|
-
"type": "
|
|
30852
|
+
"title": {
|
|
30853
|
+
"type": "string"
|
|
30594
30854
|
}
|
|
30595
30855
|
},
|
|
30596
30856
|
"required": [
|
|
@@ -30602,11 +30862,12 @@
|
|
|
30602
30862
|
"operationId": "patient.updateNotification",
|
|
30603
30863
|
"parameters": {
|
|
30604
30864
|
"body": [
|
|
30605
|
-
"
|
|
30606
|
-
"
|
|
30607
|
-
"
|
|
30608
|
-
"
|
|
30609
|
-
"
|
|
30865
|
+
"createdAt",
|
|
30866
|
+
"description",
|
|
30867
|
+
"icon",
|
|
30868
|
+
"read",
|
|
30869
|
+
"severity",
|
|
30870
|
+
"title"
|
|
30610
30871
|
],
|
|
30611
30872
|
"path": [
|
|
30612
30873
|
"notification_id"
|
|
@@ -31123,7 +31384,7 @@
|
|
|
31123
31384
|
"defaultBaseUrl": "https://dev-api-person.health.cloud",
|
|
31124
31385
|
"name": "person",
|
|
31125
31386
|
"path": "/person",
|
|
31126
|
-
"toolCount":
|
|
31387
|
+
"toolCount": 14,
|
|
31127
31388
|
"tools": [
|
|
31128
31389
|
{
|
|
31129
31390
|
"cliCommand": "confirm-person-password-reset",
|
|
@@ -31201,6 +31462,36 @@
|
|
|
31201
31462
|
},
|
|
31202
31463
|
"requiredRoles": []
|
|
31203
31464
|
},
|
|
31465
|
+
{
|
|
31466
|
+
"cliCommand": "get-person-attributes",
|
|
31467
|
+
"description": "Get the complete arbitrary JSON attributes dictionary for a Person.",
|
|
31468
|
+
"descriptionSource": "mcp-authored",
|
|
31469
|
+
"destructive": false,
|
|
31470
|
+
"httpMethod": "GET",
|
|
31471
|
+
"httpPath": "/persons/{person_id}/attributes",
|
|
31472
|
+
"inputSchema": {
|
|
31473
|
+
"properties": {
|
|
31474
|
+
"person_id": {
|
|
31475
|
+
"description": "FHIR Person resource ID",
|
|
31476
|
+
"type": "string"
|
|
31477
|
+
}
|
|
31478
|
+
},
|
|
31479
|
+
"required": [
|
|
31480
|
+
"person_id"
|
|
31481
|
+
],
|
|
31482
|
+
"type": "object"
|
|
31483
|
+
},
|
|
31484
|
+
"name": "get_person_attributes",
|
|
31485
|
+
"operationId": "person.getPersonAttributes",
|
|
31486
|
+
"parameters": {
|
|
31487
|
+
"body": [],
|
|
31488
|
+
"path": [
|
|
31489
|
+
"person_id"
|
|
31490
|
+
],
|
|
31491
|
+
"query": []
|
|
31492
|
+
},
|
|
31493
|
+
"requiredRoles": []
|
|
31494
|
+
},
|
|
31204
31495
|
{
|
|
31205
31496
|
"cliCommand": "get-person-photo",
|
|
31206
31497
|
"description": "Retrieve the Person's FHIR Binary photo resource.",
|
|
@@ -31319,11 +31610,10 @@
|
|
|
31319
31610
|
"address": {
|
|
31320
31611
|
"type": "object"
|
|
31321
31612
|
},
|
|
31322
|
-
"
|
|
31323
|
-
"
|
|
31324
|
-
|
|
31325
|
-
|
|
31326
|
-
"type": "array"
|
|
31613
|
+
"attributes": {
|
|
31614
|
+
"additionalProperties": true,
|
|
31615
|
+
"description": "Arbitrary JSON-compatible metadata stored during registration.",
|
|
31616
|
+
"type": "object"
|
|
31327
31617
|
},
|
|
31328
31618
|
"date_of_birth": {
|
|
31329
31619
|
"format": "date",
|
|
@@ -31402,7 +31692,7 @@
|
|
|
31402
31692
|
"parameters": {
|
|
31403
31693
|
"body": [
|
|
31404
31694
|
"address",
|
|
31405
|
-
"
|
|
31695
|
+
"attributes",
|
|
31406
31696
|
"date_of_birth",
|
|
31407
31697
|
"email",
|
|
31408
31698
|
"first_name",
|
|
@@ -31534,6 +31824,38 @@
|
|
|
31534
31824
|
},
|
|
31535
31825
|
"requiredRoles": []
|
|
31536
31826
|
},
|
|
31827
|
+
{
|
|
31828
|
+
"cliCommand": "update-person-attributes",
|
|
31829
|
+
"description": "Merge arbitrary JSON attributes into a Person and return the complete updated attributes dictionary. Pass person_id plus each attribute as an additional top-level argument.",
|
|
31830
|
+
"descriptionSource": "mcp-authored",
|
|
31831
|
+
"destructive": false,
|
|
31832
|
+
"httpMethod": "PATCH",
|
|
31833
|
+
"httpPath": "/persons/{person_id}/attributes",
|
|
31834
|
+
"inputSchema": {
|
|
31835
|
+
"additionalProperties": true,
|
|
31836
|
+
"minProperties": 2,
|
|
31837
|
+
"properties": {
|
|
31838
|
+
"person_id": {
|
|
31839
|
+
"description": "FHIR Person resource ID",
|
|
31840
|
+
"type": "string"
|
|
31841
|
+
}
|
|
31842
|
+
},
|
|
31843
|
+
"required": [
|
|
31844
|
+
"person_id"
|
|
31845
|
+
],
|
|
31846
|
+
"type": "object"
|
|
31847
|
+
},
|
|
31848
|
+
"name": "update_person_attributes",
|
|
31849
|
+
"operationId": "person.updatePersonAttributes",
|
|
31850
|
+
"parameters": {
|
|
31851
|
+
"body": [],
|
|
31852
|
+
"path": [
|
|
31853
|
+
"person_id"
|
|
31854
|
+
],
|
|
31855
|
+
"query": []
|
|
31856
|
+
},
|
|
31857
|
+
"requiredRoles": []
|
|
31858
|
+
},
|
|
31537
31859
|
{
|
|
31538
31860
|
"cliCommand": "update-person-phone",
|
|
31539
31861
|
"description": "Update the Person's phone number and send an SMS OTP verification.",
|
|
@@ -31893,12 +32215,6 @@
|
|
|
31893
32215
|
"address": {
|
|
31894
32216
|
"type": "object"
|
|
31895
32217
|
},
|
|
31896
|
-
"addresses": {
|
|
31897
|
-
"items": {
|
|
31898
|
-
"type": "object"
|
|
31899
|
-
},
|
|
31900
|
-
"type": "array"
|
|
31901
|
-
},
|
|
31902
32218
|
"date_of_birth": {
|
|
31903
32219
|
"format": "date",
|
|
31904
32220
|
"type": "string"
|
|
@@ -32138,7 +32454,6 @@
|
|
|
32138
32454
|
"parameters": {
|
|
32139
32455
|
"body": [
|
|
32140
32456
|
"address",
|
|
32141
|
-
"addresses",
|
|
32142
32457
|
"date_of_birth",
|
|
32143
32458
|
"department",
|
|
32144
32459
|
"education_credentials",
|
|
@@ -32448,7 +32763,7 @@
|
|
|
32448
32763
|
"defaultBaseUrl": "https://dev-api-telehealth.health.cloud",
|
|
32449
32764
|
"name": "telehealth",
|
|
32450
32765
|
"path": "/telehealth",
|
|
32451
|
-
"toolCount":
|
|
32766
|
+
"toolCount": 3,
|
|
32452
32767
|
"tools": [
|
|
32453
32768
|
{
|
|
32454
32769
|
"cliCommand": "create-channel",
|
|
@@ -32555,55 +32870,6 @@
|
|
|
32555
32870
|
"query": []
|
|
32556
32871
|
},
|
|
32557
32872
|
"requiredRoles": []
|
|
32558
|
-
},
|
|
32559
|
-
{
|
|
32560
|
-
"cliCommand": "fetch-rtc-token",
|
|
32561
|
-
"description": "Mint an Agora RTC token through the legacy telehealth endpoint.",
|
|
32562
|
-
"descriptionSource": "mcp-authored",
|
|
32563
|
-
"destructive": false,
|
|
32564
|
-
"httpMethod": "POST",
|
|
32565
|
-
"httpPath": "/fetch_rtc_token",
|
|
32566
|
-
"inputSchema": {
|
|
32567
|
-
"properties": {
|
|
32568
|
-
"channel_name": {
|
|
32569
|
-
"description": "Agora channel name",
|
|
32570
|
-
"type": "string"
|
|
32571
|
-
},
|
|
32572
|
-
"role": {
|
|
32573
|
-
"description": "Agora RTC role value",
|
|
32574
|
-
"type": "integer"
|
|
32575
|
-
},
|
|
32576
|
-
"uid": {
|
|
32577
|
-
"anyOf": [
|
|
32578
|
-
{
|
|
32579
|
-
"type": "integer"
|
|
32580
|
-
},
|
|
32581
|
-
{
|
|
32582
|
-
"type": "string"
|
|
32583
|
-
}
|
|
32584
|
-
],
|
|
32585
|
-
"description": "Agora user ID as an integer or numeric string"
|
|
32586
|
-
}
|
|
32587
|
-
},
|
|
32588
|
-
"required": [
|
|
32589
|
-
"channel_name",
|
|
32590
|
-
"uid",
|
|
32591
|
-
"role"
|
|
32592
|
-
],
|
|
32593
|
-
"type": "object"
|
|
32594
|
-
},
|
|
32595
|
-
"name": "fetch_rtc_token",
|
|
32596
|
-
"operationId": "telehealth.fetchRtcToken",
|
|
32597
|
-
"parameters": {
|
|
32598
|
-
"body": [
|
|
32599
|
-
"channel_name",
|
|
32600
|
-
"role",
|
|
32601
|
-
"uid"
|
|
32602
|
-
],
|
|
32603
|
-
"path": [],
|
|
32604
|
-
"query": []
|
|
32605
|
-
},
|
|
32606
|
-
"requiredRoles": []
|
|
32607
32873
|
}
|
|
32608
32874
|
]
|
|
32609
32875
|
},
|
|
@@ -32612,7 +32878,7 @@
|
|
|
32612
32878
|
"defaultBaseUrl": "https://dev-api-tenantadmin.health.cloud",
|
|
32613
32879
|
"name": "tenantadmin",
|
|
32614
32880
|
"path": "/tenantadmin",
|
|
32615
|
-
"toolCount":
|
|
32881
|
+
"toolCount": 17,
|
|
32616
32882
|
"tools": [
|
|
32617
32883
|
{
|
|
32618
32884
|
"cliCommand": "confirm-tenant-admin-password-reset",
|
|
@@ -32761,6 +33027,26 @@
|
|
|
32761
33027
|
},
|
|
32762
33028
|
"requiredRoles": []
|
|
32763
33029
|
},
|
|
33030
|
+
{
|
|
33031
|
+
"cliCommand": "list-admins",
|
|
33032
|
+
"description": "List Tenant Admin profiles for the authenticated administrator's own tenant; tenant identity is resolved from the Bearer JWT.",
|
|
33033
|
+
"descriptionSource": "mcp-authored",
|
|
33034
|
+
"destructive": false,
|
|
33035
|
+
"httpMethod": "GET",
|
|
33036
|
+
"httpPath": "/tenant-admins",
|
|
33037
|
+
"inputSchema": {
|
|
33038
|
+
"properties": {},
|
|
33039
|
+
"type": "object"
|
|
33040
|
+
},
|
|
33041
|
+
"name": "list_admins",
|
|
33042
|
+
"operationId": "tenantadmin.listAdmins",
|
|
33043
|
+
"parameters": {
|
|
33044
|
+
"body": [],
|
|
33045
|
+
"path": [],
|
|
33046
|
+
"query": []
|
|
33047
|
+
},
|
|
33048
|
+
"requiredRoles": []
|
|
33049
|
+
},
|
|
32764
33050
|
{
|
|
32765
33051
|
"cliCommand": "list-m2m-tokens",
|
|
32766
33052
|
"description": "List M2M tokens created by the authenticated tenant administrator.",
|
|
@@ -32857,13 +33143,30 @@
|
|
|
32857
33143
|
},
|
|
32858
33144
|
{
|
|
32859
33145
|
"cliCommand": "register-tenant",
|
|
32860
|
-
"description": "Create a tenant/account
|
|
33146
|
+
"description": "Create a tenant/account, provision its Cognito pools (patient, provider, person, tenantadmin), and create the tenant's first (primary) Tenant Admin user. An email verification OTP is sent to the admin's email, same as register_tenant_admin.",
|
|
32861
33147
|
"descriptionSource": "mcp-authored",
|
|
32862
33148
|
"destructive": false,
|
|
32863
33149
|
"httpMethod": "POST",
|
|
32864
33150
|
"httpPath": "/tenants/register",
|
|
32865
33151
|
"inputSchema": {
|
|
32866
33152
|
"properties": {
|
|
33153
|
+
"admin_email": {
|
|
33154
|
+
"format": "email",
|
|
33155
|
+
"type": "string"
|
|
33156
|
+
},
|
|
33157
|
+
"admin_first_name": {
|
|
33158
|
+
"type": "string"
|
|
33159
|
+
},
|
|
33160
|
+
"admin_last_name": {
|
|
33161
|
+
"type": "string"
|
|
33162
|
+
},
|
|
33163
|
+
"admin_password": {
|
|
33164
|
+
"minLength": 8,
|
|
33165
|
+
"type": "string"
|
|
33166
|
+
},
|
|
33167
|
+
"admin_phone": {
|
|
33168
|
+
"type": "string"
|
|
33169
|
+
},
|
|
32867
33170
|
"contact_email": {
|
|
32868
33171
|
"format": "email",
|
|
32869
33172
|
"type": "string"
|
|
@@ -32881,7 +33184,11 @@
|
|
|
32881
33184
|
},
|
|
32882
33185
|
"required": [
|
|
32883
33186
|
"tenant_id",
|
|
32884
|
-
"name"
|
|
33187
|
+
"name",
|
|
33188
|
+
"admin_first_name",
|
|
33189
|
+
"admin_last_name",
|
|
33190
|
+
"admin_email",
|
|
33191
|
+
"admin_password"
|
|
32885
33192
|
],
|
|
32886
33193
|
"type": "object"
|
|
32887
33194
|
},
|
|
@@ -32889,6 +33196,11 @@
|
|
|
32889
33196
|
"operationId": "tenantadmin.registerTenant",
|
|
32890
33197
|
"parameters": {
|
|
32891
33198
|
"body": [
|
|
33199
|
+
"admin_email",
|
|
33200
|
+
"admin_first_name",
|
|
33201
|
+
"admin_last_name",
|
|
33202
|
+
"admin_password",
|
|
33203
|
+
"admin_phone",
|
|
32892
33204
|
"contact_email",
|
|
32893
33205
|
"contact_phone",
|
|
32894
33206
|
"name",
|
|
@@ -32979,6 +33291,41 @@
|
|
|
32979
33291
|
},
|
|
32980
33292
|
"requiredRoles": []
|
|
32981
33293
|
},
|
|
33294
|
+
{
|
|
33295
|
+
"cliCommand": "resend-verification-code",
|
|
33296
|
+
"description": "Issue a fresh email-verification OTP for a tenant administrator whose email is not yet verified.",
|
|
33297
|
+
"descriptionSource": "mcp-authored",
|
|
33298
|
+
"destructive": false,
|
|
33299
|
+
"httpMethod": "POST",
|
|
33300
|
+
"httpPath": "/auth/resend-verification-code",
|
|
33301
|
+
"inputSchema": {
|
|
33302
|
+
"properties": {
|
|
33303
|
+
"email": {
|
|
33304
|
+
"format": "email",
|
|
33305
|
+
"type": "string"
|
|
33306
|
+
},
|
|
33307
|
+
"tenant_id": {
|
|
33308
|
+
"type": "string"
|
|
33309
|
+
}
|
|
33310
|
+
},
|
|
33311
|
+
"required": [
|
|
33312
|
+
"email",
|
|
33313
|
+
"tenant_id"
|
|
33314
|
+
],
|
|
33315
|
+
"type": "object"
|
|
33316
|
+
},
|
|
33317
|
+
"name": "resend_verification_code",
|
|
33318
|
+
"operationId": "tenantadmin.resendVerificationCode",
|
|
33319
|
+
"parameters": {
|
|
33320
|
+
"body": [
|
|
33321
|
+
"email",
|
|
33322
|
+
"tenant_id"
|
|
33323
|
+
],
|
|
33324
|
+
"path": [],
|
|
33325
|
+
"query": []
|
|
33326
|
+
},
|
|
33327
|
+
"requiredRoles": []
|
|
33328
|
+
},
|
|
32982
33329
|
{
|
|
32983
33330
|
"cliCommand": "reset-tenant-admin-password",
|
|
32984
33331
|
"description": "Initiate the Cognito password-reset flow for a tenant administrator.",
|
|
@@ -33314,7 +33661,7 @@
|
|
|
33314
33661
|
"protocolVersion": "2024-11-05",
|
|
33315
33662
|
"schemaVersion": 1,
|
|
33316
33663
|
"source": {
|
|
33317
|
-
"catalogSha256": "
|
|
33664
|
+
"catalogSha256": "d8129bf897222653c4f065ed15881f0a17dbd2c7b5e8c9a18e554321413e8b1f"
|
|
33318
33665
|
},
|
|
33319
|
-
"toolCount":
|
|
33666
|
+
"toolCount": 1014
|
|
33320
33667
|
}
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "healthcloud-cli"
|
|
7
|
-
version = "2.
|
|
7
|
+
version = "2.1.0"
|
|
8
8
|
description = "Command-line interface for the HealthCloud MCP gateway, generated from the shared MCP tool manifest."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|