@orq-ai/node 3.13.9 → 3.13.11
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.
- package/README.md +107 -93
- package/bin/mcp-server.js +43652 -40649
- package/bin/mcp-server.js.map +117 -98
- package/docs/sdks/agents/README.md +566 -0
- package/examples/package-lock.json +1 -1
- package/funcs/agentsCreate.d.ts +18 -0
- package/funcs/agentsCreate.d.ts.map +1 -0
- package/funcs/agentsCreate.js +120 -0
- package/funcs/agentsCreate.js.map +1 -0
- package/funcs/agentsDelete.d.ts +18 -0
- package/funcs/agentsDelete.d.ts.map +1 -0
- package/funcs/agentsDelete.js +124 -0
- package/funcs/agentsDelete.js.map +1 -0
- package/funcs/agentsInvoke.d.ts +17 -0
- package/funcs/agentsInvoke.d.ts.map +1 -0
- package/funcs/agentsInvoke.js +120 -0
- package/funcs/agentsInvoke.js.map +1 -0
- package/funcs/agentsStream.d.ts +19 -0
- package/funcs/agentsStream.d.ts.map +1 -0
- package/funcs/agentsStream.js +134 -0
- package/funcs/agentsStream.js.map +1 -0
- package/funcs/agentsUpdate.d.ts +18 -0
- package/funcs/agentsUpdate.d.ts.map +1 -0
- package/funcs/agentsUpdate.js +124 -0
- package/funcs/agentsUpdate.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/mcp-server.js.map +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +11 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/agentsCreate.d.ts +8 -0
- package/mcp-server/tools/agentsCreate.d.ts.map +1 -0
- package/mcp-server/tools/agentsCreate.js +64 -0
- package/mcp-server/tools/agentsCreate.js.map +1 -0
- package/mcp-server/tools/agentsDelete.d.ts +8 -0
- package/mcp-server/tools/agentsDelete.d.ts.map +1 -0
- package/mcp-server/tools/agentsDelete.js +63 -0
- package/mcp-server/tools/agentsDelete.js.map +1 -0
- package/mcp-server/tools/agentsInvoke.d.ts +8 -0
- package/mcp-server/tools/agentsInvoke.d.ts.map +1 -0
- package/mcp-server/tools/agentsInvoke.js +64 -0
- package/mcp-server/tools/agentsInvoke.js.map +1 -0
- package/mcp-server/tools/agentsStream.d.ts +8 -0
- package/mcp-server/tools/agentsStream.d.ts.map +1 -0
- package/mcp-server/tools/agentsStream.js +64 -0
- package/mcp-server/tools/agentsStream.js.map +1 -0
- package/mcp-server/tools/agentsUpdate.d.ts +8 -0
- package/mcp-server/tools/agentsUpdate.d.ts.map +1 -0
- package/mcp-server/tools/agentsUpdate.js +64 -0
- package/mcp-server/tools/agentsUpdate.js.map +1 -0
- package/models/errors/createagent.d.ts +41 -0
- package/models/errors/createagent.d.ts.map +1 -0
- package/models/errors/createagent.js +85 -0
- package/models/errors/createagent.js.map +1 -0
- package/models/errors/deleteagent.d.ts +41 -0
- package/models/errors/deleteagent.d.ts.map +1 -0
- package/models/errors/deleteagent.js +85 -0
- package/models/errors/deleteagent.js.map +1 -0
- package/models/errors/index.d.ts +4 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +4 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/streamagent.d.ts +41 -0
- package/models/errors/streamagent.d.ts.map +1 -0
- package/models/errors/streamagent.js +85 -0
- package/models/errors/streamagent.js.map +1 -0
- package/models/errors/updateagent.d.ts +41 -0
- package/models/errors/updateagent.d.ts.map +1 -0
- package/models/errors/updateagent.js +85 -0
- package/models/errors/updateagent.js.map +1 -0
- package/models/operations/createagent.d.ts +1504 -0
- package/models/operations/createagent.d.ts.map +1 -0
- package/models/operations/createagent.js +1530 -0
- package/models/operations/createagent.js.map +1 -0
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.d.ts +20 -20
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +34 -34
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/deleteagent.d.ts +32 -0
- package/models/operations/deleteagent.d.ts.map +1 -0
- package/models/operations/deleteagent.js +78 -0
- package/models/operations/deleteagent.js.map +1 -0
- package/models/operations/duplicatetool.d.ts +10 -10
- package/models/operations/duplicatetool.d.ts.map +1 -1
- package/models/operations/duplicatetool.js +20 -20
- package/models/operations/duplicatetool.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getagent.d.ts +44 -175
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +51 -184
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getalltools.d.ts +10 -10
- package/models/operations/getalltools.d.ts.map +1 -1
- package/models/operations/getalltools.js +20 -20
- package/models/operations/getalltools.js.map +1 -1
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/index.d.ts +5 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +5 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/invokeagent.d.ts +912 -0
- package/models/operations/invokeagent.d.ts.map +1 -0
- package/models/operations/invokeagent.js +824 -0
- package/models/operations/invokeagent.js.map +1 -0
- package/models/operations/listagents.d.ts +6 -137
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +3 -139
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listagenttasks.d.ts +5 -0
- package/models/operations/listagenttasks.d.ts.map +1 -1
- package/models/operations/listagenttasks.js +2 -0
- package/models/operations/listagenttasks.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.d.ts +10 -10
- package/models/operations/retrievetool.d.ts.map +1 -1
- package/models/operations/retrievetool.js +20 -20
- package/models/operations/retrievetool.js.map +1 -1
- package/models/operations/runagent.d.ts +640 -721
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +817 -928
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamagent.d.ts +676 -0
- package/models/operations/streamagent.d.ts.map +1 -0
- package/models/operations/streamagent.js +670 -0
- package/models/operations/streamagent.js.map +1 -0
- package/models/operations/streamrunagent.d.ts +567 -648
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +721 -835
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +1515 -0
- package/models/operations/updateagent.d.ts.map +1 -0
- package/models/operations/updateagent.js +1576 -0
- package/models/operations/updateagent.js.map +1 -0
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.d.ts +18 -18
- package/models/operations/updatetool.d.ts.map +1 -1
- package/models/operations/updatetool.js +36 -36
- package/models/operations/updatetool.js.map +1 -1
- package/package.json +1 -1
- package/packages/orq-rc/README.md +103 -94
- package/packages/orq-rc/docs/sdks/agents/README.md +297 -0
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/funcs/agentsCreate.ts +172 -0
- package/packages/orq-rc/src/funcs/agentsDelete.ts +176 -0
- package/packages/orq-rc/src/funcs/agentsUpdate.ts +176 -0
- package/packages/orq-rc/src/lib/config.ts +2 -2
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +7 -1
- package/packages/orq-rc/src/mcp-server/tools/agentsCreate.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/agentsDelete.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/agentsUpdate.ts +37 -0
- package/packages/orq-rc/src/models/errors/createagent.ts +80 -0
- package/packages/orq-rc/src/models/errors/deleteagent.ts +80 -0
- package/packages/orq-rc/src/models/errors/index.ts +3 -0
- package/packages/orq-rc/src/models/errors/updateagent.ts +80 -0
- package/packages/orq-rc/src/models/operations/createagent.ts +3027 -0
- package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +8 -8
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/createtool.ts +50 -50
- package/packages/orq-rc/src/models/operations/deleteagent.ts +78 -0
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +30 -30
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getagent.ts +87 -387
- package/packages/orq-rc/src/models/operations/getalltools.ts +33 -33
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/index.ts +3 -0
- package/packages/orq-rc/src/models/operations/invokeagent.ts +12 -4
- package/packages/orq-rc/src/models/operations/listagents.ts +8 -321
- package/packages/orq-rc/src/models/operations/listagenttasks.ts +7 -0
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +8 -8
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievetool.ts +30 -30
- package/packages/orq-rc/src/models/operations/runagent.ts +1003 -1113
- package/packages/orq-rc/src/models/operations/streamagent.ts +4 -2
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1276 -1427
- package/packages/orq-rc/src/models/operations/updateagent.ts +3239 -0
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +8 -8
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/updatetool.ts +56 -56
- package/packages/orq-rc/src/sdk/agents.ts +54 -0
- package/sdk/agents.d.ts +35 -0
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js +50 -0
- package/sdk/agents.js.map +1 -1
- package/src/funcs/agentsCreate.ts +172 -0
- package/src/funcs/agentsDelete.ts +176 -0
- package/src/funcs/agentsInvoke.ts +167 -0
- package/src/funcs/agentsStream.ts +191 -0
- package/src/funcs/agentsUpdate.ts +176 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +11 -1
- package/src/mcp-server/tools/agentsCreate.ts +37 -0
- package/src/mcp-server/tools/agentsDelete.ts +35 -0
- package/src/mcp-server/tools/agentsInvoke.ts +37 -0
- package/src/mcp-server/tools/agentsStream.ts +37 -0
- package/src/mcp-server/tools/agentsUpdate.ts +37 -0
- package/src/models/errors/createagent.ts +80 -0
- package/src/models/errors/deleteagent.ts +80 -0
- package/src/models/errors/index.ts +4 -0
- package/src/models/errors/streamagent.ts +80 -0
- package/src/models/errors/updateagent.ts +80 -0
- package/src/models/operations/createagent.ts +3021 -0
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +54 -54
- package/src/models/operations/deleteagent.ts +78 -0
- package/src/models/operations/duplicatetool.ts +30 -30
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getagent.ts +87 -387
- package/src/models/operations/getalltools.ts +30 -30
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/index.ts +5 -0
- package/src/models/operations/invokeagent.ts +1569 -0
- package/src/models/operations/listagents.ts +8 -321
- package/src/models/operations/listagenttasks.ts +7 -0
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +30 -30
- package/src/models/operations/runagent.ts +1441 -1488
- package/src/models/operations/streamagent.ts +1367 -0
- package/src/models/operations/streamrunagent.ts +1542 -1657
- package/src/models/operations/updateagent.ts +3227 -0
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatetool.ts +60 -60
- package/src/sdk/agents.ts +90 -0
|
@@ -67,7 +67,7 @@ export type RequestBody5 = {
|
|
|
67
67
|
/**
|
|
68
68
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
69
69
|
*/
|
|
70
|
-
displayName
|
|
70
|
+
displayName?: string | undefined;
|
|
71
71
|
/**
|
|
72
72
|
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
73
73
|
*/
|
|
@@ -181,7 +181,7 @@ export type RequestBody4 = {
|
|
|
181
181
|
/**
|
|
182
182
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
183
183
|
*/
|
|
184
|
-
displayName
|
|
184
|
+
displayName?: string | undefined;
|
|
185
185
|
/**
|
|
186
186
|
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
187
187
|
*/
|
|
@@ -323,7 +323,7 @@ export type RequestBody3 = {
|
|
|
323
323
|
/**
|
|
324
324
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
325
325
|
*/
|
|
326
|
-
displayName
|
|
326
|
+
displayName?: string | undefined;
|
|
327
327
|
/**
|
|
328
328
|
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
329
329
|
*/
|
|
@@ -396,7 +396,7 @@ export type CreateToolRequestBody2 = {
|
|
|
396
396
|
/**
|
|
397
397
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
398
398
|
*/
|
|
399
|
-
displayName
|
|
399
|
+
displayName?: string | undefined;
|
|
400
400
|
/**
|
|
401
401
|
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
402
402
|
*/
|
|
@@ -467,7 +467,7 @@ export type CreateToolRequestBody1 = {
|
|
|
467
467
|
/**
|
|
468
468
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
469
469
|
*/
|
|
470
|
-
displayName
|
|
470
|
+
displayName?: string | undefined;
|
|
471
471
|
/**
|
|
472
472
|
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
473
473
|
*/
|
|
@@ -548,7 +548,7 @@ export type ResponseBody5 = {
|
|
|
548
548
|
/**
|
|
549
549
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
550
550
|
*/
|
|
551
|
-
displayName
|
|
551
|
+
displayName?: string | undefined;
|
|
552
552
|
/**
|
|
553
553
|
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
554
554
|
*/
|
|
@@ -677,7 +677,7 @@ export type ResponseBody4 = {
|
|
|
677
677
|
/**
|
|
678
678
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
679
679
|
*/
|
|
680
|
-
displayName
|
|
680
|
+
displayName?: string | undefined;
|
|
681
681
|
/**
|
|
682
682
|
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
683
683
|
*/
|
|
@@ -832,7 +832,7 @@ export type ResponseBody3 = {
|
|
|
832
832
|
/**
|
|
833
833
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
834
834
|
*/
|
|
835
|
-
displayName
|
|
835
|
+
displayName?: string | undefined;
|
|
836
836
|
/**
|
|
837
837
|
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
838
838
|
*/
|
|
@@ -919,7 +919,7 @@ export type CreateToolResponseBody2 = {
|
|
|
919
919
|
/**
|
|
920
920
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
921
921
|
*/
|
|
922
|
-
displayName
|
|
922
|
+
displayName?: string | undefined;
|
|
923
923
|
/**
|
|
924
924
|
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
925
925
|
*/
|
|
@@ -1004,7 +1004,7 @@ export type CreateToolResponseBody1 = {
|
|
|
1004
1004
|
/**
|
|
1005
1005
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
1006
1006
|
*/
|
|
1007
|
-
displayName
|
|
1007
|
+
displayName?: string | undefined;
|
|
1008
1008
|
/**
|
|
1009
1009
|
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
1010
1010
|
*/
|
|
@@ -1176,7 +1176,7 @@ export const RequestBody5$inboundSchema: z.ZodType<
|
|
|
1176
1176
|
> = z.object({
|
|
1177
1177
|
path: z.string(),
|
|
1178
1178
|
key: z.string(),
|
|
1179
|
-
display_name: z.string(),
|
|
1179
|
+
display_name: z.string().optional(),
|
|
1180
1180
|
description: z.string(),
|
|
1181
1181
|
status: CreateToolRequestBodyToolsRequest5Status$inboundSchema.default(
|
|
1182
1182
|
"live",
|
|
@@ -1194,7 +1194,7 @@ export const RequestBody5$inboundSchema: z.ZodType<
|
|
|
1194
1194
|
export type RequestBody5$Outbound = {
|
|
1195
1195
|
path: string;
|
|
1196
1196
|
key: string;
|
|
1197
|
-
display_name
|
|
1197
|
+
display_name?: string | undefined;
|
|
1198
1198
|
description: string;
|
|
1199
1199
|
status: string;
|
|
1200
1200
|
type: string;
|
|
@@ -1209,7 +1209,7 @@ export const RequestBody5$outboundSchema: z.ZodType<
|
|
|
1209
1209
|
> = z.object({
|
|
1210
1210
|
path: z.string(),
|
|
1211
1211
|
key: z.string(),
|
|
1212
|
-
displayName: z.string(),
|
|
1212
|
+
displayName: z.string().optional(),
|
|
1213
1213
|
description: z.string(),
|
|
1214
1214
|
status: CreateToolRequestBodyToolsRequest5Status$outboundSchema.default(
|
|
1215
1215
|
"live",
|
|
@@ -1530,7 +1530,7 @@ export const RequestBody4$inboundSchema: z.ZodType<
|
|
|
1530
1530
|
> = z.object({
|
|
1531
1531
|
path: z.string(),
|
|
1532
1532
|
key: z.string(),
|
|
1533
|
-
display_name: z.string(),
|
|
1533
|
+
display_name: z.string().optional(),
|
|
1534
1534
|
description: z.string(),
|
|
1535
1535
|
status: CreateToolRequestBodyToolsRequestStatus$inboundSchema.default("live"),
|
|
1536
1536
|
type: CreateToolRequestBodyToolsRequest4Type$inboundSchema,
|
|
@@ -1545,7 +1545,7 @@ export const RequestBody4$inboundSchema: z.ZodType<
|
|
|
1545
1545
|
export type RequestBody4$Outbound = {
|
|
1546
1546
|
path: string;
|
|
1547
1547
|
key: string;
|
|
1548
|
-
display_name
|
|
1548
|
+
display_name?: string | undefined;
|
|
1549
1549
|
description: string;
|
|
1550
1550
|
status: string;
|
|
1551
1551
|
type: string;
|
|
@@ -1560,7 +1560,7 @@ export const RequestBody4$outboundSchema: z.ZodType<
|
|
|
1560
1560
|
> = z.object({
|
|
1561
1561
|
path: z.string(),
|
|
1562
1562
|
key: z.string(),
|
|
1563
|
-
displayName: z.string(),
|
|
1563
|
+
displayName: z.string().optional(),
|
|
1564
1564
|
description: z.string(),
|
|
1565
1565
|
status: CreateToolRequestBodyToolsRequestStatus$outboundSchema.default(
|
|
1566
1566
|
"live",
|
|
@@ -1941,7 +1941,7 @@ export const RequestBody3$inboundSchema: z.ZodType<
|
|
|
1941
1941
|
> = z.object({
|
|
1942
1942
|
path: z.string(),
|
|
1943
1943
|
key: z.string(),
|
|
1944
|
-
display_name: z.string(),
|
|
1944
|
+
display_name: z.string().optional(),
|
|
1945
1945
|
description: z.string(),
|
|
1946
1946
|
status: CreateToolRequestBodyToolsStatus$inboundSchema.default("live"),
|
|
1947
1947
|
type: CreateToolRequestBodyToolsRequestType$inboundSchema,
|
|
@@ -1956,7 +1956,7 @@ export const RequestBody3$inboundSchema: z.ZodType<
|
|
|
1956
1956
|
export type RequestBody3$Outbound = {
|
|
1957
1957
|
path: string;
|
|
1958
1958
|
key: string;
|
|
1959
|
-
display_name
|
|
1959
|
+
display_name?: string | undefined;
|
|
1960
1960
|
description: string;
|
|
1961
1961
|
status: string;
|
|
1962
1962
|
type: string;
|
|
@@ -1971,7 +1971,7 @@ export const RequestBody3$outboundSchema: z.ZodType<
|
|
|
1971
1971
|
> = z.object({
|
|
1972
1972
|
path: z.string(),
|
|
1973
1973
|
key: z.string(),
|
|
1974
|
-
displayName: z.string(),
|
|
1974
|
+
displayName: z.string().optional(),
|
|
1975
1975
|
description: z.string(),
|
|
1976
1976
|
status: CreateToolRequestBodyToolsStatus$outboundSchema.default("live"),
|
|
1977
1977
|
type: CreateToolRequestBodyToolsRequestType$outboundSchema,
|
|
@@ -2122,7 +2122,7 @@ export const CreateToolRequestBody2$inboundSchema: z.ZodType<
|
|
|
2122
2122
|
> = z.object({
|
|
2123
2123
|
path: z.string(),
|
|
2124
2124
|
key: z.string(),
|
|
2125
|
-
display_name: z.string(),
|
|
2125
|
+
display_name: z.string().optional(),
|
|
2126
2126
|
description: z.string(),
|
|
2127
2127
|
status: CreateToolRequestBodyStatus$inboundSchema.default("live"),
|
|
2128
2128
|
type: CreateToolRequestBodyToolsType$inboundSchema,
|
|
@@ -2138,7 +2138,7 @@ export const CreateToolRequestBody2$inboundSchema: z.ZodType<
|
|
|
2138
2138
|
export type CreateToolRequestBody2$Outbound = {
|
|
2139
2139
|
path: string;
|
|
2140
2140
|
key: string;
|
|
2141
|
-
display_name
|
|
2141
|
+
display_name?: string | undefined;
|
|
2142
2142
|
description: string;
|
|
2143
2143
|
status: string;
|
|
2144
2144
|
type: string;
|
|
@@ -2153,7 +2153,7 @@ export const CreateToolRequestBody2$outboundSchema: z.ZodType<
|
|
|
2153
2153
|
> = z.object({
|
|
2154
2154
|
path: z.string(),
|
|
2155
2155
|
key: z.string(),
|
|
2156
|
-
displayName: z.string(),
|
|
2156
|
+
displayName: z.string().optional(),
|
|
2157
2157
|
description: z.string(),
|
|
2158
2158
|
status: CreateToolRequestBodyStatus$outboundSchema.default("live"),
|
|
2159
2159
|
type: CreateToolRequestBodyToolsType$outboundSchema,
|
|
@@ -2309,7 +2309,7 @@ export const CreateToolRequestBody1$inboundSchema: z.ZodType<
|
|
|
2309
2309
|
> = z.object({
|
|
2310
2310
|
path: z.string(),
|
|
2311
2311
|
key: z.string(),
|
|
2312
|
-
display_name: z.string(),
|
|
2312
|
+
display_name: z.string().optional(),
|
|
2313
2313
|
description: z.string(),
|
|
2314
2314
|
status: RequestBodyStatus$inboundSchema.default("live"),
|
|
2315
2315
|
type: CreateToolRequestBodyType$inboundSchema,
|
|
@@ -2324,7 +2324,7 @@ export const CreateToolRequestBody1$inboundSchema: z.ZodType<
|
|
|
2324
2324
|
export type CreateToolRequestBody1$Outbound = {
|
|
2325
2325
|
path: string;
|
|
2326
2326
|
key: string;
|
|
2327
|
-
display_name
|
|
2327
|
+
display_name?: string | undefined;
|
|
2328
2328
|
description: string;
|
|
2329
2329
|
status: string;
|
|
2330
2330
|
type: string;
|
|
@@ -2339,7 +2339,7 @@ export const CreateToolRequestBody1$outboundSchema: z.ZodType<
|
|
|
2339
2339
|
> = z.object({
|
|
2340
2340
|
path: z.string(),
|
|
2341
2341
|
key: z.string(),
|
|
2342
|
-
displayName: z.string(),
|
|
2342
|
+
displayName: z.string().optional(),
|
|
2343
2343
|
description: z.string(),
|
|
2344
2344
|
status: RequestBodyStatus$outboundSchema.default("live"),
|
|
2345
2345
|
type: CreateToolRequestBodyType$outboundSchema,
|
|
@@ -2581,10 +2581,10 @@ export const ResponseBody5$inboundSchema: z.ZodType<
|
|
|
2581
2581
|
z.ZodTypeDef,
|
|
2582
2582
|
unknown
|
|
2583
2583
|
> = z.object({
|
|
2584
|
-
_id: z.string().default("
|
|
2584
|
+
_id: z.string().default("01K7NYJMFHKMWXKQK5H6ZF5Q58"),
|
|
2585
2585
|
path: z.string(),
|
|
2586
2586
|
key: z.string(),
|
|
2587
|
-
display_name: z.string(),
|
|
2587
|
+
display_name: z.string().optional(),
|
|
2588
2588
|
description: z.string(),
|
|
2589
2589
|
created_by_id: z.string().optional(),
|
|
2590
2590
|
updated_by_id: z.string().optional(),
|
|
@@ -2616,7 +2616,7 @@ export type ResponseBody5$Outbound = {
|
|
|
2616
2616
|
_id: string;
|
|
2617
2617
|
path: string;
|
|
2618
2618
|
key: string;
|
|
2619
|
-
display_name
|
|
2619
|
+
display_name?: string | undefined;
|
|
2620
2620
|
description: string;
|
|
2621
2621
|
created_by_id?: string | undefined;
|
|
2622
2622
|
updated_by_id?: string | undefined;
|
|
@@ -2636,10 +2636,10 @@ export const ResponseBody5$outboundSchema: z.ZodType<
|
|
|
2636
2636
|
z.ZodTypeDef,
|
|
2637
2637
|
ResponseBody5
|
|
2638
2638
|
> = z.object({
|
|
2639
|
-
id: z.string().default("
|
|
2639
|
+
id: z.string().default("01K7NYJMFHKMWXKQK5H6ZF5Q58"),
|
|
2640
2640
|
path: z.string(),
|
|
2641
2641
|
key: z.string(),
|
|
2642
|
-
displayName: z.string(),
|
|
2642
|
+
displayName: z.string().optional(),
|
|
2643
2643
|
description: z.string(),
|
|
2644
2644
|
createdById: z.string().optional(),
|
|
2645
2645
|
updatedById: z.string().optional(),
|
|
@@ -2995,10 +2995,10 @@ export const ResponseBody4$inboundSchema: z.ZodType<
|
|
|
2995
2995
|
z.ZodTypeDef,
|
|
2996
2996
|
unknown
|
|
2997
2997
|
> = z.object({
|
|
2998
|
-
_id: z.string().default("
|
|
2998
|
+
_id: z.string().default("01K7NYJMFG00D6QH2GDR329YNE"),
|
|
2999
2999
|
path: z.string(),
|
|
3000
3000
|
key: z.string(),
|
|
3001
|
-
display_name: z.string(),
|
|
3001
|
+
display_name: z.string().optional(),
|
|
3002
3002
|
description: z.string(),
|
|
3003
3003
|
created_by_id: z.string().optional(),
|
|
3004
3004
|
updated_by_id: z.string().optional(),
|
|
@@ -3029,7 +3029,7 @@ export type ResponseBody4$Outbound = {
|
|
|
3029
3029
|
_id: string;
|
|
3030
3030
|
path: string;
|
|
3031
3031
|
key: string;
|
|
3032
|
-
display_name
|
|
3032
|
+
display_name?: string | undefined;
|
|
3033
3033
|
description: string;
|
|
3034
3034
|
created_by_id?: string | undefined;
|
|
3035
3035
|
updated_by_id?: string | undefined;
|
|
@@ -3049,10 +3049,10 @@ export const ResponseBody4$outboundSchema: z.ZodType<
|
|
|
3049
3049
|
z.ZodTypeDef,
|
|
3050
3050
|
ResponseBody4
|
|
3051
3051
|
> = z.object({
|
|
3052
|
-
id: z.string().default("
|
|
3052
|
+
id: z.string().default("01K7NYJMFG00D6QH2GDR329YNE"),
|
|
3053
3053
|
path: z.string(),
|
|
3054
3054
|
key: z.string(),
|
|
3055
|
-
displayName: z.string(),
|
|
3055
|
+
displayName: z.string().optional(),
|
|
3056
3056
|
description: z.string(),
|
|
3057
3057
|
createdById: z.string().optional(),
|
|
3058
3058
|
updatedById: z.string().optional(),
|
|
@@ -3447,10 +3447,10 @@ export const ResponseBody3$inboundSchema: z.ZodType<
|
|
|
3447
3447
|
z.ZodTypeDef,
|
|
3448
3448
|
unknown
|
|
3449
3449
|
> = z.object({
|
|
3450
|
-
_id: z.string().default("
|
|
3450
|
+
_id: z.string().default("01K7NYJMFFVV0D3XGHM1CXDRQS"),
|
|
3451
3451
|
path: z.string(),
|
|
3452
3452
|
key: z.string(),
|
|
3453
|
-
display_name: z.string(),
|
|
3453
|
+
display_name: z.string().optional(),
|
|
3454
3454
|
description: z.string(),
|
|
3455
3455
|
created_by_id: z.string().optional(),
|
|
3456
3456
|
updated_by_id: z.string().optional(),
|
|
@@ -3479,7 +3479,7 @@ export type ResponseBody3$Outbound = {
|
|
|
3479
3479
|
_id: string;
|
|
3480
3480
|
path: string;
|
|
3481
3481
|
key: string;
|
|
3482
|
-
display_name
|
|
3482
|
+
display_name?: string | undefined;
|
|
3483
3483
|
description: string;
|
|
3484
3484
|
created_by_id?: string | undefined;
|
|
3485
3485
|
updated_by_id?: string | undefined;
|
|
@@ -3499,10 +3499,10 @@ export const ResponseBody3$outboundSchema: z.ZodType<
|
|
|
3499
3499
|
z.ZodTypeDef,
|
|
3500
3500
|
ResponseBody3
|
|
3501
3501
|
> = z.object({
|
|
3502
|
-
id: z.string().default("
|
|
3502
|
+
id: z.string().default("01K7NYJMFFVV0D3XGHM1CXDRQS"),
|
|
3503
3503
|
path: z.string(),
|
|
3504
3504
|
key: z.string(),
|
|
3505
|
-
displayName: z.string(),
|
|
3505
|
+
displayName: z.string().optional(),
|
|
3506
3506
|
description: z.string(),
|
|
3507
3507
|
createdById: z.string().optional(),
|
|
3508
3508
|
updatedById: z.string().optional(),
|
|
@@ -3664,10 +3664,10 @@ export const CreateToolResponseBody2$inboundSchema: z.ZodType<
|
|
|
3664
3664
|
z.ZodTypeDef,
|
|
3665
3665
|
unknown
|
|
3666
3666
|
> = z.object({
|
|
3667
|
-
_id: z.string().default("
|
|
3667
|
+
_id: z.string().default("01K7NYJMFF97CCM8RSHH858M3M"),
|
|
3668
3668
|
path: z.string(),
|
|
3669
3669
|
key: z.string(),
|
|
3670
|
-
display_name: z.string(),
|
|
3670
|
+
display_name: z.string().optional(),
|
|
3671
3671
|
description: z.string(),
|
|
3672
3672
|
created_by_id: z.string().optional(),
|
|
3673
3673
|
updated_by_id: z.string().optional(),
|
|
@@ -3697,7 +3697,7 @@ export type CreateToolResponseBody2$Outbound = {
|
|
|
3697
3697
|
_id: string;
|
|
3698
3698
|
path: string;
|
|
3699
3699
|
key: string;
|
|
3700
|
-
display_name
|
|
3700
|
+
display_name?: string | undefined;
|
|
3701
3701
|
description: string;
|
|
3702
3702
|
created_by_id?: string | undefined;
|
|
3703
3703
|
updated_by_id?: string | undefined;
|
|
@@ -3717,10 +3717,10 @@ export const CreateToolResponseBody2$outboundSchema: z.ZodType<
|
|
|
3717
3717
|
z.ZodTypeDef,
|
|
3718
3718
|
CreateToolResponseBody2
|
|
3719
3719
|
> = z.object({
|
|
3720
|
-
id: z.string().default("
|
|
3720
|
+
id: z.string().default("01K7NYJMFF97CCM8RSHH858M3M"),
|
|
3721
3721
|
path: z.string(),
|
|
3722
3722
|
key: z.string(),
|
|
3723
|
-
displayName: z.string(),
|
|
3723
|
+
displayName: z.string().optional(),
|
|
3724
3724
|
description: z.string(),
|
|
3725
3725
|
createdById: z.string().optional(),
|
|
3726
3726
|
updatedById: z.string().optional(),
|
|
@@ -3889,10 +3889,10 @@ export const CreateToolResponseBody1$inboundSchema: z.ZodType<
|
|
|
3889
3889
|
z.ZodTypeDef,
|
|
3890
3890
|
unknown
|
|
3891
3891
|
> = z.object({
|
|
3892
|
-
_id: z.string().default("
|
|
3892
|
+
_id: z.string().default("01K7NYJMFESEBECVYKD9DNG6MW"),
|
|
3893
3893
|
path: z.string(),
|
|
3894
3894
|
key: z.string(),
|
|
3895
|
-
display_name: z.string(),
|
|
3895
|
+
display_name: z.string().optional(),
|
|
3896
3896
|
description: z.string(),
|
|
3897
3897
|
created_by_id: z.string().optional(),
|
|
3898
3898
|
updated_by_id: z.string().optional(),
|
|
@@ -3921,7 +3921,7 @@ export type CreateToolResponseBody1$Outbound = {
|
|
|
3921
3921
|
_id: string;
|
|
3922
3922
|
path: string;
|
|
3923
3923
|
key: string;
|
|
3924
|
-
display_name
|
|
3924
|
+
display_name?: string | undefined;
|
|
3925
3925
|
description: string;
|
|
3926
3926
|
created_by_id?: string | undefined;
|
|
3927
3927
|
updated_by_id?: string | undefined;
|
|
@@ -3941,10 +3941,10 @@ export const CreateToolResponseBody1$outboundSchema: z.ZodType<
|
|
|
3941
3941
|
z.ZodTypeDef,
|
|
3942
3942
|
CreateToolResponseBody1
|
|
3943
3943
|
> = z.object({
|
|
3944
|
-
id: z.string().default("
|
|
3944
|
+
id: z.string().default("01K7NYJMFESEBECVYKD9DNG6MW"),
|
|
3945
3945
|
path: z.string(),
|
|
3946
3946
|
key: z.string(),
|
|
3947
|
-
displayName: z.string(),
|
|
3947
|
+
displayName: z.string().optional(),
|
|
3948
3948
|
description: z.string(),
|
|
3949
3949
|
createdById: z.string().optional(),
|
|
3950
3950
|
updatedById: z.string().optional(),
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type DeleteAgentRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* The unique key of the agent to delete
|
|
14
|
+
*/
|
|
15
|
+
agentKey: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const DeleteAgentRequest$inboundSchema: z.ZodType<
|
|
20
|
+
DeleteAgentRequest,
|
|
21
|
+
z.ZodTypeDef,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
agent_key: z.string(),
|
|
25
|
+
}).transform((v) => {
|
|
26
|
+
return remap$(v, {
|
|
27
|
+
"agent_key": "agentKey",
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export type DeleteAgentRequest$Outbound = {
|
|
33
|
+
agent_key: string;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
/** @internal */
|
|
37
|
+
export const DeleteAgentRequest$outboundSchema: z.ZodType<
|
|
38
|
+
DeleteAgentRequest$Outbound,
|
|
39
|
+
z.ZodTypeDef,
|
|
40
|
+
DeleteAgentRequest
|
|
41
|
+
> = z.object({
|
|
42
|
+
agentKey: z.string(),
|
|
43
|
+
}).transform((v) => {
|
|
44
|
+
return remap$(v, {
|
|
45
|
+
agentKey: "agent_key",
|
|
46
|
+
});
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @internal
|
|
51
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
52
|
+
*/
|
|
53
|
+
export namespace DeleteAgentRequest$ {
|
|
54
|
+
/** @deprecated use `DeleteAgentRequest$inboundSchema` instead. */
|
|
55
|
+
export const inboundSchema = DeleteAgentRequest$inboundSchema;
|
|
56
|
+
/** @deprecated use `DeleteAgentRequest$outboundSchema` instead. */
|
|
57
|
+
export const outboundSchema = DeleteAgentRequest$outboundSchema;
|
|
58
|
+
/** @deprecated use `DeleteAgentRequest$Outbound` instead. */
|
|
59
|
+
export type Outbound = DeleteAgentRequest$Outbound;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function deleteAgentRequestToJSON(
|
|
63
|
+
deleteAgentRequest: DeleteAgentRequest,
|
|
64
|
+
): string {
|
|
65
|
+
return JSON.stringify(
|
|
66
|
+
DeleteAgentRequest$outboundSchema.parse(deleteAgentRequest),
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function deleteAgentRequestFromJSON(
|
|
71
|
+
jsonString: string,
|
|
72
|
+
): SafeParseResult<DeleteAgentRequest, SDKValidationError> {
|
|
73
|
+
return safeParse(
|
|
74
|
+
jsonString,
|
|
75
|
+
(x) => DeleteAgentRequest$inboundSchema.parse(JSON.parse(x)),
|
|
76
|
+
`Failed to parse 'DeleteAgentRequest' from JSON`,
|
|
77
|
+
);
|
|
78
|
+
}
|
|
@@ -79,7 +79,7 @@ export type DuplicateToolResponseBody5 = {
|
|
|
79
79
|
/**
|
|
80
80
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
81
81
|
*/
|
|
82
|
-
displayName
|
|
82
|
+
displayName?: string | undefined;
|
|
83
83
|
/**
|
|
84
84
|
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
85
85
|
*/
|
|
@@ -212,7 +212,7 @@ export type DuplicateToolResponseBody4 = {
|
|
|
212
212
|
/**
|
|
213
213
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
214
214
|
*/
|
|
215
|
-
displayName
|
|
215
|
+
displayName?: string | undefined;
|
|
216
216
|
/**
|
|
217
217
|
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
218
218
|
*/
|
|
@@ -369,7 +369,7 @@ export type DuplicateToolResponseBody3 = {
|
|
|
369
369
|
/**
|
|
370
370
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
371
371
|
*/
|
|
372
|
-
displayName
|
|
372
|
+
displayName?: string | undefined;
|
|
373
373
|
/**
|
|
374
374
|
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
375
375
|
*/
|
|
@@ -456,7 +456,7 @@ export type DuplicateToolResponseBody2 = {
|
|
|
456
456
|
/**
|
|
457
457
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
458
458
|
*/
|
|
459
|
-
displayName
|
|
459
|
+
displayName?: string | undefined;
|
|
460
460
|
/**
|
|
461
461
|
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
462
462
|
*/
|
|
@@ -543,7 +543,7 @@ export type DuplicateToolResponseBody1 = {
|
|
|
543
543
|
/**
|
|
544
544
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
545
545
|
*/
|
|
546
|
-
displayName
|
|
546
|
+
displayName?: string | undefined;
|
|
547
547
|
/**
|
|
548
548
|
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
549
549
|
*/
|
|
@@ -788,10 +788,10 @@ export const DuplicateToolResponseBody5$inboundSchema: z.ZodType<
|
|
|
788
788
|
z.ZodTypeDef,
|
|
789
789
|
unknown
|
|
790
790
|
> = z.object({
|
|
791
|
-
_id: z.string().default("
|
|
791
|
+
_id: z.string().default("01K7NYJMFV3XNM5AGDPZ4EJZ0G"),
|
|
792
792
|
path: z.string(),
|
|
793
793
|
key: z.string(),
|
|
794
|
-
display_name: z.string(),
|
|
794
|
+
display_name: z.string().optional(),
|
|
795
795
|
description: z.string(),
|
|
796
796
|
created_by_id: z.string().optional(),
|
|
797
797
|
updated_by_id: z.string().optional(),
|
|
@@ -824,7 +824,7 @@ export type DuplicateToolResponseBody5$Outbound = {
|
|
|
824
824
|
_id: string;
|
|
825
825
|
path: string;
|
|
826
826
|
key: string;
|
|
827
|
-
display_name
|
|
827
|
+
display_name?: string | undefined;
|
|
828
828
|
description: string;
|
|
829
829
|
created_by_id?: string | undefined;
|
|
830
830
|
updated_by_id?: string | undefined;
|
|
@@ -844,10 +844,10 @@ export const DuplicateToolResponseBody5$outboundSchema: z.ZodType<
|
|
|
844
844
|
z.ZodTypeDef,
|
|
845
845
|
DuplicateToolResponseBody5
|
|
846
846
|
> = z.object({
|
|
847
|
-
id: z.string().default("
|
|
847
|
+
id: z.string().default("01K7NYJMFV3XNM5AGDPZ4EJZ0G"),
|
|
848
848
|
path: z.string(),
|
|
849
849
|
key: z.string(),
|
|
850
|
-
displayName: z.string(),
|
|
850
|
+
displayName: z.string().optional(),
|
|
851
851
|
description: z.string(),
|
|
852
852
|
createdById: z.string().optional(),
|
|
853
853
|
updatedById: z.string().optional(),
|
|
@@ -1232,10 +1232,10 @@ export const DuplicateToolResponseBody4$inboundSchema: z.ZodType<
|
|
|
1232
1232
|
z.ZodTypeDef,
|
|
1233
1233
|
unknown
|
|
1234
1234
|
> = z.object({
|
|
1235
|
-
_id: z.string().default("
|
|
1235
|
+
_id: z.string().default("01K7NYJMFV4RXBW12TJ9TS2NBJ"),
|
|
1236
1236
|
path: z.string(),
|
|
1237
1237
|
key: z.string(),
|
|
1238
|
-
display_name: z.string(),
|
|
1238
|
+
display_name: z.string().optional(),
|
|
1239
1239
|
description: z.string(),
|
|
1240
1240
|
created_by_id: z.string().optional(),
|
|
1241
1241
|
updated_by_id: z.string().optional(),
|
|
@@ -1266,7 +1266,7 @@ export type DuplicateToolResponseBody4$Outbound = {
|
|
|
1266
1266
|
_id: string;
|
|
1267
1267
|
path: string;
|
|
1268
1268
|
key: string;
|
|
1269
|
-
display_name
|
|
1269
|
+
display_name?: string | undefined;
|
|
1270
1270
|
description: string;
|
|
1271
1271
|
created_by_id?: string | undefined;
|
|
1272
1272
|
updated_by_id?: string | undefined;
|
|
@@ -1286,10 +1286,10 @@ export const DuplicateToolResponseBody4$outboundSchema: z.ZodType<
|
|
|
1286
1286
|
z.ZodTypeDef,
|
|
1287
1287
|
DuplicateToolResponseBody4
|
|
1288
1288
|
> = z.object({
|
|
1289
|
-
id: z.string().default("
|
|
1289
|
+
id: z.string().default("01K7NYJMFV4RXBW12TJ9TS2NBJ"),
|
|
1290
1290
|
path: z.string(),
|
|
1291
1291
|
key: z.string(),
|
|
1292
|
-
displayName: z.string(),
|
|
1292
|
+
displayName: z.string().optional(),
|
|
1293
1293
|
description: z.string(),
|
|
1294
1294
|
createdById: z.string().optional(),
|
|
1295
1295
|
updatedById: z.string().optional(),
|
|
@@ -1713,10 +1713,10 @@ export const DuplicateToolResponseBody3$inboundSchema: z.ZodType<
|
|
|
1713
1713
|
z.ZodTypeDef,
|
|
1714
1714
|
unknown
|
|
1715
1715
|
> = z.object({
|
|
1716
|
-
_id: z.string().default("
|
|
1716
|
+
_id: z.string().default("01K7NYJMFTQG8VZ8VSNAR1G8H2"),
|
|
1717
1717
|
path: z.string(),
|
|
1718
1718
|
key: z.string(),
|
|
1719
|
-
display_name: z.string(),
|
|
1719
|
+
display_name: z.string().optional(),
|
|
1720
1720
|
description: z.string(),
|
|
1721
1721
|
created_by_id: z.string().optional(),
|
|
1722
1722
|
updated_by_id: z.string().optional(),
|
|
@@ -1747,7 +1747,7 @@ export type DuplicateToolResponseBody3$Outbound = {
|
|
|
1747
1747
|
_id: string;
|
|
1748
1748
|
path: string;
|
|
1749
1749
|
key: string;
|
|
1750
|
-
display_name
|
|
1750
|
+
display_name?: string | undefined;
|
|
1751
1751
|
description: string;
|
|
1752
1752
|
created_by_id?: string | undefined;
|
|
1753
1753
|
updated_by_id?: string | undefined;
|
|
@@ -1767,10 +1767,10 @@ export const DuplicateToolResponseBody3$outboundSchema: z.ZodType<
|
|
|
1767
1767
|
z.ZodTypeDef,
|
|
1768
1768
|
DuplicateToolResponseBody3
|
|
1769
1769
|
> = z.object({
|
|
1770
|
-
id: z.string().default("
|
|
1770
|
+
id: z.string().default("01K7NYJMFTQG8VZ8VSNAR1G8H2"),
|
|
1771
1771
|
path: z.string(),
|
|
1772
1772
|
key: z.string(),
|
|
1773
|
-
displayName: z.string(),
|
|
1773
|
+
displayName: z.string().optional(),
|
|
1774
1774
|
description: z.string(),
|
|
1775
1775
|
createdById: z.string().optional(),
|
|
1776
1776
|
updatedById: z.string().optional(),
|
|
@@ -1947,10 +1947,10 @@ export const DuplicateToolResponseBody2$inboundSchema: z.ZodType<
|
|
|
1947
1947
|
z.ZodTypeDef,
|
|
1948
1948
|
unknown
|
|
1949
1949
|
> = z.object({
|
|
1950
|
-
_id: z.string().default("
|
|
1950
|
+
_id: z.string().default("01K7NYJMFS7M5YXNKA1VNKE9AF"),
|
|
1951
1951
|
path: z.string(),
|
|
1952
1952
|
key: z.string(),
|
|
1953
|
-
display_name: z.string(),
|
|
1953
|
+
display_name: z.string().optional(),
|
|
1954
1954
|
description: z.string(),
|
|
1955
1955
|
created_by_id: z.string().optional(),
|
|
1956
1956
|
updated_by_id: z.string().optional(),
|
|
@@ -1980,7 +1980,7 @@ export type DuplicateToolResponseBody2$Outbound = {
|
|
|
1980
1980
|
_id: string;
|
|
1981
1981
|
path: string;
|
|
1982
1982
|
key: string;
|
|
1983
|
-
display_name
|
|
1983
|
+
display_name?: string | undefined;
|
|
1984
1984
|
description: string;
|
|
1985
1985
|
created_by_id?: string | undefined;
|
|
1986
1986
|
updated_by_id?: string | undefined;
|
|
@@ -2000,10 +2000,10 @@ export const DuplicateToolResponseBody2$outboundSchema: z.ZodType<
|
|
|
2000
2000
|
z.ZodTypeDef,
|
|
2001
2001
|
DuplicateToolResponseBody2
|
|
2002
2002
|
> = z.object({
|
|
2003
|
-
id: z.string().default("
|
|
2003
|
+
id: z.string().default("01K7NYJMFS7M5YXNKA1VNKE9AF"),
|
|
2004
2004
|
path: z.string(),
|
|
2005
2005
|
key: z.string(),
|
|
2006
|
-
displayName: z.string(),
|
|
2006
|
+
displayName: z.string().optional(),
|
|
2007
2007
|
description: z.string(),
|
|
2008
2008
|
createdById: z.string().optional(),
|
|
2009
2009
|
updatedById: z.string().optional(),
|
|
@@ -2173,10 +2173,10 @@ export const DuplicateToolResponseBody1$inboundSchema: z.ZodType<
|
|
|
2173
2173
|
z.ZodTypeDef,
|
|
2174
2174
|
unknown
|
|
2175
2175
|
> = z.object({
|
|
2176
|
-
_id: z.string().default("
|
|
2176
|
+
_id: z.string().default("01K7NYJMFSY32FN3D8WB7QTFGC"),
|
|
2177
2177
|
path: z.string(),
|
|
2178
2178
|
key: z.string(),
|
|
2179
|
-
display_name: z.string(),
|
|
2179
|
+
display_name: z.string().optional(),
|
|
2180
2180
|
description: z.string(),
|
|
2181
2181
|
created_by_id: z.string().optional(),
|
|
2182
2182
|
updated_by_id: z.string().optional(),
|
|
@@ -2205,7 +2205,7 @@ export type DuplicateToolResponseBody1$Outbound = {
|
|
|
2205
2205
|
_id: string;
|
|
2206
2206
|
path: string;
|
|
2207
2207
|
key: string;
|
|
2208
|
-
display_name
|
|
2208
|
+
display_name?: string | undefined;
|
|
2209
2209
|
description: string;
|
|
2210
2210
|
created_by_id?: string | undefined;
|
|
2211
2211
|
updated_by_id?: string | undefined;
|
|
@@ -2225,10 +2225,10 @@ export const DuplicateToolResponseBody1$outboundSchema: z.ZodType<
|
|
|
2225
2225
|
z.ZodTypeDef,
|
|
2226
2226
|
DuplicateToolResponseBody1
|
|
2227
2227
|
> = z.object({
|
|
2228
|
-
id: z.string().default("
|
|
2228
|
+
id: z.string().default("01K7NYJMFSY32FN3D8WB7QTFGC"),
|
|
2229
2229
|
path: z.string(),
|
|
2230
2230
|
key: z.string(),
|
|
2231
|
-
displayName: z.string(),
|
|
2231
|
+
displayName: z.string().optional(),
|
|
2232
2232
|
description: z.string(),
|
|
2233
2233
|
createdById: z.string().optional(),
|
|
2234
2234
|
updatedById: z.string().optional(),
|