@naturali/cli 0.224.0 → 0.225.1

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.mjs +371 -116
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -17,7 +17,7 @@ var __exportAll = (all, no_symbols) => {
17
17
  };
18
18
  //#endregion
19
19
  //#region package.json
20
- var version = "0.224.0";
20
+ var version = "0.225.1";
21
21
  //#endregion
22
22
  //#region ../sdk/src/generated/core/bodySerializer.gen.ts
23
23
  const serializeFormDataPair = (data, key, value) => {
@@ -5922,6 +5922,19 @@ var Tools = class {
5922
5922
  }
5923
5923
  });
5924
5924
  }
5925
+ /**
5926
+ * List a tool's actions
5927
+ *
5928
+ * Lists the actions an `mcp` tool exposes, read from its server's `tools/list` with the tool's `mcp.headers` resolved server-side: each action's `name`, `description` and `input_schema`, as a model bound to the tool sees them. `actions` and `denied_actions` apply, and a `preset_parameters` key an action's schema declares is removed from that schema. Other tool types are `400`. The server answers its whole listing in one call; `limit` and `cursor` page what it returned, in its order.
5929
+ * Authorized as a call (`tools:CallTool`), since listing reaches the tool's server with its credential.
5930
+ *
5931
+ */
5932
+ static listToolActions(options) {
5933
+ return (options.client ?? client).get({
5934
+ url: "/v1/projects/{project_id}/tools/{tool_id}/actions",
5935
+ ...options
5936
+ });
5937
+ }
5925
5938
  };
