@orq-ai/node 4.11.0 → 4.11.7

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 (318) hide show
  1. package/README.md +40 -36
  2. package/funcs/modelsImportLitellm.d.ts +17 -0
  3. package/funcs/modelsImportLitellm.d.ts.map +1 -0
  4. package/funcs/modelsImportLitellm.js +118 -0
  5. package/funcs/modelsImportLitellm.js.map +1 -0
  6. package/funcs/modelsListLitellm.d.ts +18 -0
  7. package/funcs/modelsListLitellm.d.ts.map +1 -0
  8. package/funcs/modelsListLitellm.js +105 -0
  9. package/funcs/modelsListLitellm.js.map +1 -0
  10. package/jsr.json +1 -1
  11. package/lib/config.d.ts +3 -3
  12. package/lib/config.js +3 -3
  13. package/lib/http.d.ts +1 -1
  14. package/lib/http.d.ts.map +1 -1
  15. package/lib/http.js +1 -1
  16. package/lib/http.js.map +1 -1
  17. package/lib/security.d.ts +5 -4
  18. package/lib/security.d.ts.map +1 -1
  19. package/lib/security.js +6 -7
  20. package/lib/security.js.map +1 -1
  21. package/models/components/evaluatorresponsefunction.js +2 -2
  22. package/models/components/evaluatorresponsehttp.js +2 -2
  23. package/models/components/evaluatorresponsejsonschema.js +2 -2
  24. package/models/components/evaluatorresponsellm.js +2 -2
  25. package/models/components/evaluatorresponsepython.js +2 -2
  26. package/models/components/evaluatorresponseragas.js +2 -2
  27. package/models/components/evaluatorresponsetypescript.js +2 -2
  28. package/models/components/index.d.ts +4 -0
  29. package/models/components/index.d.ts.map +1 -1
  30. package/models/components/index.js +4 -0
  31. package/models/components/index.js.map +1 -1
  32. package/models/components/litellmmodel.d.ts +18 -0
  33. package/models/components/litellmmodel.d.ts.map +1 -0
  34. package/models/components/litellmmodel.js +60 -0
  35. package/models/components/litellmmodel.js.map +1 -0
  36. package/models/components/litellmmodelinfo.d.ts +44 -0
  37. package/models/components/litellmmodelinfo.d.ts.map +1 -0
  38. package/models/components/litellmmodelinfo.js +83 -0
  39. package/models/components/litellmmodelinfo.js.map +1 -0
  40. package/models/components/litellmparams.d.ts +18 -0
  41. package/models/components/litellmparams.d.ts.map +1 -0
  42. package/models/components/litellmparams.js +59 -0
  43. package/models/components/litellmparams.js.map +1 -0
  44. package/models/components/modeldocument.d.ts +39 -0
  45. package/models/components/modeldocument.d.ts.map +1 -0
  46. package/models/components/modeldocument.js +99 -0
  47. package/models/components/modeldocument.js.map +1 -0
  48. package/models/components/reasoningpart.js +1 -1
  49. package/models/operations/createdataset.js +1 -1
  50. package/models/operations/createdatasetitem.js +4 -4
  51. package/models/operations/createdatasource.js +1 -1
  52. package/models/operations/createprompt.d.ts +3 -0
  53. package/models/operations/createprompt.d.ts.map +1 -1
  54. package/models/operations/createprompt.js +3 -0
  55. package/models/operations/createprompt.js.map +1 -1
  56. package/models/operations/createtool.js +6 -6
  57. package/models/operations/deploymentinvoke.d.ts +3 -0
  58. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  59. package/models/operations/deploymentinvoke.js +3 -0
  60. package/models/operations/deploymentinvoke.js.map +1 -1
  61. package/models/operations/deployments.d.ts +3 -0
  62. package/models/operations/deployments.d.ts.map +1 -1
  63. package/models/operations/deployments.js +3 -0
  64. package/models/operations/deployments.js.map +1 -1
  65. package/models/operations/deploymentstream.d.ts +3 -0
  66. package/models/operations/deploymentstream.d.ts.map +1 -1
  67. package/models/operations/deploymentstream.js +3 -0
  68. package/models/operations/deploymentstream.js.map +1 -1
  69. package/models/operations/getallprompts.d.ts +3 -0
  70. package/models/operations/getallprompts.d.ts.map +1 -1
  71. package/models/operations/getallprompts.js +3 -0
  72. package/models/operations/getallprompts.js.map +1 -1
  73. package/models/operations/getalltools.js +6 -6
  74. package/models/operations/getoneprompt.d.ts +3 -0
  75. package/models/operations/getoneprompt.d.ts.map +1 -1
  76. package/models/operations/getoneprompt.js +3 -0
  77. package/models/operations/getoneprompt.js.map +1 -1
  78. package/models/operations/getpromptversion.d.ts +3 -0
  79. package/models/operations/getpromptversion.d.ts.map +1 -1
  80. package/models/operations/getpromptversion.js +3 -0
  81. package/models/operations/getpromptversion.js.map +1 -1
  82. package/models/operations/getv2humanevalsets.js +2 -2
  83. package/models/operations/getv2humanevalsetsid.js +2 -2
  84. package/models/operations/invokeeval.d.ts +1 -1
  85. package/models/operations/invokeeval.d.ts.map +1 -1
  86. package/models/operations/invokeeval.js +1 -1
  87. package/models/operations/invokeeval.js.map +1 -1
  88. package/models/operations/listdatasetdatapoints.js +4 -4
  89. package/models/operations/listdatasets.js +1 -1
  90. package/models/operations/listdatasources.js +1 -1
  91. package/models/operations/listpromptversions.d.ts +3 -0
  92. package/models/operations/listpromptversions.d.ts.map +1 -1
  93. package/models/operations/listpromptversions.js +3 -0
  94. package/models/operations/listpromptversions.js.map +1 -1
  95. package/models/operations/patchv2humanevalsetsid.js +2 -2
  96. package/models/operations/postv2feedbackevaluation.js +3 -3
  97. package/models/operations/postv2humanevalsets.js +2 -2
  98. package/models/operations/retrievedatapoint.js +4 -4
  99. package/models/operations/retrievedataset.js +1 -1
  100. package/models/operations/retrievedatasource.js +1 -1
  101. package/models/operations/retrievetool.js +6 -6
  102. package/models/operations/runagent.js +1 -1
  103. package/models/operations/streamrunagent.js +1 -1
  104. package/models/operations/updatedatapoint.js +4 -4
  105. package/models/operations/updatedataset.js +1 -1
  106. package/models/operations/updatedatasource.js +1 -1
  107. package/models/operations/updateprompt.d.ts +3 -0
  108. package/models/operations/updateprompt.d.ts.map +1 -1
  109. package/models/operations/updateprompt.js +3 -0
  110. package/models/operations/updateprompt.js.map +1 -1
  111. package/models/operations/updatetool.js +7 -7
  112. package/package.json +1 -1
  113. package/packages/orq-rc/src/funcs/agentsResponsesCreate.ts +2 -0
  114. package/packages/orq-rc/src/funcs/agentsResponsesGet.ts +2 -0
  115. package/packages/orq-rc/src/funcs/modelsImportLitellm.ts +166 -0
  116. package/packages/orq-rc/src/funcs/modelsListLitellm.ts +144 -0
  117. package/packages/orq-rc/src/funcs/notifiersCreate.ts +162 -0
  118. package/packages/orq-rc/src/funcs/notifiersDelete.ts +168 -0
  119. package/packages/orq-rc/src/funcs/notifiersGet.ts +168 -0
  120. package/packages/orq-rc/src/funcs/notifiersList.ts +171 -0
  121. package/packages/orq-rc/src/funcs/notifiersUpdate.ts +171 -0
  122. package/packages/orq-rc/src/funcs/tracesAggregate.ts +162 -0
  123. package/packages/orq-rc/src/funcs/tracesGet.ts +168 -0
  124. package/packages/orq-rc/src/funcs/tracesGetSpan.ts +172 -0
  125. package/packages/orq-rc/src/funcs/tracesListFacetValues.ts +177 -0
  126. package/packages/orq-rc/src/funcs/tracesListFacets.ts +144 -0
  127. package/packages/orq-rc/src/funcs/tracesListFields.ts +144 -0
  128. package/packages/orq-rc/src/funcs/tracesListSpans.ts +174 -0
  129. package/packages/orq-rc/src/funcs/tracesQuery.ts +162 -0
  130. package/packages/orq-rc/src/funcs/tracesSearch.ts +162 -0
  131. package/packages/orq-rc/src/lib/config.ts +3 -3
  132. package/packages/orq-rc/src/lib/http.ts +3 -1
  133. package/packages/orq-rc/src/lib/security.ts +10 -5
  134. package/packages/orq-rc/src/models/components/actionreviewrequestedstreamingevent.ts +5 -0
  135. package/packages/orq-rc/src/models/components/agentstartedstreamingevent.ts +11 -0
  136. package/packages/orq-rc/src/models/components/aggregatetracesrequest.ts +65 -0
  137. package/packages/orq-rc/src/models/components/aggregatetracesresponse.ts +37 -0
  138. package/packages/orq-rc/src/models/components/config.ts +44 -0
  139. package/packages/orq-rc/src/models/components/createnotifierrequest.ts +433 -0
  140. package/packages/orq-rc/src/models/components/createnotifierresponse.ts +35 -0
  141. package/packages/orq-rc/src/models/components/deletenotifierresponse.ts +27 -0
  142. package/packages/orq-rc/src/models/components/evaluatorresponsefunction.ts +2 -2
  143. package/packages/orq-rc/src/models/components/evaluatorresponsehttp.ts +2 -2
  144. package/packages/orq-rc/src/models/components/evaluatorresponsejsonschema.ts +2 -2
  145. package/packages/orq-rc/src/models/components/evaluatorresponsellm.ts +2 -2
  146. package/packages/orq-rc/src/models/components/evaluatorresponsepython.ts +2 -2
  147. package/packages/orq-rc/src/models/components/evaluatorresponseragas.ts +2 -2
  148. package/packages/orq-rc/src/models/components/evaluatorresponsetypescript.ts +2 -2
  149. package/packages/orq-rc/src/models/components/filepurpose.ts +1 -0
  150. package/packages/orq-rc/src/models/components/getnotifierresponse.ts +35 -0
  151. package/packages/orq-rc/src/models/components/gettraceresponse.ts +32 -0
  152. package/packages/orq-rc/src/models/components/gettracespanresponse.ts +32 -0
  153. package/packages/orq-rc/src/models/components/index.ts +41 -0
  154. package/packages/orq-rc/src/models/components/listnotifiersresponse.ts +50 -0
  155. package/packages/orq-rc/src/models/components/listtracefacetsresponse.ts +32 -0
  156. package/packages/orq-rc/src/models/components/listtracefacetvaluesresponse.ts +44 -0
  157. package/packages/orq-rc/src/models/components/listtracefieldsresponse.ts +32 -0
  158. package/packages/orq-rc/src/models/components/listtracespansresponse.ts +44 -0
  159. package/packages/orq-rc/src/models/components/litellmmodel.ts +50 -0
  160. package/packages/orq-rc/src/models/components/litellmmodelinfo.ts +97 -0
  161. package/packages/orq-rc/src/models/components/litellmparams.ts +43 -0
  162. package/packages/orq-rc/src/models/components/modeldocument.ts +115 -0
  163. package/packages/orq-rc/src/models/components/notifier.ts +465 -0
  164. package/packages/orq-rc/src/models/components/notifiertype.ts +21 -0
  165. package/packages/orq-rc/src/models/components/querytracesrequest.ts +48 -0
  166. package/packages/orq-rc/src/models/components/querytracesresponse.ts +37 -0
  167. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  168. package/packages/orq-rc/src/models/components/searchtracesrequest.ts +68 -0
  169. package/packages/orq-rc/src/models/components/searchtracesresponse.ts +72 -0
  170. package/packages/orq-rc/src/models/components/spandetail.ts +53 -0
  171. package/packages/orq-rc/src/models/components/spansummary.ts +76 -0
  172. package/packages/orq-rc/src/models/components/traceagent.ts +33 -0
  173. package/packages/orq-rc/src/models/components/traceaggregaterow.ts +33 -0
  174. package/packages/orq-rc/src/models/components/tracecompute.ts +30 -0
  175. package/packages/orq-rc/src/models/components/tracecontext.ts +39 -0
  176. package/packages/orq-rc/src/models/components/tracecost.ts +77 -0
  177. package/packages/orq-rc/src/models/components/tracefacet.ts +35 -0
  178. package/packages/orq-rc/src/models/components/tracefacetvalue.ts +33 -0
  179. package/packages/orq-rc/src/models/components/tracefield.ts +56 -0
  180. package/packages/orq-rc/src/models/components/tracefilter.ts +33 -0
  181. package/packages/orq-rc/src/models/components/tracesearchmeta.ts +45 -0
  182. package/packages/orq-rc/src/models/components/tracesort.ts +30 -0
  183. package/packages/orq-rc/src/models/components/tracesummary.ts +152 -0
  184. package/packages/orq-rc/src/models/components/traceusage.ts +62 -0
  185. package/packages/orq-rc/src/models/components/updatenotifierrequest.ts +130 -0
  186. package/packages/orq-rc/src/models/components/updatenotifierresponse.ts +35 -0
  187. package/packages/orq-rc/src/models/operations/createagentrequest.ts +200 -40
  188. package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
  189. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
  190. package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
  191. package/packages/orq-rc/src/models/operations/createeval.ts +179 -175
  192. package/packages/orq-rc/src/models/operations/createknowledge.ts +18 -10
  193. package/packages/orq-rc/src/models/operations/createprompt.ts +4 -0
  194. package/packages/orq-rc/src/models/operations/createrouterresponse.ts +108 -0
  195. package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
  196. package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +4 -0
  197. package/packages/orq-rc/src/models/operations/deployments.ts +4 -0
  198. package/packages/orq-rc/src/models/operations/deploymentstream.ts +4 -0
  199. package/packages/orq-rc/src/models/operations/getallmemories.ts +1 -1
  200. package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +1 -1
  201. package/packages/orq-rc/src/models/operations/getallmemorystores.ts +1 -1
  202. package/packages/orq-rc/src/models/operations/getallprompts.ts +5 -1
  203. package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
  204. package/packages/orq-rc/src/models/operations/getevals.ts +1 -1
  205. package/packages/orq-rc/src/models/operations/getoneprompt.ts +4 -0
  206. package/packages/orq-rc/src/models/operations/getpromptversion.ts +4 -0
  207. package/packages/orq-rc/src/models/operations/getv2evaluatorsidversions.ts +1 -1
  208. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
  209. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
  210. package/packages/orq-rc/src/models/operations/getv2toolstoolidversions.ts +1 -1
  211. package/packages/orq-rc/src/models/operations/index.ts +8 -0
  212. package/packages/orq-rc/src/models/operations/invokeeval.ts +2 -2
  213. package/packages/orq-rc/src/models/operations/listagents.ts +11 -0
  214. package/packages/orq-rc/src/models/operations/listchunks.ts +1 -1
  215. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +5 -5
  216. package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
  217. package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
  218. package/packages/orq-rc/src/models/operations/listpromptversions.ts +5 -1
  219. package/packages/orq-rc/src/models/operations/modelcreate.ts +2 -0
  220. package/packages/orq-rc/src/models/operations/modelcreateautorouter.ts +2 -0
  221. package/packages/orq-rc/src/models/operations/modelcreateawsbedrock.ts +2 -0
  222. package/packages/orq-rc/src/models/operations/modelcreateopenailike.ts +2 -0
  223. package/packages/orq-rc/src/models/operations/modelcreatevertex.ts +2 -0
  224. package/packages/orq-rc/src/models/operations/modelupdate.ts +2 -0
  225. package/packages/orq-rc/src/models/operations/modelupdateautorouter.ts +2 -0
  226. package/packages/orq-rc/src/models/operations/modelupdateawsbedrock.ts +2 -0
  227. package/packages/orq-rc/src/models/operations/modelupdateopenailike.ts +2 -0
  228. package/packages/orq-rc/src/models/operations/notifierdelete.ts +36 -0
  229. package/packages/orq-rc/src/models/operations/notifierget.ts +36 -0
  230. package/packages/orq-rc/src/models/operations/notifierlist.ts +59 -0
  231. package/packages/orq-rc/src/models/operations/notifierupdate.ts +41 -0
  232. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  233. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +3 -3
  234. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
  235. package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +11 -0
  236. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +4 -4
  237. package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
  238. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
  239. package/packages/orq-rc/src/models/operations/retrievetool.ts +6 -6
  240. package/packages/orq-rc/src/models/operations/runagent.ts +159 -33
  241. package/packages/orq-rc/src/models/operations/streamrunagent.ts +165 -33
  242. package/packages/orq-rc/src/models/operations/tracesget.ts +36 -0
  243. package/packages/orq-rc/src/models/operations/tracesgetspan.ts +40 -0
  244. package/packages/orq-rc/src/models/operations/traceslistfacetvalues.ts +50 -0
  245. package/packages/orq-rc/src/models/operations/traceslistspans.ts +43 -0
  246. package/packages/orq-rc/src/models/operations/updateagent.ts +202 -40
  247. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +4 -4
  248. package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
  249. package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
  250. package/packages/orq-rc/src/models/operations/updateprompt.ts +4 -0
  251. package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
  252. package/packages/orq-rc/src/sdk/feedback.ts +0 -6
  253. package/packages/orq-rc/src/sdk/models.ts +35 -0
  254. package/packages/orq-rc/src/sdk/notifiers.ts +100 -0
  255. package/packages/orq-rc/src/sdk/orqresponses.ts +4 -0
  256. package/packages/orq-rc/src/sdk/sdk.ts +12 -0
  257. package/packages/orq-rc/src/sdk/traces.ts +168 -0
  258. package/sdk/feedback.d.ts +1 -4
  259. package/sdk/feedback.d.ts.map +1 -1
  260. package/sdk/feedback.js +1 -4
  261. package/sdk/feedback.js.map +1 -1
  262. package/sdk/models.d.ts +17 -0
  263. package/sdk/models.d.ts.map +1 -1
  264. package/sdk/models.js +20 -0
  265. package/sdk/models.js.map +1 -1
  266. package/src/funcs/modelsImportLitellm.ts +166 -0
  267. package/src/funcs/modelsListLitellm.ts +144 -0
  268. package/src/lib/config.ts +3 -3
  269. package/src/lib/http.ts +3 -1
  270. package/src/lib/security.ts +10 -5
  271. package/src/models/components/evaluatorresponsefunction.ts +2 -2
  272. package/src/models/components/evaluatorresponsehttp.ts +2 -2
  273. package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
  274. package/src/models/components/evaluatorresponsellm.ts +2 -2
  275. package/src/models/components/evaluatorresponsepython.ts +2 -2
  276. package/src/models/components/evaluatorresponseragas.ts +2 -2
  277. package/src/models/components/evaluatorresponsetypescript.ts +2 -2
  278. package/src/models/components/index.ts +4 -0
  279. package/src/models/components/litellmmodel.ts +50 -0
  280. package/src/models/components/litellmmodelinfo.ts +97 -0
  281. package/src/models/components/litellmparams.ts +43 -0
  282. package/src/models/components/modeldocument.ts +112 -0
  283. package/src/models/components/reasoningpart.ts +1 -1
  284. package/src/models/operations/createdataset.ts +1 -1
  285. package/src/models/operations/createdatasetitem.ts +4 -4
  286. package/src/models/operations/createdatasource.ts +1 -1
  287. package/src/models/operations/createprompt.ts +3 -0
  288. package/src/models/operations/createtool.ts +6 -6
  289. package/src/models/operations/deploymentinvoke.ts +3 -0
  290. package/src/models/operations/deployments.ts +3 -0
  291. package/src/models/operations/deploymentstream.ts +3 -0
  292. package/src/models/operations/getallprompts.ts +3 -0
  293. package/src/models/operations/getalltools.ts +6 -6
  294. package/src/models/operations/getoneprompt.ts +3 -0
  295. package/src/models/operations/getpromptversion.ts +3 -0
  296. package/src/models/operations/getv2humanevalsets.ts +2 -2
  297. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  298. package/src/models/operations/invokeeval.ts +2 -2
  299. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  300. package/src/models/operations/listdatasets.ts +1 -1
  301. package/src/models/operations/listdatasources.ts +1 -1
  302. package/src/models/operations/listpromptversions.ts +3 -0
  303. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  304. package/src/models/operations/postv2feedbackevaluation.ts +3 -3
  305. package/src/models/operations/postv2humanevalsets.ts +2 -2
  306. package/src/models/operations/retrievedatapoint.ts +4 -4
  307. package/src/models/operations/retrievedataset.ts +1 -1
  308. package/src/models/operations/retrievedatasource.ts +1 -1
  309. package/src/models/operations/retrievetool.ts +6 -6
  310. package/src/models/operations/runagent.ts +1 -1
  311. package/src/models/operations/streamrunagent.ts +1 -1
  312. package/src/models/operations/updatedatapoint.ts +4 -4
  313. package/src/models/operations/updatedataset.ts +1 -1
  314. package/src/models/operations/updatedatasource.ts +1 -1
  315. package/src/models/operations/updateprompt.ts +3 -0
  316. package/src/models/operations/updatetool.ts +7 -7
  317. package/src/sdk/feedback.ts +1 -4
  318. package/src/sdk/models.ts +35 -0
