healthcloud-cli 2.0.1__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.1 → healthcloud_cli-2.1.0}/PKG-INFO +1 -1
- {healthcloud_cli-2.0.1 → healthcloud_cli-2.1.0}/healthcloud_cli/contracts/mcp-tools.manifest.json +238 -6
- {healthcloud_cli-2.0.1 → healthcloud_cli-2.1.0}/pyproject.toml +1 -1
- {healthcloud_cli-2.0.1 → healthcloud_cli-2.1.0}/.gitignore +0 -0
- {healthcloud_cli-2.0.1 → healthcloud_cli-2.1.0}/README.md +0 -0
- {healthcloud_cli-2.0.1 → healthcloud_cli-2.1.0}/hatch_build.py +0 -0
- {healthcloud_cli-2.0.1 → healthcloud_cli-2.1.0}/healthcloud_cli/__init__.py +0 -0
- {healthcloud_cli-2.0.1 → healthcloud_cli-2.1.0}/healthcloud_cli/cli.py +0 -0
- {healthcloud_cli-2.0.1 → healthcloud_cli-2.1.0}/healthcloud_cli/context.py +0 -0
- {healthcloud_cli-2.0.1 → healthcloud_cli-2.1.0}/healthcloud_cli/contracts/__init__.py +0 -0
- {healthcloud_cli-2.0.1 → healthcloud_cli-2.1.0}/healthcloud_cli/main.py +0 -0
- {healthcloud_cli-2.0.1 → healthcloud_cli-2.1.0}/healthcloud_cli/manifest.py +0 -0
- {healthcloud_cli-2.0.1 → healthcloud_cli-2.1.0}/healthcloud_cli/output.py +0 -0
- {healthcloud_cli-2.0.1 → healthcloud_cli-2.1.0}/healthcloud_cli/params.py +0 -0
- {healthcloud_cli-2.0.1 → healthcloud_cli-2.1.0}/healthcloud_cli/util.py +0 -0
- {healthcloud_cli-2.0.1 → healthcloud_cli-2.1.0}/scripts/__init__.py +0 -0
- {healthcloud_cli-2.0.1 → healthcloud_cli-2.1.0}/scripts/bundle_manifest.py +0 -0
{healthcloud_cli-2.0.1 → 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",
|
|
@@ -26305,7 +26305,7 @@
|
|
|
26305
26305
|
"type": "object"
|
|
26306
26306
|
},
|
|
26307
26307
|
"questionnaire": {
|
|
26308
|
-
"description": "questionnaire_id (required), status, items[] — same shape as create_questionnaire_response / POST /questionnaires/{questionnaire_id}/responses on the Patient API.",
|
|
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
26309
|
"type": "object"
|
|
26310
26310
|
},
|
|
26311
26311
|
"tenant_id": {
|
|
@@ -26337,6 +26337,40 @@
|
|
|
26337
26337
|
},
|
|
26338
26338
|
"requiredRoles": []
|
|
26339
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
|
+
},
|
|
26340
26374
|
{
|
|
26341
26375
|
"cliCommand": "register-field-agent",
|
|
26342
26376
|
"description": "Register a field agent and create the associated Cognito and FHIR Person records.",
|
|
@@ -28178,7 +28212,7 @@
|
|
|
28178
28212
|
"defaultBaseUrl": "https://dev-api-patient.health.cloud",
|
|
28179
28213
|
"name": "patient",
|
|
28180
28214
|
"path": "/patient",
|
|
28181
|
-
"toolCount":
|
|
28215
|
+
"toolCount": 87,
|
|
28182
28216
|
"tools": [
|
|
28183
28217
|
{
|
|
28184
28218
|
"cliCommand": "add-insurance",
|
|
@@ -29374,6 +29408,46 @@
|
|
|
29374
29408
|
},
|
|
29375
29409
|
"requiredRoles": []
|
|
29376
29410
|
},
|
|
29411
|
+
{
|
|
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.",
|
|
29414
|
+
"descriptionSource": "mcp-authored",
|
|
29415
|
+
"destructive": false,
|
|
29416
|
+
"httpMethod": "GET",
|
|
29417
|
+
"httpPath": "/patients/alerts",
|
|
29418
|
+
"inputSchema": {
|
|
29419
|
+
"properties": {},
|
|
29420
|
+
"type": "object"
|
|
29421
|
+
},
|
|
29422
|
+
"name": "get_patient_alerts",
|
|
29423
|
+
"operationId": "patient.getPatientAlerts",
|
|
29424
|
+
"parameters": {
|
|
29425
|
+
"body": [],
|
|
29426
|
+
"path": [],
|
|
29427
|
+
"query": []
|
|
29428
|
+
},
|
|
29429
|
+
"requiredRoles": []
|
|
29430
|
+
},
|
|
29431
|
+
{
|
|
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.",
|
|
29434
|
+
"descriptionSource": "mcp-authored",
|
|
29435
|
+
"destructive": false,
|
|
29436
|
+
"httpMethod": "GET",
|
|
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
|
+
},
|
|
29377
29451
|
{
|
|
29378
29452
|
"cliCommand": "get-patient-dashboard",
|
|
29379
29453
|
"description": "Get the authenticated patient's dashboard summary (recent encounters, active medications, upcoming appointments, alerts).",
|
|
@@ -29681,6 +29755,26 @@
|
|
|
29681
29755
|
},
|
|
29682
29756
|
"requiredRoles": []
|
|
29683
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
|
+
},
|
|
29684
29778
|
{
|
|
29685
29779
|
"cliCommand": "list-assistant-actions",
|
|
29686
29780
|
"description": "List action IDs that the assistant may suggest.",
|
|
@@ -30084,6 +30178,40 @@
|
|
|
30084
30178
|
},
|
|
30085
30179
|
"requiredRoles": []
|
|
30086
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
|
+
},
|
|
30087
30215
|
{
|
|
30088
30216
|
"cliCommand": "register-patient",
|
|
30089
30217
|
"description": "Register a patient account and create its FHIR Patient record.",
|
|
@@ -30102,6 +30230,11 @@
|
|
|
30102
30230
|
},
|
|
30103
30231
|
"type": "array"
|
|
30104
30232
|
},
|
|
30233
|
+
"attributes": {
|
|
30234
|
+
"additionalProperties": {},
|
|
30235
|
+
"description": "Arbitrary JSON-compatible metadata stored on the initial FHIR Patient resource.",
|
|
30236
|
+
"type": "object"
|
|
30237
|
+
},
|
|
30105
30238
|
"created_by": {
|
|
30106
30239
|
"type": "string"
|
|
30107
30240
|
},
|
|
@@ -30116,6 +30249,13 @@
|
|
|
30116
30249
|
"first_name": {
|
|
30117
30250
|
"type": "string"
|
|
30118
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
|
+
},
|
|
30119
30259
|
"last_name": {
|
|
30120
30260
|
"type": "string"
|
|
30121
30261
|
},
|
|
@@ -30168,10 +30308,12 @@
|
|
|
30168
30308
|
"body": [
|
|
30169
30309
|
"address",
|
|
30170
30310
|
"addresses",
|
|
30311
|
+
"attributes",
|
|
30171
30312
|
"created_by",
|
|
30172
30313
|
"date_of_birth",
|
|
30173
30314
|
"email",
|
|
30174
30315
|
"first_name",
|
|
30316
|
+
"flags",
|
|
30175
30317
|
"last_name",
|
|
30176
30318
|
"password",
|
|
30177
30319
|
"phone",
|
|
@@ -30582,6 +30724,28 @@
|
|
|
30582
30724
|
},
|
|
30583
30725
|
"requiredRoles": []
|
|
30584
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
|
+
},
|
|
30585
30749
|
{
|
|
30586
30750
|
"cliCommand": "update-patient-dependent",
|
|
30587
30751
|
"description": "Update a family member (dependent) of the authenticated patient.",
|
|
@@ -31220,7 +31384,7 @@
|
|
|
31220
31384
|
"defaultBaseUrl": "https://dev-api-person.health.cloud",
|
|
31221
31385
|
"name": "person",
|
|
31222
31386
|
"path": "/person",
|
|
31223
|
-
"toolCount":
|
|
31387
|
+
"toolCount": 14,
|
|
31224
31388
|
"tools": [
|
|
31225
31389
|
{
|
|
31226
31390
|
"cliCommand": "confirm-person-password-reset",
|
|
@@ -31298,6 +31462,36 @@
|
|
|
31298
31462
|
},
|
|
31299
31463
|
"requiredRoles": []
|
|
31300
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
|
+
},
|
|
31301
31495
|
{
|
|
31302
31496
|
"cliCommand": "get-person-photo",
|
|
31303
31497
|
"description": "Retrieve the Person's FHIR Binary photo resource.",
|
|
@@ -31416,6 +31610,11 @@
|
|
|
31416
31610
|
"address": {
|
|
31417
31611
|
"type": "object"
|
|
31418
31612
|
},
|
|
31613
|
+
"attributes": {
|
|
31614
|
+
"additionalProperties": true,
|
|
31615
|
+
"description": "Arbitrary JSON-compatible metadata stored during registration.",
|
|
31616
|
+
"type": "object"
|
|
31617
|
+
},
|
|
31419
31618
|
"date_of_birth": {
|
|
31420
31619
|
"format": "date",
|
|
31421
31620
|
"type": "string"
|
|
@@ -31493,6 +31692,7 @@
|
|
|
31493
31692
|
"parameters": {
|
|
31494
31693
|
"body": [
|
|
31495
31694
|
"address",
|
|
31695
|
+
"attributes",
|
|
31496
31696
|
"date_of_birth",
|
|
31497
31697
|
"email",
|
|
31498
31698
|
"first_name",
|
|
@@ -31624,6 +31824,38 @@
|
|
|
31624
31824
|
},
|
|
31625
31825
|
"requiredRoles": []
|
|
31626
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
|
+
},
|
|
31627
31859
|
{
|
|
31628
31860
|
"cliCommand": "update-person-phone",
|
|
31629
31861
|
"description": "Update the Person's phone number and send an SMS OTP verification.",
|
|
@@ -33429,7 +33661,7 @@
|
|
|
33429
33661
|
"protocolVersion": "2024-11-05",
|
|
33430
33662
|
"schemaVersion": 1,
|
|
33431
33663
|
"source": {
|
|
33432
|
-
"catalogSha256": "
|
|
33664
|
+
"catalogSha256": "d8129bf897222653c4f065ed15881f0a17dbd2c7b5e8c9a18e554321413e8b1f"
|
|
33433
33665
|
},
|
|
33434
|
-
"toolCount":
|
|
33666
|
+
"toolCount": 1014
|
|
33435
33667
|
}
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "healthcloud-cli"
|
|
7
|
-
version = "2.0
|
|
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
|
|
File without changes
|