5926
5939
  var Traces = class {
5927
5940
  /**
@@ -12936,7 +12949,7 @@ const routes = {
12936
12949
  moduleDocsUrl: "https://naturali.ai/docs/modules/documents",
12937
12950
  httpMethod: "post",
12938
12951
  pathParams: ["project_id"],
12939
- queryParams: [],
12952
+ queryParams: ["path_prefix"],
12940
12953
  headerParams: [],
12941
12954
  cookieParams: [],
12942
12955
  flags: [
@@ -12947,6 +12960,13 @@ const routes = {
12947
12960
  "type": "string",
12948
12961
  "in": "path"
12949
12962
  },
12963
+ {
12964
+ "name": "path_prefix",
12965
+ "description": "Pins the call to documents filed under this directory, by the same path-boundary rule as the listing's `path_prefix`. A document outside it is `404`, as if it did not exist; a write that would file one outside it (including a create whose default path falls outside) is `400 DOCUMENT_PATH_OUTSIDE_PREFIX`.",
12966
+ "required": false,
12967
+ "type": "string",
12968
+ "in": "query"
12969
+ },
12950
12970
  {
12951
12971
  "name": "content",
12952
12972
  "description": "",
@@ -13126,22 +13146,32 @@ const routes = {
13126
13146
  moduleDocsUrl: "https://naturali.ai/docs/modules/documents",
13127
13147
  httpMethod: "get",
13128
13148
  pathParams: ["project_id", "document_id"],
13129
- queryParams: [],
13149
+ queryParams: ["path_prefix"],
13130
13150
  headerParams: [],
13131
13151
  cookieParams: [],
13132
- flags: [{
13133
- "name": "project_id",
13134
- "description": "Project public ID (proj_ prefix).",
13135
- "required": true,
13136
- "type": "string",
13137
- "in": "path"
13138
- }, {
13139
- "name": "document_id",
13140
- "description": "Document ID",
13141
- "required": true,
13142
- "type": "string",
13143
- "in": "path"
13144
- }]
13152
+ flags: [
13153
+ {
13154
+ "name": "project_id",
13155
+ "description": "Project public ID (proj_ prefix).",
13156
+ "required": true,
13157
+ "type": "string",
13158
+ "in": "path"
13159
+ },
13160
+ {
13161
+ "name": "path_prefix",
13162
+ "description": "Pins the call to documents filed under this directory, by the same path-boundary rule as the listing's `path_prefix`. A document outside it is `404`, as if it did not exist; a write that would file one outside it (including a create whose default path falls outside) is `400 DOCUMENT_PATH_OUTSIDE_PREFIX`.",
13163
+ "required": false,
13164
+ "type": "string",
13165
+ "in": "query"
13166
+ },
13167
+ {
13168
+ "name": "document_id",
13169
+ "description": "Document ID",
13170
+ "required": true,
13171
+ "type": "string",
13172
+ "in": "path"
13173
+ }
13174
+ ]
13145
13175
  },
13146
13176
  "update-document": {
13147
13177
  serviceClass: "Documents",
@@ -13150,7 +13180,7 @@ const routes = {
13150
13180
  moduleDocsUrl: "https://naturali.ai/docs/modules/documents",
13151
13181
  httpMethod: "patch",
13152
13182
  pathParams: ["project_id", "document_id"],
13153
- queryParams: [],
13183
+ queryParams: ["path_prefix"],
13154
13184
  headerParams: ["If-Match"],
13155
13185
  cookieParams: [],
13156
13186
  flags: [
@@ -13161,6 +13191,13 @@ const routes = {
13161
13191
  "type": "string",
13162
13192
  "in": "path"
13163
13193
  },
13194
+ {
13195
+ "name": "path_prefix",
13196
+ "description": "Pins the call to documents filed under this directory, by the same path-boundary rule as the listing's `path_prefix`. A document outside it is `404`, as if it did not exist; a write that would file one outside it (including a create whose default path falls outside) is `400 DOCUMENT_PATH_OUTSIDE_PREFIX`.",
13197
+ "required": false,
13198
+ "type": "string",
13199
+ "in": "query"
13200
+ },
13164
13201
  {
13165
13202
  "name": "document_id",
13166
13203
  "description": "Document ID",
@@ -13226,22 +13263,32 @@ const routes = {
13226
13263
  moduleDocsUrl: "https://naturali.ai/docs/modules/documents",
13227
13264
  httpMethod: "delete",
13228
13265
  pathParams: ["project_id", "document_id"],
13229
- queryParams: [],
13266
+ queryParams: ["path_prefix"],
13230
13267
  headerParams: [],
13231
13268
  cookieParams: [],
13232
- flags: [{
13233
- "name": "project_id",
13234
- "description": "Project public ID (proj_ prefix).",
13235
- "required": true,
13236
- "type": "string",
13237
- "in": "path"
13238
- }, {
13239
- "name": "document_id",
13240
- "description": "Document ID",
13241
- "required": true,
13242
- "type": "string",
13243
- "in": "path"
13244
- }]
13269
+ flags: [
13270
+ {
13271
+ "name": "project_id",
13272
+ "description": "Project public ID (proj_ prefix).",
13273
+ "required": true,
13274
+ "type": "string",
13275
+ "in": "path"
13276
+ },
13277
+ {
13278
+ "name": "path_prefix",
13279
+ "description": "Pins the call to documents filed under this directory, by the same path-boundary rule as the listing's `path_prefix`. A document outside it is `404`, as if it did not exist; a write that would file one outside it (including a create whose default path falls outside) is `400 DOCUMENT_PATH_OUTSIDE_PREFIX`.",
13280
+ "required": false,
13281
+ "type": "string",
13282
+ "in": "query"
13283
+ },
13284
+ {
13285
+ "name": "document_id",
13286
+ "description": "Document ID",
13287
+ "required": true,
13288
+ "type": "string",
13289
+ "in": "path"
13290
+ }
13291
+ ]
13245
13292
  },
13246
13293
  "list-document-relations": {
13247
13294
  serviceClass: "Documents",
@@ -13250,7 +13297,11 @@ const routes = {
13250
13297
  moduleDocsUrl: "https://naturali.ai/docs/modules/documents",
13251
13298
  httpMethod: "get",
13252
13299
  pathParams: ["project_id", "document_id"],
13253
- queryParams: ["limit", "cursor"],
13300
+ queryParams: [
13301
+ "path_prefix",
13302
+ "limit",
13303
+ "cursor"
13304
+ ],
13254
13305
  headerParams: [],
13255
13306
  cookieParams: [],
13256
13307
  flags: [
@@ -13261,6 +13312,13 @@ const routes = {
13261
13312
  "type": "string",
13262
13313
  "in": "path"
13263
13314
  },
13315
+ {
13316
+ "name": "path_prefix",
13317
+ "description": "Pins the call to documents filed under this directory, by the same path-boundary rule as the listing's `path_prefix`. A document outside it is `404`, as if it did not exist; a write that would file one outside it (including a create whose default path falls outside) is `400 DOCUMENT_PATH_OUTSIDE_PREFIX`.",
13318
+ "required": false,
13319
+ "type": "string",
13320
+ "in": "query"
13321
+ },
13264
13322
  {
13265
13323
  "name": "document_id",
13266
13324
  "description": "",
@@ -13291,7 +13349,7 @@ const routes = {
13291
13349
  moduleDocsUrl: "https://naturali.ai/docs/modules/documents",
13292
13350
  httpMethod: "post",
13293
13351
  pathParams: ["project_id", "document_id"],
13294
- queryParams: [],
13352
+ queryParams: ["path_prefix"],
13295
13353
  headerParams: [],
13296
13354
  cookieParams: [],
13297
13355
  flags: [
@@ -13302,6 +13360,13 @@ const routes = {
13302
13360
  "type": "string",
13303
13361
  "in": "path"
13304
13362
  },
13363
+ {
13364
+ "name": "path_prefix",
13365
+ "description": "Pins the call to documents filed under this directory, by the same path-boundary rule as the listing's `path_prefix`. A document outside it is `404`, as if it did not exist; a write that would file one outside it (including a create whose default path falls outside) is `400 DOCUMENT_PATH_OUTSIDE_PREFIX`.",
13366
+ "required": false,
13367
+ "type": "string",
13368
+ "in": "query"
13369
+ },
13305
13370
  {
13306
13371
  "name": "document_id",
13307
13372
  "description": "",
@@ -13336,7 +13401,7 @@ const routes = {
13336
13401
  "document_id",
13337
13402
  "relation_id"
13338
13403
  ],
13339
- queryParams: [],
13404
+ queryParams: ["path_prefix"],
13340
13405
  headerParams: [],
13341
13406
  cookieParams: [],
13342
13407
  flags: [
@@ -13347,6 +13412,13 @@ const routes = {
13347
13412
  "type": "string",
13348
13413
  "in": "path"
13349
13414
  },
13415
+ {
13416
+ "name": "path_prefix",
13417
+ "description": "Pins the call to documents filed under this directory, by the same path-boundary rule as the listing's `path_prefix`. A document outside it is `404`, as if it did not exist; a write that would file one outside it (including a create whose default path falls outside) is `400 DOCUMENT_PATH_OUTSIDE_PREFIX`.",
13418
+ "required": false,
13419
+ "type": "string",
13420
+ "in": "query"
13421
+ },
13350
13422
  {
13351
13423
  "name": "document_id",
13352
13424
  "description": "",
@@ -13370,22 +13442,32 @@ const routes = {
13370
13442
  moduleDocsUrl: "https://naturali.ai/docs/modules/documents",
13371
13443
  httpMethod: "get",
13372
13444
  pathParams: ["project_id", "document_id"],
13373
- queryParams: [],
13445
+ queryParams: ["path_prefix"],
13374
13446
  headerParams: [],
13375
13447
  cookieParams: [],
13376
- flags: [{
13377
- "name": "project_id",
13378
- "description": "Project public ID (proj_ prefix).",
13379
- "required": true,
13380
- "type": "string",
13381
- "in": "path"
13382
- }, {
13383
- "name": "document_id",
13384
- "description": "Document ID",
13385
- "required": true,
13386
- "type": "string",
13387
- "in": "path"
13388
- }]
13448
+ flags: [
13449
+ {
13450
+ "name": "project_id",
13451
+ "description": "Project public ID (proj_ prefix).",
13452
+ "required": true,
13453
+ "type": "string",
13454
+ "in": "path"
13455
+ },
13456
+ {
13457
+ "name": "path_prefix",
13458
+ "description": "Pins the call to documents filed under this directory, by the same path-boundary rule as the listing's `path_prefix`. A document outside it is `404`, as if it did not exist; a write that would file one outside it (including a create whose default path falls outside) is `400 DOCUMENT_PATH_OUTSIDE_PREFIX`.",
13459
+ "required": false,
13460
+ "type": "string",
13461
+ "in": "query"
13462
+ },
13463
+ {
13464
+ "name": "document_id",
13465
+ "description": "Document ID",
13466
+ "required": true,
13467
+ "type": "string",
13468
+ "in": "path"
13469
+ }
13470
+ ]
13389
13471
  },
13390
13472
  "withdraw-document": {
13391
13473
  serviceClass: "Documents",
@@ -13394,7 +13476,7 @@ const routes = {
13394
13476
  moduleDocsUrl: "https://naturali.ai/docs/modules/documents",
13395
13477
  httpMethod: "post",
13396
13478
  pathParams: ["project_id", "document_id"],
13397
- queryParams: [],
13479
+ queryParams: ["path_prefix"],
13398
13480
  headerParams: ["If-Match"],
13399
13481
  cookieParams: [],
13400
13482
  flags: [
@@ -13405,6 +13487,13 @@ const routes = {
13405
13487
  "type": "string",
13406
13488
  "in": "path"
13407
13489
  },
13490
+ {
13491
+ "name": "path_prefix",
13492
+ "description": "Pins the call to documents filed under this directory, by the same path-boundary rule as the listing's `path_prefix`. A document outside it is `404`, as if it did not exist; a write that would file one outside it (including a create whose default path falls outside) is `400 DOCUMENT_PATH_OUTSIDE_PREFIX`.",
13493
+ "required": false,
13494
+ "type": "string",
13495
+ "in": "query"
13496
+ },
13408
13497
  {
13409
13498
  "name": "document_id",
13410
13499
  "description": "",
@@ -13442,7 +13531,11 @@ const routes = {
13442
13531
  moduleDocsUrl: "https://naturali.ai/docs/modules/documents",
13443
13532
  httpMethod: "get",
13444
13533
  pathParams: ["project_id", "document_id"],
13445
- queryParams: ["limit", "cursor"],
13534
+ queryParams: [
13535
+ "path_prefix",
13536
+ "limit",
13537
+ "cursor"
13538
+ ],
13446
13539
  headerParams: [],
13447
13540
  cookieParams: [],
13448
13541
  flags: [
@@ -13453,6 +13546,13 @@ const routes = {
13453
13546
  "type": "string",
13454
13547
  "in": "path"
13455
13548
  },
13549
+ {
13550
+ "name": "path_prefix",
13551
+ "description": "Pins the call to documents filed under this directory, by the same path-boundary rule as the listing's `path_prefix`. A document outside it is `404`, as if it did not exist; a write that would file one outside it (including a create whose default path falls outside) is `400 DOCUMENT_PATH_OUTSIDE_PREFIX`.",
13552
+ "required": false,
13553
+ "type": "string",
13554
+ "in": "query"
13555
+ },
13456
13556
  {
13457
13557
  "name": "document_id",
13458
13558
  "description": "",
@@ -13487,7 +13587,7 @@ const routes = {
13487
13587
  "document_id",
13488
13588
  "version"
13489
13589
  ],
13490
- queryParams: [],
13590
+ queryParams: ["path_prefix"],
13491
13591
  headerParams: [],
13492
13592
  cookieParams: [],
13493
13593
  flags: [
@@ -13498,6 +13598,13 @@ const routes = {
13498
13598
  "type": "string",
13499
13599
  "in": "path"
13500
13600
  },
13601
+ {
13602
+ "name": "path_prefix",
13603
+ "description": "Pins the call to documents filed under this directory, by the same path-boundary rule as the listing's `path_prefix`. A document outside it is `404`, as if it did not exist; a write that would file one outside it (including a create whose default path falls outside) is `400 DOCUMENT_PATH_OUTSIDE_PREFIX`.",
13604
+ "required": false,
13605
+ "type": "string",
13606
+ "in": "query"
13607
+ },
13501
13608
  {
13502
13609
  "name": "document_id",
13503
13610
  "description": "",
@@ -13525,7 +13632,7 @@ const routes = {
13525
13632
  "document_id",
13526
13633
  "version"
13527
13634
  ],
13528
- queryParams: [],
13635
+ queryParams: ["path_prefix"],
13529
13636
  headerParams: [],
13530
13637
  cookieParams: [],
13531
13638
  flags: [
@@ -13536,6 +13643,13 @@ const routes = {
13536
13643
  "type": "string",
13537
13644
  "in": "path"
13538
13645
  },
13646
+ {
13647
+ "name": "path_prefix",
13648
+ "description": "Pins the call to documents filed under this directory, by the same path-boundary rule as the listing's `path_prefix`. A document outside it is `404`, as if it did not exist; a write that would file one outside it (including a create whose default path falls outside) is `400 DOCUMENT_PATH_OUTSIDE_PREFIX`.",
13649
+ "required": false,
13650
+ "type": "string",
13651
+ "in": "query"
13652
+ },
13539
13653
  {
13540
13654
  "name": "document_id",
13541
13655
  "description": "",
@@ -13566,7 +13680,7 @@ const routes = {
13566
13680
  moduleDocsUrl: "https://naturali.ai/docs/modules/documents",
13567
13681
  httpMethod: "post",
13568
13682
  pathParams: ["project_id", "document_id"],
13569
- queryParams: ["wait"],
13683
+ queryParams: ["path_prefix", "wait"],
13570
13684
  headerParams: [],
13571
13685
  cookieParams: [],
13572
13686
  flags: [
@@ -13577,6 +13691,13 @@ const routes = {
13577
13691
  "type": "string",
13578
13692
  "in": "path"
13579
13693
  },
13694
+ {
13695
+ "name": "path_prefix",
13696
+ "description": "Pins the call to documents filed under this directory, by the same path-boundary rule as the listing's `path_prefix`. A document outside it is `404`, as if it did not exist; a write that would file one outside it (including a create whose default path falls outside) is `400 DOCUMENT_PATH_OUTSIDE_PREFIX`.",
13697
+ "required": false,
13698
+ "type": "string",
13699
+ "in": "query"
13700
+ },
13580
13701
  {
13581
13702
  "name": "document_id",
13582
13703
  "description": "Document ID",
@@ -13635,22 +13756,32 @@ const routes = {
13635
13756
  moduleDocsUrl: "https://naturali.ai/docs/modules/documents",
13636
13757
  httpMethod: "get",
13637
13758
  pathParams: ["project_id", "document_id"],
13638
- queryParams: [],
13759
+ queryParams: ["path_prefix"],
13639
13760
  headerParams: [],
13640
13761
  cookieParams: [],
13641
- flags: [{
13642
- "name": "project_id",
13643
- "description": "Project public ID (proj_ prefix).",
13644
- "required": true,
13645
- "type": "string",
13646
- "in": "path"
13647
- }, {
13648
- "name": "document_id",
13649
- "description": "Document ID",
13650
- "required": true,
13651
- "type": "string",
13652
- "in": "path"
13653
- }]
13762
+ flags: [
13763
+ {
13764
+ "name": "project_id",
13765
+ "description": "Project public ID (proj_ prefix).",
13766
+ "required": true,
13767
+ "type": "string",
13768
+ "in": "path"
13769
+ },
13770
+ {
13771
+ "name": "path_prefix",
13772
+ "description": "Pins the call to documents filed under this directory, by the same path-boundary rule as the listing's `path_prefix`. A document outside it is `404`, as if it did not exist; a write that would file one outside it (including a create whose default path falls outside) is `400 DOCUMENT_PATH_OUTSIDE_PREFIX`.",
13773
+ "required": false,
13774
+ "type": "string",
13775
+ "in": "query"
13776
+ },
13777
+ {
13778
+ "name": "document_id",
13779
+ "description": "Document ID",
13780
+ "required": true,
13781
+ "type": "string",
13782
+ "in": "path"
13783
+ }
13784
+ ]
13654
13785
  },
13655
13786
  "replace-document-tags": {
13656
13787
  serviceClass: "Documents",
@@ -13659,7 +13790,7 @@ const routes = {
13659
13790
  moduleDocsUrl: "https://naturali.ai/docs/modules/documents",
13660
13791
  httpMethod: "put",
13661
13792
  pathParams: ["project_id", "document_id"],
13662
- queryParams: [],
13793
+ queryParams: ["path_prefix"],
13663
13794
  headerParams: [],
13664
13795
  cookieParams: [],
13665
13796
  flags: [
@@ -13670,6 +13801,13 @@ const routes = {
13670
13801
  "type": "string",
13671
13802
  "in": "path"
13672
13803
  },
13804
+ {
13805
+ "name": "path_prefix",
13806
+ "description": "Pins the call to documents filed under this directory, by the same path-boundary rule as the listing's `path_prefix`. A document outside it is `404`, as if it did not exist; a write that would file one outside it (including a create whose default path falls outside) is `400 DOCUMENT_PATH_OUTSIDE_PREFIX`.",
13807
+ "required": false,
13808
+ "type": "string",
13809
+ "in": "query"
13810
+ },
13673
13811
  {
13674
13812
  "name": "document_id",
13675
13813
  "description": "Document ID",
@@ -13693,7 +13831,7 @@ const routes = {
13693
13831
  moduleDocsUrl: "https://naturali.ai/docs/modules/documents",
13694
13832
  httpMethod: "patch",
13695
13833
  pathParams: ["project_id", "document_id"],
13696
- queryParams: [],
13834
+ queryParams: ["path_prefix"],
13697
13835
  headerParams: [],
13698
13836
  cookieParams: [],
13699
13837
  flags: [
@@ -13704,6 +13842,13 @@ const routes = {
13704
13842
  "type": "string",
13705
13843
  "in": "path"
13706
13844
  },
13845
+ {
13846
+ "name": "path_prefix",
13847
+ "description": "Pins the call to documents filed under this directory, by the same path-boundary rule as the listing's `path_prefix`. A document outside it is `404`, as if it did not exist; a write that would file one outside it (including a create whose default path falls outside) is `400 DOCUMENT_PATH_OUTSIDE_PREFIX`.",
13848
+ "required": false,
13849
+ "type": "string",
13850
+ "in": "query"
13851
+ },
13707
13852
  {
13708
13853
  "name": "document_id",
13709
13854
  "description": "Document ID",
@@ -17539,22 +17684,32 @@ const routes = {
17539
17684
  moduleDocsUrl: "https://naturali.ai/docs/modules/memories",
17540
17685
  httpMethod: "get",
17541
17686
  pathParams: ["project_id", "memory_id"],
17542
- queryParams: [],
17687
+ queryParams: ["memory_store_id"],
17543
17688
  headerParams: [],
17544
17689
  cookieParams: [],
17545
- flags: [{
17546
- "name": "project_id",
17547
- "description": "Project public ID (proj_ prefix).",
17548
- "required": true,
17549
- "type": "string",
17550
- "in": "path"
17551
- }, {
17552
- "name": "memory_id",
17553
- "description": "",
17554
- "required": true,
17555
- "type": "string",
17556
- "in": "path"
17557
- }]
17690
+ flags: [
17691
+ {
17692
+ "name": "project_id",
17693
+ "description": "Project public ID (proj_ prefix).",
17694
+ "required": true,
17695
+ "type": "string",
17696
+ "in": "path"
17697
+ },
17698
+ {
17699
+ "name": "memory_store_id",
17700
+ "description": "Pins the call to memories of this store, the same parameter that scopes the listing. A memory of another store is `404`, as if it did not exist.",
17701
+ "required": false,
17702
+ "type": "string",
17703
+ "in": "query"
17704
+ },
17705
+ {
17706
+ "name": "memory_id",
17707
+ "description": "",
17708
+ "required": true,
17709
+ "type": "string",
17710
+ "in": "path"
17711
+ }
17712
+ ]
17558
17713
  },
17559
17714
  "update-memory": {
17560
17715
  serviceClass: "Memories",
@@ -17563,7 +17718,7 @@ const routes = {
17563
17718
  moduleDocsUrl: "https://naturali.ai/docs/modules/memories",
17564
17719
  httpMethod: "put",
17565
17720
  pathParams: ["project_id", "memory_id"],
17566
- queryParams: [],
17721
+ queryParams: ["memory_store_id"],
17567
17722
  headerParams: ["If-Match"],
17568
17723
  cookieParams: [],
17569
17724
  flags: [
@@ -17574,6 +17729,13 @@ const routes = {
17574
17729
  "type": "string",
17575
17730
  "in": "path"
17576
17731
  },
17732
+ {
17733
+ "name": "memory_store_id",
17734
+ "description": "Pins the call to memories of this store, the same parameter that scopes the listing. A memory of another store is `404`, as if it did not exist.",
17735
+ "required": false,
17736
+ "type": "string",
17737
+ "in": "query"
17738
+ },
17577
17739
  {
17578
17740
  "name": "memory_id",
17579
17741
  "description": "",
@@ -17625,22 +17787,32 @@ const routes = {
17625
17787
  moduleDocsUrl: "https://naturali.ai/docs/modules/memories",
17626
17788
  httpMethod: "delete",
17627
17789
  pathParams: ["project_id", "memory_id"],
17628
- queryParams: [],
17790
+ queryParams: ["memory_store_id"],
17629
17791
  headerParams: [],
17630
17792
  cookieParams: [],
17631
- flags: [{
17632
- "name": "project_id",
17633
- "description": "Project public ID (proj_ prefix).",
17634
- "required": true,
17635
- "type": "string",
17636
- "in": "path"
17637
- }, {
17638
- "name": "memory_id",
17639
- "description": "",
17640
- "required": true,
17641
- "type": "string",
17642
- "in": "path"
17643
- }]
17793
+ flags: [
17794
+ {
17795
+ "name": "project_id",
17796
+ "description": "Project public ID (proj_ prefix).",
17797
+ "required": true,
17798
+ "type": "string",
17799
+ "in": "path"
17800
+ },
17801
+ {
17802
+ "name": "memory_store_id",
17803
+ "description": "Pins the call to memories of this store, the same parameter that scopes the listing. A memory of another store is `404`, as if it did not exist.",
17804
+ "required": false,
17805
+ "type": "string",
17806
+ "in": "query"
17807
+ },
17808
+ {
17809
+ "name": "memory_id",
17810
+ "description": "",
17811
+ "required": true,
17812
+ "type": "string",
17813
+ "in": "path"
17814
+ }
17815
+ ]
17644
17816
  },
17645
17817
  "retract-memory": {
17646
17818
  serviceClass: "Memories",
@@ -17649,7 +17821,7 @@ const routes = {
17649
17821
  moduleDocsUrl: "https://naturali.ai/docs/modules/memories",
17650
17822
  httpMethod: "post",
17651
17823
  pathParams: ["project_id", "memory_id"],
17652
- queryParams: [],
17824
+ queryParams: ["memory_store_id"],
17653
17825
  headerParams: ["If-Match"],
17654
17826
  cookieParams: [],
17655
17827
  flags: [
@@ -17660,6 +17832,13 @@ const routes = {
17660
17832
  "type": "string",
17661
17833
  "in": "path"
17662
17834
  },
17835
+ {
17836
+ "name": "memory_store_id",
17837
+ "description": "Pins the call to memories of this store, the same parameter that scopes the listing. A memory of another store is `404`, as if it did not exist.",
17838
+ "required": false,
17839
+ "type": "string",
17840
+ "in": "query"
17841
+ },
17663
17842
  {
17664
17843
  "name": "memory_id",
17665
17844
  "description": "",
@@ -17690,7 +17869,11 @@ const routes = {
17690
17869
  moduleDocsUrl: "https://naturali.ai/docs/modules/memories",
17691
17870
  httpMethod: "get",
17692
17871
  pathParams: ["project_id", "memory_id"],
17693
- queryParams: ["limit", "cursor"],
17872
+ queryParams: [
17873
+ "memory_store_id",
17874
+ "limit",
17875
+ "cursor"
17876
+ ],
17694
17877
  headerParams: [],
17695
17878
  cookieParams: [],
17696
17879
  flags: [
@@ -17701,6 +17884,13 @@ const routes = {
17701
17884
  "type": "string",
17702
17885
  "in": "path"
17703
17886
  },
17887
+ {
17888
+ "name": "memory_store_id",
17889
+ "description": "Pins the call to memories of this store, the same parameter that scopes the listing. A memory of another store is `404`, as if it did not exist.",
17890
+ "required": false,
17891
+ "type": "string",
17892
+ "in": "query"
17893
+ },
17704
17894
  {
17705
17895
  "name": "memory_id",
17706
17896
  "description": "",
@@ -17731,22 +17921,32 @@ const routes = {
17731
17921
  moduleDocsUrl: "https://naturali.ai/docs/modules/memories",
17732
17922
  httpMethod: "get",
17733
17923
  pathParams: ["project_id", "memory_id"],
17734
- queryParams: [],
17924
+ queryParams: ["memory_store_id"],
17735
17925
  headerParams: [],
17736
17926
  cookieParams: [],
17737
- flags: [{
17738
- "name": "project_id",
17739
- "description": "Project public ID (proj_ prefix).",
17740
- "required": true,
17741
- "type": "string",
17742
- "in": "path"
17743
- }, {
17744
- "name": "memory_id",
17745
- "description": "Memory ID",
17746
- "required": true,
17747
- "type": "string",
17748
- "in": "path"
17749
- }]
17927
+ flags: [
17928
+ {
17929
+ "name": "project_id",
17930
+ "description": "Project public ID (proj_ prefix).",
17931
+ "required": true,
17932
+ "type": "string",
17933
+ "in": "path"
17934
+ },
17935
+ {
17936
+ "name": "memory_store_id",
17937
+ "description": "Pins the call to memories of this store, the same parameter that scopes the listing. A memory of another store is `404`, as if it did not exist.",
17938
+ "required": false,
17939
+ "type": "string",
17940
+ "in": "query"
17941
+ },
17942
+ {
17943
+ "name": "memory_id",
17944
+ "description": "Memory ID",
17945
+ "required": true,
17946
+ "type": "string",
17947
+ "in": "path"
17948
+ }
17949
+ ]
17750
17950
  },
17751
17951
  "replace-memory-tags": {
17752
17952
  serviceClass: "Memories",
@@ -17755,7 +17955,7 @@ const routes = {
17755
17955
  moduleDocsUrl: "https://naturali.ai/docs/modules/memories",
17756
17956
  httpMethod: "put",
17757
17957
  pathParams: ["project_id", "memory_id"],
17758
- queryParams: [],
17958
+ queryParams: ["memory_store_id"],
17759
17959
  headerParams: [],
17760
17960
  cookieParams: [],
17761
17961
  flags: [
@@ -17766,6 +17966,13 @@ const routes = {
17766
17966
  "type": "string",
17767
17967
  "in": "path"
17768
17968
  },
17969
+ {
17970
+ "name": "memory_store_id",
17971
+ "description": "Pins the call to memories of this store, the same parameter that scopes the listing. A memory of another store is `404`, as if it did not exist.",
17972
+ "required": false,
17973
+ "type": "string",
17974
+ "in": "query"
17975
+ },
17769
17976
  {
17770
17977
  "name": "memory_id",
17771
17978
  "description": "Memory ID",
@@ -17789,7 +17996,7 @@ const routes = {
17789
17996
  moduleDocsUrl: "https://naturali.ai/docs/modules/memories",
17790
17997
  httpMethod: "patch",
17791
17998
  pathParams: ["project_id", "memory_id"],
17792
- queryParams: [],
17999
+ queryParams: ["memory_store_id"],
17793
18000
  headerParams: [],
17794
18001
  cookieParams: [],
17795
18002
  flags: [
@@ -17800,6 +18007,13 @@ const routes = {
17800
18007
  "type": "string",
17801
18008
  "in": "path"
17802
18009
  },
18010
+ {
18011
+ "name": "memory_store_id",
18012
+ "description": "Pins the call to memories of this store, the same parameter that scopes the listing. A memory of another store is `404`, as if it did not exist.",
18013
+ "required": false,
18014
+ "type": "string",
18015
+ "in": "query"
18016
+ },
17803
18017
  {
17804
18018
  "name": "memory_id",
17805
18019
  "description": "Memory ID",
@@ -23802,6 +24016,47 @@ const routes = {
23802
24016
  }
23803
24017
  ]
23804
24018
  },
24019
+ "list-tool-actions": {
24020
+ serviceClass: "Tools",
24021
+ operationId: "listToolActions",
24022
+ description: "Lists the actions an `mcp` tool exposes, read from its server's `tools/list` with the tool's `mcp.headers` resolved server-side: each action's `name`, `description` and `input_schema`, as a model bound to the tool sees them. `actions` and `denied_actions` apply, and a `preset_parameters` key an action's schema declares is removed from that schema. Other tool types are `400`. The server answers its whole listing in one call; `limit` and `cursor` page what it returned, in its order. Authorized as a call (`tools:CallTool`), since listing reaches the tool's server with its credential.",
24023
+ moduleDocsUrl: "https://naturali.ai/docs/modules/tools",
24024
+ httpMethod: "get",
24025
+ pathParams: ["project_id", "tool_id"],
24026
+ queryParams: ["limit", "cursor"],
24027
+ headerParams: [],
24028
+ cookieParams: [],
24029
+ flags: [
24030
+ {
24031
+ "name": "project_id",
24032
+ "description": "Project public ID (proj_ prefix).",
24033
+ "required": true,
24034
+ "type": "string",
24035
+ "in": "path"
24036
+ },
24037
+ {
24038
+ "name": "tool_id",
24039
+ "description": "The `mcp` tool whose actions to list",
24040
+ "required": true,
24041
+ "type": "string",
24042
+ "in": "path"
24043
+ },
24044
+ {
24045
+ "name": "limit",
24046
+ "description": "Results per page, 1 to 100 (default 50). Above 100 it is clamped; below 1 or not an integer it is `400`.",
24047
+ "required": false,
24048
+ "type": "integer",
24049
+ "in": "query"
24050
+ },
24051
+ {
24052
+ "name": "cursor",
24053
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
24054
+ "required": false,
24055
+ "type": "string",
24056
+ "in": "query"
24057
+ }
24058
+ ]
24059
+ },
23805
24060
  "list-traces": {
23806
24061
  serviceClass: "Traces",
23807
24062
  operationId: "listTraces",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturali/cli",
3
- "version": "0.224.0",
3
+ "version": "0.225.1",
4
4
  "description": "Command-line interface for the naturali.ai API, generated from its OpenAPI specs",
5
5
  "keywords": [
6
6
  "naturali",
@@ -31,7 +31,7 @@
31
31
  "yaml": "^2.9.1"
32
32
  },
33
33
  "devDependencies": {
34
- "@naturali/sdk": "0.224.0",
34
+ "@naturali/sdk": "0.225.1",
35
35
  "@ttoss/openapi-codegen": "^0.10.0",
36
36
  "@types/node": "^26.5.1",
37
37
  "tsdown": "^0.23.0",