@@ -1022,21 +1022,25 @@ export type AgentToolInputCRUDProviderBuiltInTool = {
1022
1022
  * Whether this tool requires approval before execution
1023
1023
  */
1024
1024
  requiresApproval?: boolean | undefined;
1025
+ /**
1026
+ * Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
1027
+ */
1028
+ configuration?: { [k: string]: any } | undefined;
1025
1029
  };
1026
1030
 
1027
1031
  /**
1028
1032
  * MCP tool type
1029
1033
  */
1030
- export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools16Type =
1034
+ export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools17Type =
1031
1035
  {
1032
1036
  Mcp: "mcp",
1033
1037
  } as const;
1034
1038
  /**
1035
1039
  * MCP tool type
1036
1040
  */
1037
- export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools16Type =
1041
+ export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools17Type =
1038
1042
  ClosedEnum<
1039
- typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools16Type
1043
+ typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools17Type
1040
1044
  >;
1041
1045
 
1042
1046
  /**
@@ -1047,7 +1051,7 @@ export type AgentToolInputCRUDMCPTool = {
1047
1051
  * MCP tool type
1048
1052
  */
1049
1053
  type?:
1050
- | UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools16Type
1054
+ | UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools17Type
1051
1055
  | undefined;
1052
1056
  /**
1053
1057
  * The key of the parent MCP tool
@@ -1070,16 +1074,16 @@ export type AgentToolInputCRUDMCPTool = {
1070
1074
  /**
1071
1075
  * JSON Schema tool type
1072
1076
  */
