@arbol-ai/cli 2.5.0 → 2.6.0

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.
Files changed (2) hide show
  1. package/dist/index.js +616 -22
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -20541,6 +20541,14 @@ var commands = {
20541
20541
  "CC"
20542
20542
  ]
20543
20543
  },
20544
+ {
20545
+ name: "agentMode",
20546
+ flag: "agent-mode",
20547
+ kind: "boolean",
20548
+ required: false,
20549
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
20550
+ default: false
20551
+ },
20544
20552
  {
20545
20553
  name: "connectionId",
20546
20554
  flag: "connection-id",
@@ -20584,6 +20592,11 @@ var commands = {
20584
20592
  }
20585
20593
  ]
20586
20594
  },
20595
+ agentMode: {
20596
+ default: false,
20597
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
20598
+ type: "boolean"
20599
+ },
20587
20600
  connectionId: {
20588
20601
  description: "Which of the organization's SURA connections to run on, by its id. Optional while the organization has one; required when it has several.",
20589
20602
  maxLength: 128,
@@ -20695,6 +20708,14 @@ var commands = {
20695
20708
  required: true,
20696
20709
  description: "The appointment's hour as HH:MM, exactly as list_appointments returned it."
20697
20710
  },
20711
+ {
20712
+ name: "agentMode",
20713
+ flag: "agent-mode",
20714
+ kind: "boolean",
20715
+ required: false,
20716
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
20717
+ default: false
20718
+ },
20698
20719
  {
20699
20720
  name: "connectionId",
20700
20721
  flag: "connection-id",
@@ -20861,6 +20882,11 @@ var commands = {
20861
20882
  description: "The appointment's hour as HH:MM, exactly as list_appointments returned it.",
20862
20883
  type: "string"
20863
20884
  },
20885
+ agentMode: {
20886
+ default: false,
20887
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
20888
+ type: "boolean"
20889
+ },
20864
20890
  connectionId: {
20865
20891
  description: "Which of the organization's SURA connections to run on, by its id. Optional while the organization has one; required when it has several.",
20866
20892
  maxLength: 128,
@@ -20981,6 +21007,14 @@ var commands = {
20981
21007
  required: true,
20982
21008
  description: "The hour the caller agreed to, as HH:MM on a 24-hour clock, exactly as it appeared in find_availability's times[]."
20983
21009
  },
21010
+ {
21011
+ name: "agentMode",
21012
+ flag: "agent-mode",
21013
+ kind: "boolean",
21014
+ required: false,
21015
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
21016
+ default: false
21017
+ },
20984
21018
  {
20985
21019
  name: "connectionId",
20986
21020
  flag: "connection-id",
@@ -21154,6 +21188,11 @@ var commands = {
21154
21188
  description: "The hour the caller agreed to, as HH:MM on a 24-hour clock, exactly as it appeared in find_availability's times[].",
21155
21189
  type: "string"
21156
21190
  },
21191
+ agentMode: {
21192
+ default: false,
21193
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
21194
+ type: "boolean"
21195
+ },
21157
21196
  connectionId: {
21158
21197
  description: "Which of the organization's SURA connections to run on, by its id. Optional while the organization has one; required when it has several.",
21159
21198
  maxLength: 128,
@@ -21259,6 +21298,14 @@ var commands = {
21259
21298
  description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
21260
21299
  default: 25
21261
21300
  },
21301
+ {
21302
+ name: "agentMode",
21303
+ flag: "agent-mode",
21304
+ kind: "boolean",
21305
+ required: false,
21306
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
21307
+ default: false
21308
+ },
21262
21309
  {
21263
21310
  name: "connectionId",
21264
21311
  flag: "connection-id",
@@ -21409,6 +21456,11 @@ var commands = {
21409
21456
  type: "integer",
21410
21457
  default: 25
21411
21458
  },
21459
+ agentMode: {
21460
+ default: false,
21461
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
21462
+ type: "boolean"
21463
+ },
21412
21464
  connectionId: {
21413
21465
  description: "Which of the organization's SURA connections to run on, by its id. Optional while the organization has one; required when it has several.",
21414
21466
  maxLength: 128,
@@ -21461,7 +21513,7 @@ var commands = {
21461
21513
  flag: "date",
21462
21514
  kind: "string",
21463
21515
  required: false,
21464
- description: `A day to look at, as YYYY-MM-DD. Omit it for the soonest day with room. Resolve relative dates like "mañana" against the clinic's own timezone before calling.`
21516
+ description: `A day the person asked for, as YYYY-MM-DD. Its openings come first; when it has none, the openings nearest to it on either side are offered instead and requestedDateAvailable is false. Omit it for the soonest openings. Resolve relative dates like "mañana" against the clinic's own timezone before calling.`
21465
21517
  },
21466
21518
  {
21467
21519
  name: "documentNumber",
@@ -21506,7 +21558,7 @@ var commands = {
21506
21558
  flag: "allow-other-professionals",
21507
21559
  kind: "string",
21508
21560
  required: false,
21509
- description: "When true, a requested doctor with no openings falls back automatically to other doctors of the same service. Present their names and obtain consent before booking.",
21561
+ description: "Whether other doctors of this service may be offered when the named doctor has no opening in the searched window. Defaults to true: the named doctor's openings come first, and only when that doctor has none are the other doctors' nearest openings returned, with requestedProfessionalAvailable false. Name the actual doctor of each option and obtain consent before booking. False keeps the named doctor as a strict filter.",
21510
21562
  choices: [
21511
21563
  "true",
21512
21564
  "false"
@@ -21517,7 +21569,7 @@ var commands = {
21517
21569
  flag: "from-date",
21518
21570
  kind: "string",
21519
21571
  required: false,
21520
- description: "Search from this day onward (YYYY-MM-DD), using the live calendar. Omit for today. Use date only for an exact day."
21572
+ description: "Search from this day onward (YYYY-MM-DD), using the live calendar. Omit for today. Use date for a specific day."
21521
21573
  },
21522
21574
  {
21523
21575
  name: "timeFrom",
@@ -21568,7 +21620,7 @@ var commands = {
21568
21620
  flag: "professional",
21569
21621
  kind: "string",
21570
21622
  required: false,
21571
- description: "Doctor's name, or part of it, when the caller asked for someone specific. Omit it to see whoever has room soonest."
21623
+ description: "Doctor's name, or part of it, when the caller asked for someone specific. Use list_professionals to check the service's registered doctors independently of available slots; absence from an open-agenda selector does not mean the doctor does not exist. Omit it to see whoever has room soonest."
21572
21624
  },
21573
21625
  {
21574
21626
  name: "serviceId",
@@ -21577,6 +21629,14 @@ var commands = {
21577
21629
  required: true,
21578
21630
  description: "Exact service in the order or a previously returned service ID. Names are resolved internally against the live catalog; do not call list_services first or invent IDs. Preserve consultation/control and pediatric qualifiers."
21579
21631
  },
21632
+ {
21633
+ name: "agentMode",
21634
+ flag: "agent-mode",
21635
+ kind: "boolean",
21636
+ required: false,
21637
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
21638
+ default: false
21639
+ },
21580
21640
  {
21581
21641
  name: "connectionId",
21582
21642
  flag: "connection-id",
@@ -21618,7 +21678,7 @@ var commands = {
21618
21678
  ]
21619
21679
  },
21620
21680
  date: {
21621
- description: `A day to look at, as YYYY-MM-DD. Omit it for the soonest day with room. Resolve relative dates like "mañana" against the clinic's own timezone before calling.`,
21681
+ description: `A day the person asked for, as YYYY-MM-DD. Its openings come first; when it has none, the openings nearest to it on either side are offered instead and requestedDateAvailable is false. Omit it for the soonest openings. Resolve relative dates like "mañana" against the clinic's own timezone before calling.`,
21622
21682
  anyOf: [
21623
21683
  {
21624
21684
  type: "string"
@@ -21726,7 +21786,7 @@ var commands = {
21726
21786
  description: "Patient document type read legibly from the original or explicitly supplied. Ask only if unknown or genuinely conflicting; never infer it from age or number length."
21727
21787
  },
21728
21788
  allowOtherProfessionals: {
21729
- description: "When true, a requested doctor with no openings falls back automatically to other doctors of the same service. Present their names and obtain consent before booking.",
21789
+ description: "Whether other doctors of this service may be offered when the named doctor has no opening in the searched window. Defaults to true: the named doctor's openings come first, and only when that doctor has none are the other doctors' nearest openings returned, with requestedProfessionalAvailable false. Name the actual doctor of each option and obtain consent before booking. False keeps the named doctor as a strict filter.",
21730
21790
  anyOf: [
21731
21791
  {
21732
21792
  const: "true",
@@ -21742,7 +21802,7 @@ var commands = {
21742
21802
  ]
21743
21803
  },
21744
21804
  fromDate: {
21745
- description: "Search from this day onward (YYYY-MM-DD), using the live calendar. Omit for today. Use date only for an exact day.",
21805
+ description: "Search from this day onward (YYYY-MM-DD), using the live calendar. Omit for today. Use date for a specific day.",
21746
21806
  anyOf: [
21747
21807
  {
21748
21808
  type: "string"
@@ -21822,7 +21882,7 @@ var commands = {
21822
21882
  ]
21823
21883
  },
21824
21884
  professional: {
21825
- description: "Doctor's name, or part of it, when the caller asked for someone specific. Omit it to see whoever has room soonest.",
21885
+ description: "Doctor's name, or part of it, when the caller asked for someone specific. Use list_professionals to check the service's registered doctors independently of available slots; absence from an open-agenda selector does not mean the doctor does not exist. Omit it to see whoever has room soonest.",
21826
21886
  anyOf: [
21827
21887
  {
21828
21888
  type: "string"
@@ -21836,6 +21896,11 @@ var commands = {
21836
21896
  description: "Exact service in the order or a previously returned service ID. Names are resolved internally against the live catalog; do not call list_services first or invent IDs. Preserve consultation/control and pediatric qualifiers.",
21837
21897
  type: "string"
21838
21898
  },
21899
+ agentMode: {
21900
+ default: false,
21901
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
21902
+ type: "boolean"
21903
+ },
21839
21904
  connectionId: {
21840
21905
  description: "Which of the organization's SURA connections to run on, by its id. Optional while the organization has one; required when it has several.",
21841
21906
  maxLength: 128,
@@ -21907,6 +21972,14 @@ var commands = {
21907
21972
  required: true,
21908
21973
  description: "Issuer code before the hyphen in the authorization identifier."
21909
21974
  },
21975
+ {
21976
+ name: "agentMode",
21977
+ flag: "agent-mode",
21978
+ kind: "boolean",
21979
+ required: false,
21980
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
21981
+ default: false
21982
+ },
21910
21983
  {
21911
21984
  name: "connectionId",
21912
21985
  flag: "connection-id",
@@ -21960,6 +22033,11 @@ var commands = {
21960
22033
  description: "Issuer code before the hyphen in the authorization identifier.",
21961
22034
  type: "string"
21962
22035
  },
22036
+ agentMode: {
22037
+ default: false,
22038
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
22039
+ type: "boolean"
22040
+ },
21963
22041
  connectionId: {
21964
22042
  description: "Which of the organization's SURA connections to run on, by its id. Optional while the organization has one; required when it has several.",
21965
22043
  maxLength: 128,
@@ -22057,7 +22135,7 @@ var commands = {
22057
22135
  flag: "professional",
22058
22136
  kind: "string",
22059
22137
  required: false,
22060
- description: "Doctor's name, or part of it, when the caller asked for someone specific. Omit it to see whoever has room soonest."
22138
+ description: "Doctor's name, or part of it, when the caller asked for someone specific. Use list_professionals to check the service's registered doctors independently of available slots; absence from an open-agenda selector does not mean the doctor does not exist. Omit it to see whoever has room soonest."
22061
22139
  },
22062
22140
  {
22063
22141
  name: "serviceId",
@@ -22066,6 +22144,14 @@ var commands = {
22066
22144
  required: true,
22067
22145
  description: `What the appointment is for: either an id from list_services or the service's own name, in the caller's words ("neurología", "control"). A name that matches more than one service is answered with the choices, so you can ask which one instead of guessing.`
22068
22146
  },
22147
+ {
22148
+ name: "agentMode",
22149
+ flag: "agent-mode",
22150
+ kind: "boolean",
22151
+ required: false,
22152
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
22153
+ default: false
22154
+ },
22069
22155
  {
22070
22156
  name: "connectionId",
22071
22157
  flag: "connection-id",
@@ -22215,7 +22301,7 @@ var commands = {
22215
22301
  description: "Patient document type read legibly from the original or explicitly supplied. Ask only if unknown or genuinely conflicting; never infer it from age or number length."
22216
22302
  },
22217
22303
  professional: {
22218
- description: "Doctor's name, or part of it, when the caller asked for someone specific. Omit it to see whoever has room soonest.",
22304
+ description: "Doctor's name, or part of it, when the caller asked for someone specific. Use list_professionals to check the service's registered doctors independently of available slots; absence from an open-agenda selector does not mean the doctor does not exist. Omit it to see whoever has room soonest.",
22219
22305
  anyOf: [
22220
22306
  {
22221
22307
  type: "string"
@@ -22229,6 +22315,11 @@ var commands = {
22229
22315
  description: `What the appointment is for: either an id from list_services or the service's own name, in the caller's words ("neurología", "control"). A name that matches more than one service is answered with the choices, so you can ask which one instead of guessing.`,
22230
22316
  type: "string"
22231
22317
  },
22318
+ agentMode: {
22319
+ default: false,
22320
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
22321
+ type: "boolean"
22322
+ },
22232
22323
  connectionId: {
22233
22324
  description: "Which of the organization's SURA connections to run on, by its id. Optional while the organization has one; required when it has several.",
22234
22325
  maxLength: 128,
@@ -22268,7 +22359,16 @@ var commands = {
22268
22359
  "delete"
22269
22360
  ],
22270
22361
  pathField: "id",
22271
- fields: [],
22362
+ fields: [
22363
+ {
22364
+ name: "agentMode",
22365
+ flag: "agent-mode",
22366
+ kind: "boolean",
22367
+ required: false,
22368
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
22369
+ default: false
22370
+ }
22371
+ ],
22272
22372
  inputSchema: {
22273
22373
  additionalProperties: false,
22274
22374
  type: "object",
@@ -22282,6 +22382,11 @@ var commands = {
22282
22382
  pattern: "^[A-Za-z0-9_-]+$",
22283
22383
  description: "The connection's id, as Account lists it; it must be one of the caller's own organization's.",
22284
22384
  type: "string"
22385
+ },
22386
+ agentMode: {
22387
+ default: false,
22388
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
22389
+ type: "boolean"
22285
22390
  }
22286
22391
  }
22287
22392
  },
@@ -22299,7 +22404,16 @@ var commands = {
22299
22404
  "get"
22300
22405
  ],
22301
22406
  pathField: "id",
22302
- fields: [],
22407
+ fields: [
22408
+ {
22409
+ name: "agentMode",
22410
+ flag: "agent-mode",
22411
+ kind: "boolean",
22412
+ required: false,
22413
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
22414
+ default: false
22415
+ }
22416
+ ],
22303
22417
  inputSchema: {
22304
22418
  additionalProperties: false,
22305
22419
  type: "object",
@@ -22313,6 +22427,11 @@ var commands = {
22313
22427
  pattern: "^[A-Za-z0-9_-]+$",
22314
22428
  description: "The connection's id, as Account lists it; it must be one of the caller's own organization's.",
22315
22429
  type: "string"
22430
+ },
22431
+ agentMode: {
22432
+ default: false,
22433
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
22434
+ type: "boolean"
22316
22435
  }
22317
22436
  }
22318
22437
  },
@@ -22357,6 +22476,14 @@ var commands = {
22357
22476
  required: false,
22358
22477
  description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
22359
22478
  default: 25
22479
+ },
22480
+ {
22481
+ name: "agentMode",
22482
+ flag: "agent-mode",
22483
+ kind: "boolean",
22484
+ required: false,
22485
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
22486
+ default: false
22360
22487
  }
22361
22488
  ],
22362
22489
  inputSchema: {
@@ -22388,6 +22515,11 @@ var commands = {
22388
22515
  description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
22389
22516
  type: "integer",
22390
22517
  default: 25
22518
+ },
22519
+ agentMode: {
22520
+ default: false,
22521
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
22522
+ type: "boolean"
22391
22523
  }
22392
22524
  }
22393
22525
  },
@@ -22406,6 +22538,14 @@ var commands = {
22406
22538
  ],
22407
22539
  pathField: "connectionId",
22408
22540
  fields: [
22541
+ {
22542
+ name: "agentMode",
22543
+ flag: "agent-mode",
22544
+ kind: "boolean",
22545
+ required: false,
22546
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
22547
+ default: false
22548
+ },
22409
22549
  {
22410
22550
  name: "name",
22411
22551
  flag: "name",
@@ -22441,6 +22581,11 @@ var commands = {
22441
22581
  "logins"
22442
22582
  ],
22443
22583
  properties: {
22584
+ agentMode: {
22585
+ default: false,
22586
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
22587
+ type: "boolean"
22588
+ },
22444
22589
  connectionId: {
22445
22590
  minLength: 1,
22446
22591
  maxLength: 128,
@@ -22551,6 +22696,14 @@ var commands = {
22551
22696
  required: true,
22552
22697
  description: "Explicit four-digit year for copay history, from 2000 to 2099."
22553
22698
  },
22699
+ {
22700
+ name: "agentMode",
22701
+ flag: "agent-mode",
22702
+ kind: "boolean",
22703
+ required: false,
22704
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
22705
+ default: false
22706
+ },
22554
22707
  {
22555
22708
  name: "connectionId",
22556
22709
  flag: "connection-id",
@@ -22599,6 +22752,11 @@ var commands = {
22599
22752
  description: "Explicit four-digit year for copay history, from 2000 to 2099.",
22600
22753
  type: "string"
22601
22754
  },
22755
+ agentMode: {
22756
+ default: false,
22757
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
22758
+ type: "boolean"
22759
+ },
22602
22760
  connectionId: {
22603
22761
  description: "Which of the organization's SURA connections to run on, by its id. Optional while the organization has one; required when it has several.",
22604
22762
  maxLength: 128,
@@ -22639,6 +22797,14 @@ var commands = {
22639
22797
  ],
22640
22798
  pathField: "operationId",
22641
22799
  fields: [
22800
+ {
22801
+ name: "agentMode",
22802
+ flag: "agent-mode",
22803
+ kind: "boolean",
22804
+ required: false,
22805
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
22806
+ default: false
22807
+ },
22642
22808
  {
22643
22809
  name: "connectionId",
22644
22810
  flag: "connection-id",
@@ -22670,6 +22836,11 @@ var commands = {
22670
22836
  description: "The operationId of the pending answer, exactly as it was returned.",
22671
22837
  type: "string"
22672
22838
  },
22839
+ agentMode: {
22840
+ default: false,
22841
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
22842
+ type: "boolean"
22843
+ },
22673
22844
  connectionId: {
22674
22845
  description: "Which of the organization's SURA connections to run on, by its id. Optional while the organization has one; required when it has several.",
22675
22846
  maxLength: 128,
@@ -22748,6 +22919,14 @@ var commands = {
22748
22919
  "TI"
22749
22920
  ]
22750
22921
  },
22922
+ {
22923
+ name: "agentMode",
22924
+ flag: "agent-mode",
22925
+ kind: "boolean",
22926
+ required: false,
22927
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
22928
+ default: false
22929
+ },
22751
22930
  {
22752
22931
  name: "connectionId",
22753
22932
  flag: "connection-id",
@@ -22873,6 +23052,11 @@ var commands = {
22873
23052
  ],
22874
23053
  description: "Patient document type read legibly from the original or explicitly supplied. Ask only if unknown or genuinely conflicting; never infer it from age or number length."
22875
23054
  },
23055
+ agentMode: {
23056
+ default: false,
23057
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
23058
+ type: "boolean"
23059
+ },
22876
23060
  connectionId: {
22877
23061
  description: "Which of the organization's SURA connections to run on, by its id. Optional while the organization has one; required when it has several.",
22878
23062
  maxLength: 128,
@@ -22904,6 +23088,168 @@ var commands = {
22904
23088
  confirmation: null,
22905
23089
  hidden: false
22906
23090
  },
23091
+ "sura professionals list": {
23092
+ operation: "sura.professionals.list",
23093
+ sdkPath: [
23094
+ "sura",
23095
+ "professionals",
23096
+ "list"
23097
+ ],
23098
+ pathField: null,
23099
+ fields: [
23100
+ {
23101
+ name: "areaId",
23102
+ flag: "area-id",
23103
+ kind: "string",
23104
+ required: false,
23105
+ description: "The areaId list_services returned beside that service. Pass it with an exact serviceId to skip a catalog lookup; omit it whenever you are naming the service in words."
23106
+ },
23107
+ {
23108
+ name: "serviceId",
23109
+ flag: "service-id",
23110
+ kind: "string",
23111
+ required: true,
23112
+ description: "Exact numeric service id returned by list_services. This directory is not filtered by patient coverage or available appointments."
23113
+ },
23114
+ {
23115
+ name: "cursor",
23116
+ flag: "cursor",
23117
+ kind: "string",
23118
+ required: false,
23119
+ description: "Opaque cursor returned by pageInfo; omit it to request the first page."
23120
+ },
23121
+ {
23122
+ name: "direction",
23123
+ flag: "direction",
23124
+ kind: "string",
23125
+ required: false,
23126
+ description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
23127
+ choices: [
23128
+ "forward",
23129
+ "backward"
23130
+ ],
23131
+ default: "forward"
23132
+ },
23133
+ {
23134
+ name: "limit",
23135
+ flag: "limit",
23136
+ kind: "integer",
23137
+ required: false,
23138
+ description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
23139
+ default: 25
23140
+ },
23141
+ {
23142
+ name: "agentMode",
23143
+ flag: "agent-mode",
23144
+ kind: "boolean",
23145
+ required: false,
23146
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
23147
+ default: false
23148
+ },
23149
+ {
23150
+ name: "connectionId",
23151
+ flag: "connection-id",
23152
+ kind: "string",
23153
+ required: false,
23154
+ description: "Which of the organization's SURA connections to run on, by its id. Optional while the organization has one; required when it has several."
23155
+ },
23156
+ {
23157
+ name: "channel",
23158
+ flag: "channel",
23159
+ kind: "string",
23160
+ required: false,
23161
+ description: "The channel the caller is waiting on, which sets how long it waits before an answer comes back pending, and puts a phone call's reads ahead of others. Defaults to web.",
23162
+ choices: [
23163
+ "voice",
23164
+ "whatsapp",
23165
+ "web"
23166
+ ]
23167
+ }
23168
+ ],
23169
+ inputSchema: {
23170
+ additionalProperties: false,
23171
+ type: "object",
23172
+ required: [
23173
+ "serviceId"
23174
+ ],
23175
+ properties: {
23176
+ areaId: {
23177
+ description: "The areaId list_services returned beside that service. Pass it with an exact serviceId to skip a catalog lookup; omit it whenever you are naming the service in words.",
23178
+ anyOf: [
23179
+ {
23180
+ type: "string"
23181
+ },
23182
+ {
23183
+ type: "null"
23184
+ }
23185
+ ]
23186
+ },
23187
+ serviceId: {
23188
+ description: "Exact numeric service id returned by list_services. This directory is not filtered by patient coverage or available appointments.",
23189
+ pattern: "^[0-9]{1,20}$",
23190
+ type: "string"
23191
+ },
23192
+ cursor: {
23193
+ description: "Opaque cursor returned by pageInfo; omit it to request the first page.",
23194
+ type: "string"
23195
+ },
23196
+ direction: {
23197
+ description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
23198
+ anyOf: [
23199
+ {
23200
+ const: "forward",
23201
+ type: "string"
23202
+ },
23203
+ {
23204
+ const: "backward",
23205
+ type: "string"
23206
+ }
23207
+ ],
23208
+ default: "forward"
23209
+ },
23210
+ limit: {
23211
+ minimum: 1,
23212
+ maximum: 100,
23213
+ description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
23214
+ type: "integer",
23215
+ default: 25
23216
+ },
23217
+ agentMode: {
23218
+ default: false,
23219
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
23220
+ type: "boolean"
23221
+ },
23222
+ connectionId: {
23223
+ description: "Which of the organization's SURA connections to run on, by its id. Optional while the organization has one; required when it has several.",
23224
+ maxLength: 128,
23225
+ minLength: 1,
23226
+ type: "string"
23227
+ },
23228
+ channel: {
23229
+ anyOf: [
23230
+ {
23231
+ const: "voice",
23232
+ type: "string"
23233
+ },
23234
+ {
23235
+ const: "whatsapp",
23236
+ type: "string"
23237
+ },
23238
+ {
23239
+ const: "web",
23240
+ type: "string"
23241
+ }
23242
+ ],
23243
+ description: "The channel the caller is waiting on, which sets how long it waits before an answer comes back pending, and puts a phone call's reads ahead of others. Defaults to web."
23244
+ }
23245
+ }
23246
+ },
23247
+ title: "List registered professionals",
23248
+ description: "List SURA's registered professionals for a service at this connection's institution, including doctors without published or free appointments. First obtain serviceId and optionally areaId from list_services. No patient identity is needed. Follow pageInfo.nextCursor while hasNextPage is true before concluding a name is absent from this scoped directory. Absence does not establish that a doctor does not exist or works nowhere else. Registration does not establish coverage, authorization, or availability: use prepare_appointment with the patient's evidence and the requested professional name to find actual slots. Never substitute another doctor without the patient's agreement. An unreadable or incomplete provider directory is a technical failure, not an empty list.",
23249
+ effect: "read",
23250
+ confirmation: null,
23251
+ hidden: false
23252
+ },
22907
23253
  "sura services list": {
22908
23254
  operation: "sura.services.list",
22909
23255
  sdkPath: [
@@ -22947,6 +23293,14 @@ var commands = {
22947
23293
  description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
22948
23294
  default: 25
22949
23295
  },
23296
+ {
23297
+ name: "agentMode",
23298
+ flag: "agent-mode",
23299
+ kind: "boolean",
23300
+ required: false,
23301
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
23302
+ default: false
23303
+ },
22950
23304
  {
22951
23305
  name: "connectionId",
22952
23306
  flag: "connection-id",
@@ -23008,6 +23362,11 @@ var commands = {
23008
23362
  type: "integer",
23009
23363
  default: 25
23010
23364
  },
23365
+ agentMode: {
23366
+ default: false,
23367
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
23368
+ type: "boolean"
23369
+ },
23011
23370
  connectionId: {
23012
23371
  description: "Which of the organization's SURA connections to run on, by its id. Optional while the organization has one; required when it has several.",
23013
23372
  maxLength: 128,
@@ -56863,6 +57222,14 @@ var schemaComponents = {
56863
57222
  description: "False when the bounded search stopped before establishing the requested nearest options.",
56864
57223
  type: "boolean"
56865
57224
  },
57225
+ requestedProfessionalAvailable: {
57226
+ description: "Present when a professional was named: true when the options are that doctor's, false when that doctor had no opening in the searched window and any options are other doctors' of the same service.",
57227
+ type: "boolean"
57228
+ },
57229
+ requestedDateAvailable: {
57230
+ description: "Present when a date was given: true when an option falls on that day, false when it had none and any options are the nearest days to it.",
57231
+ type: "boolean"
57232
+ },
56866
57233
  appointments: {
56867
57234
  description: "The patient's pending appointments of the requested service.",
56868
57235
  type: "array",
@@ -57162,6 +57529,14 @@ var schemaComponents = {
57162
57529
  description: "False when the bounded search stopped before establishing the requested nearest options.",
57163
57530
  type: "boolean"
57164
57531
  },
57532
+ requestedProfessionalAvailable: {
57533
+ description: "Present when a professional was named: true when the options are that doctor's, false when that doctor had no opening in the searched window and any options are other doctors' of the same service.",
57534
+ type: "boolean"
57535
+ },
57536
+ requestedDateAvailable: {
57537
+ description: "Present when a date was given: true when an option falls on that day, false when it had none and any options are the nearest days to it.",
57538
+ type: "boolean"
57539
+ },
57165
57540
  appointments: {
57166
57541
  description: "The patient's pending appointments of the requested service.",
57167
57542
  type: "array",
@@ -57217,6 +57592,72 @@ var schemaComponents = {
57217
57592
  }
57218
57593
  }
57219
57594
  },
57595
+ SuraProfessional: {
57596
+ additionalProperties: false,
57597
+ type: "object",
57598
+ required: [
57599
+ "id",
57600
+ "name",
57601
+ "areaId",
57602
+ "serviceId",
57603
+ "serviceName",
57604
+ "registered",
57605
+ "availabilityChecked"
57606
+ ],
57607
+ properties: {
57608
+ id: {
57609
+ description: "Opaque directory identity. Use name, not this id, when requesting availability.",
57610
+ type: "string"
57611
+ },
57612
+ name: {
57613
+ type: "string"
57614
+ },
57615
+ areaId: {
57616
+ type: "string"
57617
+ },
57618
+ serviceId: {
57619
+ type: "string"
57620
+ },
57621
+ serviceName: {
57622
+ type: "string"
57623
+ },
57624
+ registered: {
57625
+ const: true,
57626
+ type: "boolean"
57627
+ },
57628
+ availabilityChecked: {
57629
+ const: false,
57630
+ type: "boolean"
57631
+ }
57632
+ }
57633
+ },
57634
+ SuraProfessionalPage: {
57635
+ additionalProperties: false,
57636
+ type: "object",
57637
+ required: [
57638
+ "data",
57639
+ "object",
57640
+ "pageInfo"
57641
+ ],
57642
+ properties: {
57643
+ data: {
57644
+ description: "Items admitted by this resource contract within the verified organization.",
57645
+ type: "array",
57646
+ items: {
57647
+ $ref: "#/components/schemas/SuraProfessional"
57648
+ }
57649
+ },
57650
+ object: {
57651
+ description: "Discriminator for a resource list response.",
57652
+ const: "list",
57653
+ type: "string"
57654
+ },
57655
+ pageInfo: {
57656
+ $ref: "#/components/schemas/PageInfo",
57657
+ description: "Opaque navigation cursors for this page’s stable keyset order."
57658
+ }
57659
+ }
57660
+ },
57220
57661
  SuraRefusal: {
57221
57662
  additionalProperties: false,
57222
57663
  type: "object",
@@ -69863,6 +70304,11 @@ var schemaComponents = {
69863
70304
  }
69864
70305
  ]
69865
70306
  },
70307
+ agentMode: {
70308
+ default: false,
70309
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
70310
+ type: "boolean"
70311
+ },
69866
70312
  connectionId: {
69867
70313
  description: "Which of the organization's SURA connections to run on, by its id. Optional while the organization has one; required when it has several.",
69868
70314
  maxLength: 128,
@@ -70041,6 +70487,11 @@ var schemaComponents = {
70041
70487
  description: "The hour the caller agreed to, as HH:MM on a 24-hour clock, exactly as it appeared in find_availability's times[].",
70042
70488
  type: "string"
70043
70489
  },
70490
+ agentMode: {
70491
+ default: false,
70492
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
70493
+ type: "boolean"
70494
+ },
70044
70495
  connectionId: {
70045
70496
  description: "Which of the organization's SURA connections to run on, by its id. Optional while the organization has one; required when it has several.",
70046
70497
  maxLength: 128,
@@ -70196,6 +70647,11 @@ var schemaComponents = {
70196
70647
  type: "integer",
70197
70648
  default: 25
70198
70649
  },
70650
+ agentMode: {
70651
+ default: false,
70652
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
70653
+ type: "boolean"
70654
+ },
70199
70655
  connectionId: {
70200
70656
  description: "Which of the organization's SURA connections to run on, by its id. Optional while the organization has one; required when it has several.",
70201
70657
  maxLength: 128,
@@ -70367,6 +70823,11 @@ var schemaComponents = {
70367
70823
  description: "The appointment's hour as HH:MM, exactly as list_appointments returned it.",
70368
70824
  type: "string"
70369
70825
  },
70826
+ agentMode: {
70827
+ default: false,
70828
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
70829
+ type: "boolean"
70830
+ },
70370
70831
  connectionId: {
70371
70832
  description: "Which of the organization's SURA connections to run on, by its id. Optional while the organization has one; required when it has several.",
70372
70833
  maxLength: 128,
@@ -70413,7 +70874,7 @@ var schemaComponents = {
70413
70874
  ]
70414
70875
  },
70415
70876
  date: {
70416
- description: `A day to look at, as YYYY-MM-DD. Omit it for the soonest day with room. Resolve relative dates like "mañana" against the clinic's own timezone before calling.`,
70877
+ description: `A day the person asked for, as YYYY-MM-DD. Its openings come first; when it has none, the openings nearest to it on either side are offered instead and requestedDateAvailable is false. Omit it for the soonest openings. Resolve relative dates like "mañana" against the clinic's own timezone before calling.`,
70417
70878
  anyOf: [
70418
70879
  {
70419
70880
  type: "string"
@@ -70521,7 +70982,7 @@ var schemaComponents = {
70521
70982
  description: "Patient document type read legibly from the original or explicitly supplied. Ask only if unknown or genuinely conflicting; never infer it from age or number length."
70522
70983
  },
70523
70984
  allowOtherProfessionals: {
70524
- description: "When true, a requested doctor with no openings falls back automatically to other doctors of the same service. Present their names and obtain consent before booking.",
70985
+ description: "Whether other doctors of this service may be offered when the named doctor has no opening in the searched window. Defaults to true: the named doctor's openings come first, and only when that doctor has none are the other doctors' nearest openings returned, with requestedProfessionalAvailable false. Name the actual doctor of each option and obtain consent before booking. False keeps the named doctor as a strict filter.",
70525
70986
  anyOf: [
70526
70987
  {
70527
70988
  const: "true",
@@ -70537,7 +70998,7 @@ var schemaComponents = {
70537
70998
  ]
70538
70999
  },
70539
71000
  fromDate: {
70540
- description: "Search from this day onward (YYYY-MM-DD), using the live calendar. Omit for today. Use date only for an exact day.",
71001
+ description: "Search from this day onward (YYYY-MM-DD), using the live calendar. Omit for today. Use date for a specific day.",
70541
71002
  anyOf: [
70542
71003
  {
70543
71004
  type: "string"
@@ -70617,7 +71078,7 @@ var schemaComponents = {
70617
71078
  ]
70618
71079
  },
70619
71080
  professional: {
70620
- description: "Doctor's name, or part of it, when the caller asked for someone specific. Omit it to see whoever has room soonest.",
71081
+ description: "Doctor's name, or part of it, when the caller asked for someone specific. Use list_professionals to check the service's registered doctors independently of available slots; absence from an open-agenda selector does not mean the doctor does not exist. Omit it to see whoever has room soonest.",
70621
71082
  anyOf: [
70622
71083
  {
70623
71084
  type: "string"
@@ -70631,6 +71092,11 @@ var schemaComponents = {
70631
71092
  description: "Exact service in the order or a previously returned service ID. Names are resolved internally against the live catalog; do not call list_services first or invent IDs. Preserve consultation/control and pediatric qualifiers.",
70632
71093
  type: "string"
70633
71094
  },
71095
+ agentMode: {
71096
+ default: false,
71097
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
71098
+ type: "boolean"
71099
+ },
70634
71100
  connectionId: {
70635
71101
  description: "Which of the organization's SURA connections to run on, by its id. Optional while the organization has one; required when it has several.",
70636
71102
  maxLength: 128,
@@ -70689,6 +71155,11 @@ var schemaComponents = {
70689
71155
  description: "Issuer code before the hyphen in the authorization identifier.",
70690
71156
  type: "string"
70691
71157
  },
71158
+ agentMode: {
71159
+ default: false,
71160
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
71161
+ type: "boolean"
71162
+ },
70692
71163
  connectionId: {
70693
71164
  description: "Which of the organization's SURA connections to run on, by its id. Optional while the organization has one; required when it has several.",
70694
71165
  maxLength: 128,
@@ -70843,7 +71314,7 @@ var schemaComponents = {
70843
71314
  description: "Patient document type read legibly from the original or explicitly supplied. Ask only if unknown or genuinely conflicting; never infer it from age or number length."
70844
71315
  },
70845
71316
  professional: {
70846
- description: "Doctor's name, or part of it, when the caller asked for someone specific. Omit it to see whoever has room soonest.",
71317
+ description: "Doctor's name, or part of it, when the caller asked for someone specific. Use list_professionals to check the service's registered doctors independently of available slots; absence from an open-agenda selector does not mean the doctor does not exist. Omit it to see whoever has room soonest.",
70847
71318
  anyOf: [
70848
71319
  {
70849
71320
  type: "string"
@@ -70857,6 +71328,11 @@ var schemaComponents = {
70857
71328
  description: `What the appointment is for: either an id from list_services or the service's own name, in the caller's words ("neurología", "control"). A name that matches more than one service is answered with the choices, so you can ask which one instead of guessing.`,
70858
71329
  type: "string"
70859
71330
  },
71331
+ agentMode: {
71332
+ default: false,
71333
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
71334
+ type: "boolean"
71335
+ },
70860
71336
  connectionId: {
70861
71337
  description: "Which of the organization's SURA connections to run on, by its id. Optional while the organization has one; required when it has several.",
70862
71338
  maxLength: 128,
@@ -70911,6 +71387,11 @@ var schemaComponents = {
70911
71387
  description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
70912
71388
  type: "integer",
70913
71389
  default: 25
71390
+ },
71391
+ agentMode: {
71392
+ default: false,
71393
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
71394
+ type: "boolean"
70914
71395
  }
70915
71396
  }
70916
71397
  },
@@ -70923,6 +71404,11 @@ var schemaComponents = {
70923
71404
  "logins"
70924
71405
  ],
70925
71406
  properties: {
71407
+ agentMode: {
71408
+ default: false,
71409
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
71410
+ type: "boolean"
71411
+ },
70926
71412
  connectionId: {
70927
71413
  minLength: 1,
70928
71414
  maxLength: 128,
@@ -71007,6 +71493,11 @@ var schemaComponents = {
71007
71493
  pattern: "^[A-Za-z0-9_-]+$",
71008
71494
  description: "The connection's id, as Account lists it; it must be one of the caller's own organization's.",
71009
71495
  type: "string"
71496
+ },
71497
+ agentMode: {
71498
+ default: false,
71499
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
71500
+ type: "boolean"
71010
71501
  }
71011
71502
  }
71012
71503
  },
@@ -71023,6 +71514,11 @@ var schemaComponents = {
71023
71514
  pattern: "^[A-Za-z0-9_-]+$",
71024
71515
  description: "The connection's id, as Account lists it; it must be one of the caller's own organization's.",
71025
71516
  type: "string"
71517
+ },
71518
+ agentMode: {
71519
+ default: false,
71520
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
71521
+ type: "boolean"
71026
71522
  }
71027
71523
  }
71028
71524
  },
@@ -71054,6 +71550,11 @@ var schemaComponents = {
71054
71550
  description: "Explicit four-digit year for copay history, from 2000 to 2099.",
71055
71551
  type: "string"
71056
71552
  },
71553
+ agentMode: {
71554
+ default: false,
71555
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
71556
+ type: "boolean"
71557
+ },
71057
71558
  connectionId: {
71058
71559
  description: "Which of the organization's SURA connections to run on, by its id. Optional while the organization has one; required when it has several.",
71059
71560
  maxLength: 128,
@@ -71090,6 +71591,11 @@ var schemaComponents = {
71090
71591
  description: "The operationId of the pending answer, exactly as it was returned.",
71091
71592
  type: "string"
71092
71593
  },
71594
+ agentMode: {
71595
+ default: false,
71596
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
71597
+ type: "boolean"
71598
+ },
71093
71599
  connectionId: {
71094
71600
  description: "Which of the organization's SURA connections to run on, by its id. Optional while the organization has one; required when it has several.",
71095
71601
  maxLength: 128,
@@ -71220,6 +71726,89 @@ var schemaComponents = {
71220
71726
  ],
71221
71727
  description: "Patient document type read legibly from the original or explicitly supplied. Ask only if unknown or genuinely conflicting; never infer it from age or number length."
71222
71728
  },
71729
+ agentMode: {
71730
+ default: false,
71731
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
71732
+ type: "boolean"
71733
+ },
71734
+ connectionId: {
71735
+ description: "Which of the organization's SURA connections to run on, by its id. Optional while the organization has one; required when it has several.",
71736
+ maxLength: 128,
71737
+ minLength: 1,
71738
+ type: "string"
71739
+ },
71740
+ channel: {
71741
+ anyOf: [
71742
+ {
71743
+ const: "voice",
71744
+ type: "string"
71745
+ },
71746
+ {
71747
+ const: "whatsapp",
71748
+ type: "string"
71749
+ },
71750
+ {
71751
+ const: "web",
71752
+ type: "string"
71753
+ }
71754
+ ],
71755
+ description: "The channel the caller is waiting on, which sets how long it waits before an answer comes back pending, and puts a phone call's reads ahead of others. Defaults to web."
71756
+ }
71757
+ }
71758
+ },
71759
+ SuraProfessionalsListInput: {
71760
+ additionalProperties: false,
71761
+ type: "object",
71762
+ required: [
71763
+ "serviceId"
71764
+ ],
71765
+ properties: {
71766
+ areaId: {
71767
+ description: "The areaId list_services returned beside that service. Pass it with an exact serviceId to skip a catalog lookup; omit it whenever you are naming the service in words.",
71768
+ anyOf: [
71769
+ {
71770
+ type: "string"
71771
+ },
71772
+ {
71773
+ type: "null"
71774
+ }
71775
+ ]
71776
+ },
71777
+ serviceId: {
71778
+ description: "Exact numeric service id returned by list_services. This directory is not filtered by patient coverage or available appointments.",
71779
+ pattern: "^[0-9]{1,20}$",
71780
+ type: "string"
71781
+ },
71782
+ cursor: {
71783
+ description: "Opaque cursor returned by pageInfo; omit it to request the first page.",
71784
+ type: "string"
71785
+ },
71786
+ direction: {
71787
+ description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
71788
+ anyOf: [
71789
+ {
71790
+ const: "forward",
71791
+ type: "string"
71792
+ },
71793
+ {
71794
+ const: "backward",
71795
+ type: "string"
71796
+ }
71797
+ ],
71798
+ default: "forward"
71799
+ },
71800
+ limit: {
71801
+ minimum: 1,
71802
+ maximum: 100,
71803
+ description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
71804
+ type: "integer",
71805
+ default: 25
71806
+ },
71807
+ agentMode: {
71808
+ default: false,
71809
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
71810
+ type: "boolean"
71811
+ },
71223
71812
  connectionId: {
71224
71813
  description: "Which of the organization's SURA connections to run on, by its id. Optional while the organization has one; required when it has several.",
71225
71814
  maxLength: 128,
@@ -71286,6 +71875,11 @@ var schemaComponents = {
71286
71875
  type: "integer",
71287
71876
  default: 25
71288
71877
  },
71878
+ agentMode: {
71879
+ default: false,
71880
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
71881
+ type: "boolean"
71882
+ },
71289
71883
  connectionId: {
71290
71884
  description: "Which of the organization's SURA connections to run on, by its id. Optional while the organization has one; required when it has several.",
71291
71885
  maxLength: 128,
@@ -72424,9 +73018,9 @@ var schemaComponents = {
72424
73018
  // src/generated/generation.json
72425
73019
  var generation_default = {
72426
73020
  formatVersion: 6,
72427
- release: "1.20261021.142621",
72428
- openapiSha256: "9ee7f470f970025948f315a5f014385c35fe2adf8c88f65cc48ded8ce39329dc",
72429
- openapiContentSha256: "38b2a1f8990668b3b55c4da7ee4ecc6b906464cb5fd58e3dd448889b6145fd36",
73021
+ release: "1.20261022.214640",
73022
+ openapiSha256: "07df005c83ee996aeac081f6291a06b976ca88cb57bc00e30a533b19bc844e61",
73023
+ openapiContentSha256: "7ab911484cc0f05d9a2ef6b4851b369b666ccfdb43cb7086b6f91f60755f855a",
72430
73024
  forge: {
72431
73025
  repository: "https://github.com/cloudflare/forge",
72432
73026
  commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
@@ -72439,7 +73033,7 @@ var generation_default = {
72439
73033
  outputs: [
72440
73034
  {
72441
73035
  path: "src/generated/commands.ts",
72442
- sha256: "60141edcfd08e09bba48673c2ddc2e7dba98c907d07a2f41469bb8d9c8406e1b"
73036
+ sha256: "007c9676e6634b3837c94b4e43c465919f3db316e538838066fc806949f560ea"
72443
73037
  }
72444
73038
  ]
72445
73039
  };
@@ -72794,7 +73388,7 @@ ${name}`);
72794
73388
  }
72795
73389
 
72796
73390
  // src/index.ts
72797
- var VERSION = "2.5.0";
73391
+ var VERSION = "2.6.0";
72798
73392
  var RELEASE = generation_default.release;
72799
73393
  var SDK_PATHS = new Map(Object.values(commands).map((command) => [command.operation, command.sdkPath]));
72800
73394
  var SERVICES = [...new Set(Object.keys(commands).map((name) => name.split(" ")[0]))].toSorted();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbol-ai/cli",
3
- "version": "2.5.0",
3
+ "version": "2.6.0",
4
4
  "description": "The Arbol CLI: the Arbol API from your terminal, with commands generated by Cloudflare Forge from the public OpenAPI.",
5
5
  "keywords": [
6
6
  "arbol",
@@ -44,7 +44,7 @@
44
44
  "verify": "bun run typecheck && bun run test && bun run build"
45
45
  },
46
46
  "dependencies": {
47
- "@arbol-ai/sdk": "2.6.0",
47
+ "@arbol-ai/sdk": "2.7.0",
48
48
  "ajv": "8.20.0",
49
49
  "ajv-formats": "3.0.1",
50
50
  "oauth4webapi": "3.8.8"
@@ -59,8 +59,8 @@
59
59
  "packageManager": "bun@1.4.3",
60
60
  "arbol": {
61
61
  "openapi": {
62
- "release": "1.20261021.142621",
63
- "sha256": "38b2a1f8990668b3b55c4da7ee4ecc6b906464cb5fd58e3dd448889b6145fd36"
62
+ "release": "1.20261022.214640",
63
+ "sha256": "7ab911484cc0f05d9a2ef6b4851b369b666ccfdb43cb7086b6f91f60755f855a"
64
64
  }
65
65
  }
66
66
  }