1073
- export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type =
1077
+ export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools16Type =
1074
1078
  {
1075
1079
  JsonSchema: "json_schema",
1076
1080
  } as const;
1077
1081
  /**
1078
1082
  * JSON Schema tool type
1079
1083
  */
1080
- export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type =
1084
+ export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools16Type =
1081
1085
  ClosedEnum<
1082
- typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type
1086
+ typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools16Type
1083
1087
  >;
1084
1088
 
1085
1089
  /**
@@ -1090,7 +1094,7 @@ export type AgentToolInputCRUDJSONSchemaTool = {
1090
1094
  * JSON Schema tool type
1091
1095
  */
1092
1096
  type?:
1093
- | UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type
1097
+ | UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools16Type
1094
1098
  | undefined;
1095
1099
  /**
1096
1100
  * The key of the pre-created JSON Schema tool
@@ -1109,16 +1113,16 @@ export type AgentToolInputCRUDJSONSchemaTool = {
1109
1113
  /**
1110
1114
  * Function tool type
1111
1115
  */
1112
- export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type =
1116
+ export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type =
1113
1117
  {
1114
1118
  Function: "function",
1115
1119
  } as const;
1116
1120
  /**
1117
1121
  * Function tool type
1118
1122
  */
1119
- export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type =
1123
+ export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type =
1120
1124
  ClosedEnum<
1121
- typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type
1125
+ typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type
1122
1126
  >;
1123
1127
 
1124
1128
  /**
@@ -1129,7 +1133,7 @@ export type AgentToolInputCRUDFunctionTool = {
1129
1133
  * Function tool type
1130
1134
  */
1131
1135
  type?:
1132
- | UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type
1136
+ | UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type
1133
1137
  | undefined;
1134
1138
  /**
1135
1139
  * The key of the pre-created function tool
@@ -1148,16 +1152,16 @@ export type AgentToolInputCRUDFunctionTool = {
1148
1152
  /**
1149
1153
  * Code execution tool type
1150
1154
  */
1151
- export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type =
1155
+ export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type =
1152
1156
  {
1153
1157
  Code: "code",
1154
1158
  } as const;
1155
1159
  /**
1156
1160
  * Code execution tool type
1157
1161
  */
1158
- export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type =
1162
+ export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type =
1159
1163
  ClosedEnum<
1160
- typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type
1164
+ typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type
1161
1165
  >;
1162
1166
 
1163
1167
  /**
@@ -1168,7 +1172,7 @@ export type AgentToolInputCRUDCodeExecutionTool = {
1168
1172
  * Code execution tool type
1169
1173
  */
1170
1174
  type?:
1171
- | UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type
1175
+ | UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type
1172
1176
  | undefined;
1173
1177
  /**
1174
1178
  * The key of the pre-created code tool
@@ -1187,16 +1191,16 @@ export type AgentToolInputCRUDCodeExecutionTool = {
1187
1191
  /**
1188
1192
  * HTTP tool type
1189
1193
  */
1190
- export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type =
1194
+ export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type =
1191
1195
  {
1192
1196
  Http: "http",
1193
1197
  } as const;
1194
1198
  /**
1195
1199
  * HTTP tool type
1196
1200
  */
1197
- export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type =
1201
+ export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type =
1198
1202
  ClosedEnum<
1199
- typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type
1203
+ typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type
1200
1204
  >;
1201
1205
 
1202
1206
  /**
@@ -1207,7 +1211,7 @@ export type AgentToolInputCRUDHTTPTool = {
1207
1211
  * HTTP tool type
1208
1212
  */
1209
1213
  type?:
1210
- | UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type
1214
+ | UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type
1211
1215
  | undefined;
1212
1216
  /**
1213
1217
  * The key of the pre-created HTTP tool
@@ -1223,6 +1227,31 @@ export type AgentToolInputCRUDHTTPTool = {
1223
1227
  requiresApproval?: boolean | undefined;
1224
1228
  };
1225
1229
 
1230
+ export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type =
1231
+ {
1232
+ CodeInterpreter: "code_interpreter",
1233
+ } as const;
1234
+ export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type =
1235
+ ClosedEnum<
1236
+ typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type
1237
+ >;
1238
+
1239
+ /**
1240
+ * Executes model-written Python code. Uses provider-native code execution when the model supports it, otherwise a secure orq-managed sandbox.
1241
+ */
1242
+ export type AgentToolInputCRUDCodeInterpreterTool = {
1243
+ type:
1244
+ UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type;
1245
+ /**
1246
+ * Whether this tool requires approval before execution
1247
+ */
1248
+ requiresApproval?: boolean | undefined;
1249
+ /**
1250
+ * Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
1251
+ */
1252
+ configuration?: { [k: string]: any } | undefined;
1253
+ };
1254
+
1226
1255
  export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type =
1227
1256
  {
1228
1257
  CurrentDate: "current_date",
@@ -1242,6 +1271,10 @@ export type AgentToolInputCRUDCurrentDateTool = {
1242
1271
  * Whether this tool requires approval before execution
1243
1272
  */
1244
1273
  requiresApproval?: boolean | undefined;
1274
+ /**
1275
+ * Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
1276
+ */
1277
+ configuration?: { [k: string]: any } | undefined;
1245
1278
  };
1246
1279
 
1247
1280
  export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type =
@@ -1263,6 +1296,10 @@ export type AgentToolInputCRUDQueryKnowledgeBaseTool = {
1263
1296
  * Whether this tool requires approval before execution
1264
1297
  */
1265
1298
  requiresApproval?: boolean | undefined;
1299
+ /**
1300
+ * Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
1301
+ */
1302
+ configuration?: { [k: string]: any } | undefined;
1266
1303
  };
1267
1304
 
1268
1305
  export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type =
@@ -1283,6 +1320,10 @@ export type AgentToolInputCRUDRetrieveKnowledgeBasesTool = {
1283
1320
  * Whether this tool requires approval before execution
1284
1321
  */
1285
1322
  requiresApproval?: boolean | undefined;
1323
+ /**
1324
+ * Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
1325
+ */
1326
+ configuration?: { [k: string]: any } | undefined;
1286
1327
  };
1287
1328
 
1288
1329
  export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type =
@@ -1303,6 +1344,10 @@ export type AgentToolInputCRUDDeleteMemoryDocumentTool = {
1303
1344
  * Whether this tool requires approval before execution
1304
1345
  */
1305
1346
  requiresApproval?: boolean | undefined;
1347
+ /**
1348
+ * Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
1349
+ */
1350
+ configuration?: { [k: string]: any } | undefined;
1306
1351
  };
1307
1352
 
1308
1353
  export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type =
@@ -1323,6 +1368,10 @@ export type AgentToolInputCRUDRetrieveMemoryStoresTool = {
1323
1368
  * Whether this tool requires approval before execution
1324
1369
  */
1325
1370
  requiresApproval?: boolean | undefined;
1371
+ /**
1372
+ * Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
1373
+ */
1374
+ configuration?: { [k: string]: any } | undefined;
1326
1375
  };
1327
1376
 
1328
1377
  export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType =
@@ -1343,6 +1392,10 @@ export type AgentToolInputCRUDWriteMemoryStoreTool = {
1343
1392
  * Whether this tool requires approval before execution
1344
1393
  */
1345
1394
  requiresApproval?: boolean | undefined;
1395
+ /**
1396
+ * Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
1397
+ */
1398
+ configuration?: { [k: string]: any } | undefined;
1346
1399
  };
1347
1400
 
1348
1401
  export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType =
@@ -1363,6 +1416,10 @@ export type AgentToolInputCRUDQueryMemoryStoreTool = {
1363
1416
  * Whether this tool requires approval before execution
1364
1417
  */
1365
1418
  requiresApproval?: boolean | undefined;
1419
+ /**
1420
+ * Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
1421
+ */
1422
+ configuration?: { [k: string]: any } | undefined;
1366
1423
  };
1367
1424
 
1368
1425
  export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType = {
@@ -1380,6 +1437,10 @@ export type AgentToolInputCRUDRetrieveAgentsTool = {
1380
1437
  * Whether this tool requires approval before execution
1381
1438
  */
1382
1439
  requiresApproval?: boolean | undefined;
1440
+ /**
1441
+ * Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
1442
+ */
1443
+ configuration?: { [k: string]: any } | undefined;
1383
1444
  };
1384
1445
 
1385
1446
  export const UpdateAgentAgentToolInputCRUDAgentsRequestType = {
@@ -1398,6 +1459,10 @@ export type AgentToolInputCRUDCallSubAgentTool = {
1398
1459
  * Whether this tool requires approval before execution
1399
1460
  */
1400
1461
  requiresApproval?: boolean | undefined;
1462
+ /**
1463
+ * Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
1464
+ */
1465
+ configuration?: { [k: string]: any } | undefined;
1401
1466
  };
1402
1467
 
1403
1468
  export const UpdateAgentAgentToolInputCRUDAgentsType = {
@@ -1416,6 +1481,10 @@ export type AgentToolInputCRUDWebScraperTool = {
1416
1481
  * Whether this tool requires approval before execution
1417
1482
  */
1418
1483
  requiresApproval?: boolean | undefined;
1484
+ /**
1485
+ * Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
1486
+ */
1487
+ configuration?: { [k: string]: any } | undefined;
1419
1488
  };
1420
1489
 
1421
1490
  export const UpdateAgentAgentToolInputCRUDType = {
@@ -1434,6 +1503,10 @@ export type AgentToolInputCRUDGoogleSearchTool = {
1434
1503
  * Whether this tool requires approval before execution
1435
1504
  */
1436
1505
  requiresApproval?: boolean | undefined;
1506
+ /**
1507
+ * Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
1508
+ */
1509
+ configuration?: { [k: string]: any } | undefined;
1437
1510
  };
1438
1511
 
1439
1512
  /**
@@ -1451,6 +1524,7 @@ export type UpdateAgentAgentToolInputCRUD =
1451
1524
  | AgentToolInputCRUDRetrieveKnowledgeBasesTool
1452
1525
  | AgentToolInputCRUDQueryKnowledgeBaseTool
1453
1526
  | AgentToolInputCRUDCurrentDateTool
1527
+ | AgentToolInputCRUDCodeInterpreterTool
1454
1528
  | AgentToolInputCRUDMCPTool
1455
1529
  | AgentToolInputCRUDProviderBuiltInTool
1456
1530
  | AgentToolInputCRUDHTTPTool
@@ -1519,6 +1593,10 @@ export type UpdateAgentSettings = {
1519
1593
  maxExecutionTime?: number | undefined;
1520
1594
  maxCost?: number | undefined;
1521
1595
  toolApprovalRequired?: UpdateAgentToolApprovalRequired | undefined;
1596
+ /**
1597
+ * When enabled, this agent is exposed as a selectable target in AI Chat for users to consume.
1598
+ */
1599
+ chatExposed?: boolean | undefined;
1522
1600
  tools?:
1523
1601
  | Array<
1524
1602
  | AgentToolInputCRUDGoogleSearchTool
@@ -1532,6 +1610,7 @@ export type UpdateAgentSettings = {
1532
1610
  | AgentToolInputCRUDRetrieveKnowledgeBasesTool
1533
1611
  | AgentToolInputCRUDQueryKnowledgeBaseTool
1534
1612
  | AgentToolInputCRUDCurrentDateTool
1613
+ | AgentToolInputCRUDCodeInterpreterTool
1535
1614
  | AgentToolInputCRUDMCPTool
1536
1615
  | AgentToolInputCRUDProviderBuiltInTool
1537
1616
  | AgentToolInputCRUDHTTPTool
@@ -1770,6 +1849,10 @@ export type UpdateAgentTools = {
1770
1849
  * Optional tool description
1771
1850
  */
1772
1851
  description?: string | undefined;
1852
+ /**
1853
+ * Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
1854
+ */
1855
+ configuration?: { [k: string]: any } | undefined;
1773
1856
  requiresApproval: boolean;
1774
1857
  /**
1775
1858
  * Nested tool ID for MCP tools (identifies specific tool within MCP server)
@@ -1857,6 +1940,10 @@ export type UpdateAgentAgentsSettings = {
1857
1940
  * If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
1858
1941
  */
1859
1942
  toolApprovalRequired: UpdateAgentAgentsToolApprovalRequired;
1943
+ /**
1944
+ * When enabled, this agent is exposed as a selectable target in AI Chat for users to consume.
1945
+ */
1946
+ chatExposed?: boolean | undefined;
1860
1947
  tools?: Array<UpdateAgentTools> | undefined;
1861
1948
  /**
1862
1949
  * Configuration for an evaluator applied to the agent
@@ -4551,6 +4638,7 @@ export const UpdateAgentToolApprovalRequired$outboundSchema: z.ZodNativeEnum<
4551
4638
  export type AgentToolInputCRUDProviderBuiltInTool$Outbound = {
4552
4639
  type: string;
4553
4640
  requires_approval?: boolean | undefined;
4641
+ configuration?: { [k: string]: any } | undefined;
4554
4642
  };
4555
4643
 
4556
4644
  /** @internal */
@@ -4561,6 +4649,7 @@ export const AgentToolInputCRUDProviderBuiltInTool$outboundSchema: z.ZodType<
4561
4649
  > = z.object({
4562
4650
  type: z.string(),
4563
4651
  requiresApproval: z.boolean().optional(),
4652
+ configuration: z.record(z.any()).optional(),
4564
4653
  }).transform((v) => {
4565
4654
  return remap$(v, {
4566
4655
  requiresApproval: "requires_approval",
@@ -4578,11 +4667,11 @@ export function agentToolInputCRUDProviderBuiltInToolToJSON(
4578
4667
  }
4579
4668
 
4580
4669
  /** @internal */
4581
- export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools16Type$outboundSchema:
4670
+ export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools17Type$outboundSchema:
4582
4671
  z.ZodNativeEnum<
4583
- typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools16Type
4672
+ typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools17Type
4584
4673
  > = z.nativeEnum(
4585
- UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools16Type,
4674
+ UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools17Type,
4586
4675
  );
4587
4676
 
4588
4677
  /** @internal */
@@ -4601,7 +4690,7 @@ export const AgentToolInputCRUDMCPTool$outboundSchema: z.ZodType<
4601
4690
  AgentToolInputCRUDMCPTool
4602
4691
  > = z.object({
4603
4692
  type:
4604
- UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools16Type$outboundSchema
4693
+ UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools17Type$outboundSchema
4605
4694
  .default("mcp"),
4606
4695
  key: z.string().optional(),
4607
4696
  id: z.string().optional(),
@@ -4623,11 +4712,11 @@ export function agentToolInputCRUDMCPToolToJSON(
4623
4712
  }
4624
4713
 
4625
4714
  /** @internal */
4626
- export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$outboundSchema:
4715
+ export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools16Type$outboundSchema:
4627
4716
  z.ZodNativeEnum<
4628
- typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type
4717
+ typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools16Type
4629
4718
  > = z.nativeEnum(
4630
- UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type,
4719
+ UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools16Type,
4631
4720
  );
4632
4721
 
4633
4722
  /** @internal */
@@ -4645,7 +4734,7 @@ export const AgentToolInputCRUDJSONSchemaTool$outboundSchema: z.ZodType<
4645
4734
  AgentToolInputCRUDJSONSchemaTool
4646
4735
  > = z.object({
4647
4736
  type:
4648
- UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$outboundSchema
4737
+ UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools16Type$outboundSchema
4649
4738
  .default("json_schema"),
4650
4739
  key: z.string().optional(),
4651
4740
  id: z.string().optional(),
@@ -4667,11 +4756,11 @@ export function agentToolInputCRUDJSONSchemaToolToJSON(
4667
4756
  }
4668
4757
 
4669
4758
  /** @internal */
4670
- export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$outboundSchema:
4759
+ export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$outboundSchema:
4671
4760
  z.ZodNativeEnum<
4672
- typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type
4761
+ typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type
4673
4762
  > = z.nativeEnum(
4674
- UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type,
4763
+ UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type,
4675
4764
  );
4676
4765
 
4677
4766
  /** @internal */
@@ -4689,7 +4778,7 @@ export const AgentToolInputCRUDFunctionTool$outboundSchema: z.ZodType<
4689
4778
  AgentToolInputCRUDFunctionTool
4690
4779
  > = z.object({
4691
4780
  type:
4692
- UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$outboundSchema
4781
+ UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$outboundSchema
4693
4782
  .default("function"),
4694
4783
  key: z.string().optional(),
4695
4784
  id: z.string().optional(),
@@ -4711,11 +4800,11 @@ export function agentToolInputCRUDFunctionToolToJSON(
4711
4800
  }
4712
4801
 
4713
4802
  /** @internal */
4714
- export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$outboundSchema:
4803
+ export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$outboundSchema:
4715
4804
  z.ZodNativeEnum<
4716
- typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type
4805
+ typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type
4717
4806
  > = z.nativeEnum(
4718
- UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type,
4807
+ UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type,
4719
4808
  );
4720
4809
 
4721
4810
  /** @internal */
@@ -4733,7 +4822,7 @@ export const AgentToolInputCRUDCodeExecutionTool$outboundSchema: z.ZodType<
4733
4822
  AgentToolInputCRUDCodeExecutionTool
4734
4823
  > = z.object({
4735
4824
  type:
4736
- UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$outboundSchema
4825
+ UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$outboundSchema
4737
4826
  .default("code"),
4738
4827
  key: z.string().optional(),
4739
4828
  id: z.string().optional(),
@@ -4755,11 +4844,11 @@ export function agentToolInputCRUDCodeExecutionToolToJSON(
4755
4844
  }
4756
4845
 
4757
4846
  /** @internal */
4758
- export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$outboundSchema:
4847
+ export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$outboundSchema:
4759
4848
  z.ZodNativeEnum<
4760
- typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type
4849
+ typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type
4761
4850
  > = z.nativeEnum(
4762
- UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type,
4851
+ UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type,
4763
4852
  );
4764
4853
 
4765
4854
  /** @internal */
@@ -4777,7 +4866,7 @@ export const AgentToolInputCRUDHTTPTool$outboundSchema: z.ZodType<
4777
4866
  AgentToolInputCRUDHTTPTool
4778
4867
  > = z.object({
4779
4868
  type:
4780
- UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$outboundSchema
4869
+ UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$outboundSchema
4781
4870
  .default("http"),
4782
4871
  key: z.string().optional(),
4783
4872
  id: z.string().optional(),
@@ -4796,6 +4885,47 @@ export function agentToolInputCRUDHTTPToolToJSON(
4796
4885
  );
4797
4886
  }
4798
4887
 
4888
+ /** @internal */
4889
+ export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$outboundSchema:
4890
+ z.ZodNativeEnum<
4891
+ typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type
4892
+ > = z.nativeEnum(
4893
+ UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type,
4894
+ );
4895
+
4896
+ /** @internal */
4897
+ export type AgentToolInputCRUDCodeInterpreterTool$Outbound = {
4898
+ type: string;
4899
+ requires_approval?: boolean | undefined;
4900
+ configuration?: { [k: string]: any } | undefined;
4901
+ };
4902
+
4903
+ /** @internal */
4904
+ export const AgentToolInputCRUDCodeInterpreterTool$outboundSchema: z.ZodType<
4905
+ AgentToolInputCRUDCodeInterpreterTool$Outbound,
4906
+ z.ZodTypeDef,
4907
+ AgentToolInputCRUDCodeInterpreterTool
4908
+ > = z.object({
4909
+ type:
4910
+ UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$outboundSchema,
4911
+ requiresApproval: z.boolean().optional(),
4912
+ configuration: z.record(z.any()).optional(),
4913
+ }).transform((v) => {
4914
+ return remap$(v, {
4915
+ requiresApproval: "requires_approval",
4916
+ });
4917
+ });
4918
+
4919
+ export function agentToolInputCRUDCodeInterpreterToolToJSON(
4920
+ agentToolInputCRUDCodeInterpreterTool: AgentToolInputCRUDCodeInterpreterTool,
4921
+ ): string {
4922
+ return JSON.stringify(
4923
+ AgentToolInputCRUDCodeInterpreterTool$outboundSchema.parse(
4924
+ agentToolInputCRUDCodeInterpreterTool,
4925
+ ),
4926
+ );
4927
+ }
4928
+
4799
4929
  /** @internal */
4800
4930
  export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$outboundSchema:
4801
4931
  z.ZodNativeEnum<
@@ -4808,6 +4938,7 @@ export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools1
4808
4938
  export type AgentToolInputCRUDCurrentDateTool$Outbound = {
4809
4939
  type: string;
4810
4940
  requires_approval?: boolean | undefined;
4941
+ configuration?: { [k: string]: any } | undefined;
4811
4942
  };
4812
4943
 
4813
4944
  /** @internal */
@@ -4819,6 +4950,7 @@ export const AgentToolInputCRUDCurrentDateTool$outboundSchema: z.ZodType<
4819
4950
  type:
4820
4951
  UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$outboundSchema,
4821
4952
  requiresApproval: z.boolean().optional(),
4953
+ configuration: z.record(z.any()).optional(),
4822
4954
  }).transform((v) => {
4823
4955
  return remap$(v, {
4824
4956
  requiresApproval: "requires_approval",
@@ -4847,6 +4979,7 @@ export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools1
4847
4979
  export type AgentToolInputCRUDQueryKnowledgeBaseTool$Outbound = {
4848
4980
  type: string;
4849
4981
  requires_approval?: boolean | undefined;
4982
+ configuration?: { [k: string]: any } | undefined;
4850
4983
  };
4851
4984
 
4852
4985
  /** @internal */
@@ -4858,6 +4991,7 @@ export const AgentToolInputCRUDQueryKnowledgeBaseTool$outboundSchema: z.ZodType<
4858
4991
  type:
4859
4992
  UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$outboundSchema,
4860
4993
  requiresApproval: z.boolean().optional(),
4994
+ configuration: z.record(z.any()).optional(),
4861
4995
  }).transform((v) => {
4862
4996
  return remap$(v, {
4863
4997
  requiresApproval: "requires_approval",
@@ -4887,6 +5021,7 @@ export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9
4887
5021
  export type AgentToolInputCRUDRetrieveKnowledgeBasesTool$Outbound = {
4888
5022
  type: string;
4889
5023
  requires_approval?: boolean | undefined;
5024
+ configuration?: { [k: string]: any } | undefined;
4890
5025
  };
4891
5026
 
4892
5027
  /** @internal */
@@ -4899,6 +5034,7 @@ export const AgentToolInputCRUDRetrieveKnowledgeBasesTool$outboundSchema:
4899
5034
  type:
4900
5035
  UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$outboundSchema,
4901
5036
  requiresApproval: z.boolean().optional(),
5037
+ configuration: z.record(z.any()).optional(),
4902
5038
  }).transform((v) => {
4903
5039
  return remap$(v, {
4904
5040
  requiresApproval: "requires_approval",
@@ -4928,6 +5064,7 @@ export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8
4928
5064
  export type AgentToolInputCRUDDeleteMemoryDocumentTool$Outbound = {
4929
5065
  type: string;
4930
5066
  requires_approval?: boolean | undefined;
5067
+ configuration?: { [k: string]: any } | undefined;
4931
5068
  };
4932
5069
 
4933
5070
  /** @internal */
@@ -4940,6 +5077,7 @@ export const AgentToolInputCRUDDeleteMemoryDocumentTool$outboundSchema:
4940
5077
  type:
4941
5078
  UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$outboundSchema,
4942
5079
  requiresApproval: z.boolean().optional(),
5080
+ configuration: z.record(z.any()).optional(),
4943
5081
  }).transform((v) => {
4944
5082
  return remap$(v, {
4945
5083
  requiresApproval: "requires_approval",
@@ -4969,6 +5107,7 @@ export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7
4969
5107
  export type AgentToolInputCRUDRetrieveMemoryStoresTool$Outbound = {
4970
5108
  type: string;
4971
5109
  requires_approval?: boolean | undefined;
5110
+ configuration?: { [k: string]: any } | undefined;
4972
5111
  };
4973
5112
 
4974
5113
  /** @internal */
@@ -4981,6 +5120,7 @@ export const AgentToolInputCRUDRetrieveMemoryStoresTool$outboundSchema:
4981
5120
  type:
4982
5121
  UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$outboundSchema,
4983
5122
  requiresApproval: z.boolean().optional(),
5123
+ configuration: z.record(z.any()).optional(),
4984
5124
  }).transform((v) => {
4985
5125
  return remap$(v, {
4986
5126
  requiresApproval: "requires_approval",
@@ -5010,6 +5150,7 @@ export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsT
5010
5150
  export type AgentToolInputCRUDWriteMemoryStoreTool$Outbound = {
5011
5151
  type: string;
5012
5152
  requires_approval?: boolean | undefined;
5153
+ configuration?: { [k: string]: any } | undefined;
5013
5154
  };
5014
5155
 
5015
5156
  /** @internal */
@@ -5021,6 +5162,7 @@ export const AgentToolInputCRUDWriteMemoryStoreTool$outboundSchema: z.ZodType<
5021
5162
  type:
5022
5163
  UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$outboundSchema,
5023
5164
  requiresApproval: z.boolean().optional(),
5165
+ configuration: z.record(z.any()).optional(),
5024
5166
  }).transform((v) => {
5025
5167
  return remap$(v, {
5026
5168
  requiresApproval: "requires_approval",
@@ -5050,6 +5192,7 @@ export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$o
5050
5192
  export type AgentToolInputCRUDQueryMemoryStoreTool$Outbound = {
5051
5193
  type: string;
5052
5194
  requires_approval?: boolean | undefined;
5195
+ configuration?: { [k: string]: any } | undefined;
5053
5196
  };
5054
5197
 
5055
5198
  /** @internal */
@@ -5061,6 +5204,7 @@ export const AgentToolInputCRUDQueryMemoryStoreTool$outboundSchema: z.ZodType<
5061
5204
  type:
5062
5205
  UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$outboundSchema,
5063
5206
  requiresApproval: z.boolean().optional(),
5207
+ configuration: z.record(z.any()).optional(),
5064
5208
  }).transform((v) => {
5065
5209
  return remap$(v, {
5066
5210
  requiresApproval: "requires_approval",
@@ -5088,6 +5232,7 @@ export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$outboundS
5088
5232
  export type AgentToolInputCRUDRetrieveAgentsTool$Outbound = {
5089
5233
  type: string;
5090
5234
  requires_approval?: boolean | undefined;
5235
+ configuration?: { [k: string]: any } | undefined;
5091
5236
  };
5092
5237
 
5093
5238
  /** @internal */
@@ -5099,6 +5244,7 @@ export const AgentToolInputCRUDRetrieveAgentsTool$outboundSchema: z.ZodType<
5099
5244
  type:
5100
5245
  UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$outboundSchema,
5101
5246
  requiresApproval: z.boolean().optional(),
5247
+ configuration: z.record(z.any()).optional(),
5102
5248
  }).transform((v) => {
5103
5249
  return remap$(v, {
5104
5250
  requiresApproval: "requires_approval",
@@ -5124,6 +5270,7 @@ export const UpdateAgentAgentToolInputCRUDAgentsRequestType$outboundSchema:
5124
5270
  export type AgentToolInputCRUDCallSubAgentTool$Outbound = {
5125
5271
  type: string;
5126
5272
  requires_approval?: boolean | undefined;
5273
+ configuration?: { [k: string]: any } | undefined;
5127
5274
  };
5128
5275
 
5129
5276
  /** @internal */
@@ -5134,6 +5281,7 @@ export const AgentToolInputCRUDCallSubAgentTool$outboundSchema: z.ZodType<
5134
5281
  > = z.object({
5135
5282
  type: UpdateAgentAgentToolInputCRUDAgentsRequestType$outboundSchema,
5136
5283
  requiresApproval: z.boolean().optional(),
5284
+ configuration: z.record(z.any()).optional(),
5137
5285
  }).transform((v) => {
5138
5286
  return remap$(v, {
5139
5287
  requiresApproval: "requires_approval",
@@ -5159,6 +5307,7 @@ export const UpdateAgentAgentToolInputCRUDAgentsType$outboundSchema:
5159
5307
  export type AgentToolInputCRUDWebScraperTool$Outbound = {
5160
5308
  type: string;
5161
5309
  requires_approval?: boolean | undefined;
5310
+ configuration?: { [k: string]: any } | undefined;
5162
5311
  };
5163
5312
 
5164
5313
  /** @internal */
@@ -5169,6 +5318,7 @@ export const AgentToolInputCRUDWebScraperTool$outboundSchema: z.ZodType<
5169
5318
  > = z.object({
5170
5319
  type: UpdateAgentAgentToolInputCRUDAgentsType$outboundSchema,
5171
5320
  requiresApproval: z.boolean().optional(),
5321
+ configuration: z.record(z.any()).optional(),
5172
5322
  }).transform((v) => {
5173
5323
  return remap$(v, {
5174
5324
  requiresApproval: "requires_approval",
@@ -5194,6 +5344,7 @@ export const UpdateAgentAgentToolInputCRUDType$outboundSchema: z.ZodNativeEnum<
5194
5344
  export type AgentToolInputCRUDGoogleSearchTool$Outbound = {
5195
5345
  type: string;
5196
5346
  requires_approval?: boolean | undefined;
5347
+ configuration?: { [k: string]: any } | undefined;
5197
5348
  };
5198
5349
 
5199
5350
  /** @internal */
@@ -5204,6 +5355,7 @@ export const AgentToolInputCRUDGoogleSearchTool$outboundSchema: z.ZodType<
5204
5355
  > = z.object({
5205
5356
  type: UpdateAgentAgentToolInputCRUDType$outboundSchema,
5206
5357
  requiresApproval: z.boolean().optional(),
5358
+ configuration: z.record(z.any()).optional(),
5207
5359
  }).transform((v) => {
5208
5360
  return remap$(v, {
5209
5361
  requiresApproval: "requires_approval",
@@ -5233,6 +5385,7 @@ export type UpdateAgentAgentToolInputCRUD$Outbound =
5233
5385
  | AgentToolInputCRUDRetrieveKnowledgeBasesTool$Outbound
5234
5386
  | AgentToolInputCRUDQueryKnowledgeBaseTool$Outbound
5235
5387
  | AgentToolInputCRUDCurrentDateTool$Outbound
5388
+ | AgentToolInputCRUDCodeInterpreterTool$Outbound
5236
5389
  | AgentToolInputCRUDMCPTool$Outbound
5237
5390
  | AgentToolInputCRUDProviderBuiltInTool$Outbound
5238
5391
  | AgentToolInputCRUDHTTPTool$Outbound
@@ -5257,6 +5410,7 @@ export const UpdateAgentAgentToolInputCRUD$outboundSchema: z.ZodType<
5257
5410
  z.lazy(() => AgentToolInputCRUDRetrieveKnowledgeBasesTool$outboundSchema),
5258
5411
  z.lazy(() => AgentToolInputCRUDQueryKnowledgeBaseTool$outboundSchema),
5259
5412
  z.lazy(() => AgentToolInputCRUDCurrentDateTool$outboundSchema),
5413
+ z.lazy(() => AgentToolInputCRUDCodeInterpreterTool$outboundSchema),
5260
5414
  z.lazy(() => AgentToolInputCRUDMCPTool$outboundSchema),
5261
5415
  z.lazy(() => AgentToolInputCRUDProviderBuiltInTool$outboundSchema),
5262
5416
  z.lazy(() => AgentToolInputCRUDHTTPTool$outboundSchema),
@@ -5353,6 +5507,7 @@ export type UpdateAgentSettings$Outbound = {
5353
5507
  max_execution_time?: number | undefined;
5354
5508
  max_cost?: number | undefined;
5355
5509
  tool_approval_required?: string | undefined;
5510
+ chat_exposed?: boolean | undefined;
5356
5511
  tools?:
5357
5512
  | Array<
5358
5513
  | AgentToolInputCRUDGoogleSearchTool$Outbound
@@ -5366,6 +5521,7 @@ export type UpdateAgentSettings$Outbound = {
5366
5521
  | AgentToolInputCRUDRetrieveKnowledgeBasesTool$Outbound
5367
5522
  | AgentToolInputCRUDQueryKnowledgeBaseTool$Outbound
5368
5523
  | AgentToolInputCRUDCurrentDateTool$Outbound
5524
+ | AgentToolInputCRUDCodeInterpreterTool$Outbound
5369
5525
  | AgentToolInputCRUDMCPTool$Outbound
5370
5526
  | AgentToolInputCRUDProviderBuiltInTool$Outbound
5371
5527
  | AgentToolInputCRUDHTTPTool$Outbound
@@ -5389,6 +5545,7 @@ export const UpdateAgentSettings$outboundSchema: z.ZodType<
5389
5545
  maxCost: z.number().optional(),
5390
5546
  toolApprovalRequired: UpdateAgentToolApprovalRequired$outboundSchema
5391
5547
  .optional(),
5548
+ chatExposed: z.boolean().optional(),
5392
5549
  tools: z.array(
5393
5550
  z.union([
5394
5551
  z.lazy(() => AgentToolInputCRUDGoogleSearchTool$outboundSchema),
@@ -5402,6 +5559,7 @@ export const UpdateAgentSettings$outboundSchema: z.ZodType<
5402
5559
  z.lazy(() => AgentToolInputCRUDRetrieveKnowledgeBasesTool$outboundSchema),
5403
5560
  z.lazy(() => AgentToolInputCRUDQueryKnowledgeBaseTool$outboundSchema),
5404
5561
  z.lazy(() => AgentToolInputCRUDCurrentDateTool$outboundSchema),
5562
+ z.lazy(() => AgentToolInputCRUDCodeInterpreterTool$outboundSchema),
5405
5563
  z.lazy(() => AgentToolInputCRUDMCPTool$outboundSchema),
5406
5564
  z.lazy(() => AgentToolInputCRUDProviderBuiltInTool$outboundSchema),
5407
5565
  z.lazy(() => AgentToolInputCRUDHTTPTool$outboundSchema),
@@ -5420,6 +5578,7 @@ export const UpdateAgentSettings$outboundSchema: z.ZodType<
5420
5578
  maxExecutionTime: "max_execution_time",
5421
5579
  maxCost: "max_cost",
5422
5580
  toolApprovalRequired: "tool_approval_required",
5581
+ chatExposed: "chat_exposed",
5423
5582
  });
5424
5583
  });
5425
5584
 
@@ -5725,6 +5884,7 @@ export const UpdateAgentTools$inboundSchema: z.ZodType<
5725
5884
  action_type: z.string(),
5726
5885
  display_name: z.string().optional(),
5727
5886
  description: z.string().optional(),
5887
+ configuration: z.record(z.any()).optional(),
5728
5888
  requires_approval: z.boolean().default(false),
5729
5889
  tool_id: z.string().optional(),
5730
5890
  conditions: z.array(z.lazy(() => UpdateAgentConditions$inboundSchema))
@@ -5823,6 +5983,7 @@ export const UpdateAgentAgentsSettings$inboundSchema: z.ZodType<
5823
5983
  max_cost: z.number().default(0),
5824
5984
  tool_approval_required: UpdateAgentAgentsToolApprovalRequired$inboundSchema
5825
5985
  .default("respect_tool"),
5986
+ chat_exposed: z.boolean().optional(),
5826
5987
  tools: z.array(z.lazy(() => UpdateAgentTools$inboundSchema)).optional(),
5827
5988
  evaluators: z.array(z.lazy(() => UpdateAgentAgentsEvaluators$inboundSchema))
5828
5989
  .optional(),
@@ -5834,6 +5995,7 @@ export const UpdateAgentAgentsSettings$inboundSchema: z.ZodType<
5834
5995
  "max_execution_time": "maxExecutionTime",
5835
5996
  "max_cost": "maxCost",
5836
5997
  "tool_approval_required": "toolApprovalRequired",
5998
+ "chat_exposed": "chatExposed",
5837
5999
  });
5838
6000
  });
5839
6001