@lightdash/common 3.25.1 → 3.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (649) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -1
  2. package/dist/cjs/ee/AiAgent/index.d.ts +0 -1
  3. package/dist/cjs/ee/AiAgent/index.d.ts.map +1 -1
  4. package/dist/cjs/ee/AiAgent/index.js +0 -1
  5. package/dist/cjs/ee/AiAgent/index.js.map +1 -1
  6. package/dist/cjs/ee/AiAgent/schemas/customMetrics.js +2 -2
  7. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcFormula.d.ts +5 -4
  8. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcFormula.d.ts.map +1 -1
  9. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcFormula.js +42 -5
  10. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcFormula.js.map +1 -1
  11. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts.map +1 -1
  12. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.js +8 -1
  13. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.js.map +1 -1
  14. package/dist/cjs/ee/AiAgent/schemas/tools/discoveryToolNames.d.ts +0 -11
  15. package/dist/cjs/ee/AiAgent/schemas/tools/discoveryToolNames.d.ts.map +1 -1
  16. package/dist/cjs/ee/AiAgent/schemas/tools/discoveryToolNames.js +2 -11
  17. package/dist/cjs/ee/AiAgent/schemas/tools/discoveryToolNames.js.map +1 -1
  18. package/dist/cjs/ee/AiAgent/schemas/tools/mcpDocumentContent.d.ts +4 -0
  19. package/dist/cjs/ee/AiAgent/schemas/tools/mcpDocumentContent.d.ts.map +1 -1
  20. package/dist/cjs/ee/AiAgent/schemas/tools/mcpDocumentContent.js +20 -20
  21. package/dist/cjs/ee/AiAgent/schemas/tools/mcpDocumentContent.js.map +1 -1
  22. package/dist/cjs/ee/AiAgent/schemas/tools/mcpToolListExploresArgs.d.ts.map +1 -1
  23. package/dist/cjs/ee/AiAgent/schemas/tools/mcpToolListExploresArgs.js +1 -8
  24. package/dist/cjs/ee/AiAgent/schemas/tools/mcpToolListExploresArgs.js.map +1 -1
  25. package/dist/cjs/ee/AiAgent/schemas/tools/toolAnalyzeFieldImpactArgs.d.ts +1 -1
  26. package/dist/cjs/ee/AiAgent/schemas/tools/toolAnalyzeFieldImpactArgs.d.ts.map +1 -1
  27. package/dist/cjs/ee/AiAgent/schemas/tools/toolAnalyzeFieldImpactArgs.js +5 -14
  28. package/dist/cjs/ee/AiAgent/schemas/tools/toolAnalyzeFieldImpactArgs.js.map +1 -1
  29. package/dist/cjs/ee/AiAgent/schemas/tools/toolBuiltInSkillArgs.d.ts +2 -2
  30. package/dist/cjs/ee/AiAgent/schemas/tools/toolBuiltInSkillArgs.d.ts.map +1 -1
  31. package/dist/cjs/ee/AiAgent/schemas/tools/toolBuiltInSkillArgs.js +2 -2
  32. package/dist/cjs/ee/AiAgent/schemas/tools/toolBuiltInSkillArgs.js.map +1 -1
  33. package/dist/cjs/ee/AiAgent/schemas/tools/toolClosePullRequestArgs.d.ts.map +1 -1
  34. package/dist/cjs/ee/AiAgent/schemas/tools/toolClosePullRequestArgs.js +3 -4
  35. package/dist/cjs/ee/AiAgent/schemas/tools/toolClosePullRequestArgs.js.map +1 -1
  36. package/dist/cjs/ee/AiAgent/schemas/tools/toolComposerQueryArgs.d.ts.map +1 -1
  37. package/dist/cjs/ee/AiAgent/schemas/tools/toolComposerQueryArgs.js +16 -16
  38. package/dist/cjs/ee/AiAgent/schemas/tools/toolComposerQueryArgs.js.map +1 -1
  39. package/dist/cjs/ee/AiAgent/schemas/tools/toolCreateContentArgs.d.ts +2 -1
  40. package/dist/cjs/ee/AiAgent/schemas/tools/toolCreateContentArgs.d.ts.map +1 -1
  41. package/dist/cjs/ee/AiAgent/schemas/tools/toolCreateContentArgs.js +5 -4
  42. package/dist/cjs/ee/AiAgent/schemas/tools/toolCreateContentArgs.js.map +1 -1
  43. package/dist/cjs/ee/AiAgent/schemas/tools/toolCreateCustomChartTypeArgs.d.ts +1 -1
  44. package/dist/cjs/ee/AiAgent/schemas/tools/toolCreateCustomChartTypeArgs.d.ts.map +1 -1
  45. package/dist/cjs/ee/AiAgent/schemas/tools/toolCreateCustomChartTypeArgs.js +2 -3
  46. package/dist/cjs/ee/AiAgent/schemas/tools/toolCreateCustomChartTypeArgs.js.map +1 -1
  47. package/dist/cjs/ee/AiAgent/schemas/tools/toolCreateScheduledDeliveryArgs.d.ts.map +1 -1
  48. package/dist/cjs/ee/AiAgent/schemas/tools/toolCreateScheduledDeliveryArgs.js +11 -10
  49. package/dist/cjs/ee/AiAgent/schemas/tools/toolCreateScheduledDeliveryArgs.js.map +1 -1
  50. package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +1 -1
  51. package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts.map +1 -1
  52. package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardV2Args.js +10 -18
  53. package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardV2Args.js.map +1 -1
  54. package/dist/cjs/ee/AiAgent/schemas/tools/toolDefinitions.d.ts.map +1 -1
  55. package/dist/cjs/ee/AiAgent/schemas/tools/toolDefinitions.js +3 -4
  56. package/dist/cjs/ee/AiAgent/schemas/tools/toolDefinitions.js.map +1 -1
  57. package/dist/cjs/ee/AiAgent/schemas/tools/toolDescribeWarehouseTableArgs.d.ts +1 -2
  58. package/dist/cjs/ee/AiAgent/schemas/tools/toolDescribeWarehouseTableArgs.d.ts.map +1 -1
  59. package/dist/cjs/ee/AiAgent/schemas/tools/toolDescribeWarehouseTableArgs.js +5 -25
  60. package/dist/cjs/ee/AiAgent/schemas/tools/toolDescribeWarehouseTableArgs.js.map +1 -1
  61. package/dist/cjs/ee/AiAgent/schemas/tools/toolDiscoverReposArgs.d.ts.map +1 -1
  62. package/dist/cjs/ee/AiAgent/schemas/tools/toolDiscoverReposArgs.js +3 -4
  63. package/dist/cjs/ee/AiAgent/schemas/tools/toolDiscoverReposArgs.js.map +1 -1
  64. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditContentArgs.d.ts +2 -1
  65. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditContentArgs.d.ts.map +1 -1
  66. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditContentArgs.js +5 -3
  67. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditContentArgs.js.map +1 -1
  68. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.d.ts.map +1 -1
  69. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.js +6 -9
  70. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.js.map +1 -1
  71. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditProjectContextArgs.d.ts.map +1 -1
  72. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditProjectContextArgs.js +3 -4
  73. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditProjectContextArgs.js.map +1 -1
  74. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditRepoArgs.d.ts.map +1 -1
  75. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditRepoArgs.js +8 -10
  76. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditRepoArgs.js.map +1 -1
  77. package/dist/cjs/ee/AiAgent/schemas/tools/toolExploreRepoArgs.d.ts.map +1 -1
  78. package/dist/cjs/ee/AiAgent/schemas/tools/toolExploreRepoArgs.js +8 -11
  79. package/dist/cjs/ee/AiAgent/schemas/tools/toolExploreRepoArgs.js.map +1 -1
  80. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindContentArgs.d.ts +3 -2
  81. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindContentArgs.d.ts.map +1 -1
  82. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindContentArgs.js +17 -19
  83. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindContentArgs.js.map +1 -1
  84. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindCustomChartTypesArgs.d.ts +1 -1
  85. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindCustomChartTypesArgs.d.ts.map +1 -1
  86. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindCustomChartTypesArgs.js +2 -13
  87. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindCustomChartTypesArgs.js.map +1 -1
  88. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindCustomChartTypesMcpArgs.d.ts +1 -1
  89. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindCustomChartTypesMcpArgs.d.ts.map +1 -1
  90. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindCustomChartTypesMcpArgs.js +1 -1
  91. package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts +11 -11
  92. package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts.map +1 -1
  93. package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js +26 -46
  94. package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js.map +1 -1
  95. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetDashboardChartsArgs.d.ts +1 -1
  96. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetDashboardChartsArgs.d.ts.map +1 -1
  97. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetDashboardChartsArgs.js +1 -9
  98. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetDashboardChartsArgs.js.map +1 -1
  99. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetDataAppBuildStatusArgs.d.ts +1 -1
  100. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetDataAppBuildStatusArgs.d.ts.map +1 -1
  101. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetDataAppBuildStatusArgs.js +4 -22
  102. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetDataAppBuildStatusArgs.js.map +1 -1
  103. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetKnowledgeDocumentContentArgs.d.ts.map +1 -1
  104. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetKnowledgeDocumentContentArgs.js +1 -12
  105. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetKnowledgeDocumentContentArgs.js.map +1 -1
  106. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetMetadataArgs.d.ts.map +1 -1
  107. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetMetadataArgs.js +9 -5
  108. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetMetadataArgs.js.map +1 -1
  109. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.js +3 -3
  110. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.js.map +1 -1
  111. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.js +4 -4
  112. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.js.map +1 -1
  113. package/dist/cjs/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.d.ts.map +1 -1
  114. package/dist/cjs/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.js +10 -7
  115. package/dist/cjs/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.js.map +1 -1
  116. package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateCustomChartTypeArgs.d.ts +1 -1
  117. package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateCustomChartTypeArgs.d.ts.map +1 -1
  118. package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateCustomChartTypeArgs.js +1 -1
  119. package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts +2 -2
  120. package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts.map +1 -1
  121. package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js +10 -32
  122. package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js.map +1 -1
  123. package/dist/cjs/ee/AiAgent/schemas/tools/toolListContentArgs.d.ts +1 -2
  124. package/dist/cjs/ee/AiAgent/schemas/tools/toolListContentArgs.d.ts.map +1 -1
  125. package/dist/cjs/ee/AiAgent/schemas/tools/toolListContentArgs.js +2 -11
  126. package/dist/cjs/ee/AiAgent/schemas/tools/toolListContentArgs.js.map +1 -1
  127. package/dist/cjs/ee/AiAgent/schemas/tools/toolListCustomChartTypesMcpArgs.d.ts +1 -1
  128. package/dist/cjs/ee/AiAgent/schemas/tools/toolListCustomChartTypesMcpArgs.d.ts.map +1 -1
  129. package/dist/cjs/ee/AiAgent/schemas/tools/toolListCustomChartTypesMcpArgs.js +1 -1
  130. package/dist/cjs/ee/AiAgent/schemas/tools/toolListDataAppConnectionsArgs.d.ts +2 -2
  131. package/dist/cjs/ee/AiAgent/schemas/tools/toolListDataAppConnectionsArgs.d.ts.map +1 -1
  132. package/dist/cjs/ee/AiAgent/schemas/tools/toolListDataAppConnectionsArgs.js +6 -27
  133. package/dist/cjs/ee/AiAgent/schemas/tools/toolListDataAppConnectionsArgs.js.map +1 -1
  134. package/dist/cjs/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.d.ts +2 -2
  135. package/dist/cjs/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.d.ts.map +1 -1
  136. package/dist/cjs/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.js +4 -22
  137. package/dist/cjs/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.js.map +1 -1
  138. package/dist/cjs/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.d.ts.map +1 -1
  139. package/dist/cjs/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.js +2 -13
  140. package/dist/cjs/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.js.map +1 -1
  141. package/dist/cjs/ee/AiAgent/schemas/tools/toolListProjectsArgs.js +3 -3
  142. package/dist/cjs/ee/AiAgent/schemas/tools/toolListProjectsArgs.js.map +1 -1
  143. package/dist/cjs/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.d.ts +1 -2
  144. package/dist/cjs/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.d.ts.map +1 -1
  145. package/dist/cjs/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.js +4 -23
  146. package/dist/cjs/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.js.map +1 -1
  147. package/dist/cjs/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.d.ts.map +1 -1
  148. package/dist/cjs/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.js +3 -4
  149. package/dist/cjs/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.js.map +1 -1
  150. package/dist/cjs/ee/AiAgent/schemas/tools/toolLoadMcpToolsArgs.d.ts +1 -1
  151. package/dist/cjs/ee/AiAgent/schemas/tools/toolLoadMcpToolsArgs.d.ts.map +1 -1
  152. package/dist/cjs/ee/AiAgent/schemas/tools/toolLoadMcpToolsArgs.js +1 -1
  153. package/dist/cjs/ee/AiAgent/schemas/tools/toolLoadMcpToolsArgs.js.map +1 -1
  154. package/dist/cjs/ee/AiAgent/schemas/tools/toolLoadProjectContextArgs.d.ts +1 -1
  155. package/dist/cjs/ee/AiAgent/schemas/tools/toolLoadProjectContextArgs.d.ts.map +1 -1
  156. package/dist/cjs/ee/AiAgent/schemas/tools/toolLoadProjectContextArgs.js +1 -1
  157. package/dist/cjs/ee/AiAgent/schemas/tools/toolLoadProjectContextArgs.js.map +1 -1
  158. package/dist/cjs/ee/AiAgent/schemas/tools/toolLoadSkillArgs.d.ts +1 -1
  159. package/dist/cjs/ee/AiAgent/schemas/tools/toolLoadSkillArgs.d.ts.map +1 -1
  160. package/dist/cjs/ee/AiAgent/schemas/tools/toolLoadSkillArgs.js +2 -2
  161. package/dist/cjs/ee/AiAgent/schemas/tools/toolLoadSkillArgs.js.map +1 -1
  162. package/dist/cjs/ee/AiAgent/schemas/tools/toolMcpQueryResultDescription.d.ts +1 -1
  163. package/dist/cjs/ee/AiAgent/schemas/tools/toolMcpQueryResultDescription.d.ts.map +1 -1
  164. package/dist/cjs/ee/AiAgent/schemas/tools/toolMcpQueryResultDescription.js +1 -1
  165. package/dist/cjs/ee/AiAgent/schemas/tools/toolMcpQueryResultDescription.js.map +1 -1
  166. package/dist/cjs/ee/AiAgent/schemas/tools/toolReadAttachmentsArgs.d.ts.map +1 -1
  167. package/dist/cjs/ee/AiAgent/schemas/tools/toolReadAttachmentsArgs.js +6 -8
  168. package/dist/cjs/ee/AiAgent/schemas/tools/toolReadAttachmentsArgs.js.map +1 -1
  169. package/dist/cjs/ee/AiAgent/schemas/tools/toolReadContentArgs.d.ts +2 -1
  170. package/dist/cjs/ee/AiAgent/schemas/tools/toolReadContentArgs.d.ts.map +1 -1
  171. package/dist/cjs/ee/AiAgent/schemas/tools/toolReadContentArgs.js +4 -6
  172. package/dist/cjs/ee/AiAgent/schemas/tools/toolReadContentArgs.js.map +1 -1
  173. package/dist/cjs/ee/AiAgent/schemas/tools/toolReadPinnedThreadArgs.d.ts.map +1 -1
  174. package/dist/cjs/ee/AiAgent/schemas/tools/toolReadPinnedThreadArgs.js +4 -15
  175. package/dist/cjs/ee/AiAgent/schemas/tools/toolReadPinnedThreadArgs.js.map +1 -1
  176. package/dist/cjs/ee/AiAgent/schemas/tools/toolResolveUrlArgs.d.ts.map +1 -1
  177. package/dist/cjs/ee/AiAgent/schemas/tools/toolResolveUrlArgs.js +2 -9
  178. package/dist/cjs/ee/AiAgent/schemas/tools/toolResolveUrlArgs.js.map +1 -1
  179. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunContentQueryArgs.d.ts +1 -1
  180. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunContentQueryArgs.d.ts.map +1 -1
  181. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunContentQueryArgs.js +6 -8
  182. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunContentQueryArgs.js.map +1 -1
  183. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +1 -1
  184. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts.map +1 -1
  185. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunQueryArgs.js +8 -13
  186. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunQueryArgs.js.map +1 -1
  187. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunSavedChartArgs.d.ts +1 -1
  188. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunSavedChartArgs.d.ts.map +1 -1
  189. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunSavedChartArgs.js +2 -15
  190. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunSavedChartArgs.js.map +1 -1
  191. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunSqlArgs.d.ts +1 -0
  192. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunSqlArgs.d.ts.map +1 -1
  193. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunSqlArgs.js +9 -8
  194. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunSqlArgs.js.map +1 -1
  195. package/dist/cjs/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.d.ts.map +1 -1
  196. package/dist/cjs/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.js +13 -18
  197. package/dist/cjs/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.js.map +1 -1
  198. package/dist/cjs/ee/AiAgent/schemas/tools/toolSearchSemanticLayerArgs.d.ts +1 -1
  199. package/dist/cjs/ee/AiAgent/schemas/tools/toolSearchSemanticLayerArgs.d.ts.map +1 -1
  200. package/dist/cjs/ee/AiAgent/schemas/tools/toolSearchSemanticLayerArgs.js +4 -19
  201. package/dist/cjs/ee/AiAgent/schemas/tools/toolSearchSemanticLayerArgs.js.map +1 -1
  202. package/dist/cjs/ee/AiAgent/schemas/tools/toolSetupPreviewDeployArgs.js +4 -4
  203. package/dist/cjs/ee/AiAgent/schemas/tools/toolSetupPreviewDeployArgs.js.map +1 -1
  204. package/dist/cjs/ee/AiAgent/schemas/tools/toolSyncDbtProjectArgs.d.ts +1 -1
  205. package/dist/cjs/ee/AiAgent/schemas/tools/toolSyncDbtProjectArgs.d.ts.map +1 -1
  206. package/dist/cjs/ee/AiAgent/schemas/tools/toolSyncDbtProjectArgs.js +6 -25
  207. package/dist/cjs/ee/AiAgent/schemas/tools/toolSyncDbtProjectArgs.js.map +1 -1
  208. package/dist/cjs/ee/AiAgent/schemas/tools/toolUpdateUserNameArgs.d.ts +1 -1
  209. package/dist/cjs/ee/AiAgent/schemas/tools/toolUpdateUserNameArgs.d.ts.map +1 -1
  210. package/dist/cjs/ee/AiAgent/schemas/tools/toolUpdateUserNameArgs.js +1 -1
  211. package/dist/cjs/ee/AiAgent/schemas/tools/toolUpdateUserNameArgs.js.map +1 -1
  212. package/dist/cjs/schemas/json/mcp-tools-1.0.json +77 -75
  213. package/dist/esm/.tsbuildinfo +1 -1
  214. package/dist/esm/ee/AiAgent/index.d.ts +0 -1
  215. package/dist/esm/ee/AiAgent/index.d.ts.map +1 -1
  216. package/dist/esm/ee/AiAgent/index.js +0 -1
  217. package/dist/esm/ee/AiAgent/index.js.map +1 -1
  218. package/dist/esm/ee/AiAgent/schemas/customMetrics.js +2 -2
  219. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcFormula.d.ts +5 -4
  220. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcFormula.d.ts.map +1 -1
  221. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcFormula.js +42 -5
  222. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcFormula.js.map +1 -1
  223. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts.map +1 -1
  224. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.js +8 -1
  225. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.js.map +1 -1
  226. package/dist/esm/ee/AiAgent/schemas/tools/discoveryToolNames.d.ts +0 -11
  227. package/dist/esm/ee/AiAgent/schemas/tools/discoveryToolNames.d.ts.map +1 -1
  228. package/dist/esm/ee/AiAgent/schemas/tools/discoveryToolNames.js +2 -11
  229. package/dist/esm/ee/AiAgent/schemas/tools/discoveryToolNames.js.map +1 -1
  230. package/dist/esm/ee/AiAgent/schemas/tools/mcpDocumentContent.d.ts +4 -0
  231. package/dist/esm/ee/AiAgent/schemas/tools/mcpDocumentContent.d.ts.map +1 -1
  232. package/dist/esm/ee/AiAgent/schemas/tools/mcpDocumentContent.js +20 -22
  233. package/dist/esm/ee/AiAgent/schemas/tools/mcpDocumentContent.js.map +1 -1
  234. package/dist/esm/ee/AiAgent/schemas/tools/mcpToolListExploresArgs.d.ts.map +1 -1
  235. package/dist/esm/ee/AiAgent/schemas/tools/mcpToolListExploresArgs.js +1 -8
  236. package/dist/esm/ee/AiAgent/schemas/tools/mcpToolListExploresArgs.js.map +1 -1
  237. package/dist/esm/ee/AiAgent/schemas/tools/toolAnalyzeFieldImpactArgs.d.ts +1 -1
  238. package/dist/esm/ee/AiAgent/schemas/tools/toolAnalyzeFieldImpactArgs.d.ts.map +1 -1
  239. package/dist/esm/ee/AiAgent/schemas/tools/toolAnalyzeFieldImpactArgs.js +5 -14
  240. package/dist/esm/ee/AiAgent/schemas/tools/toolAnalyzeFieldImpactArgs.js.map +1 -1
  241. package/dist/esm/ee/AiAgent/schemas/tools/toolBuiltInSkillArgs.d.ts +2 -2
  242. package/dist/esm/ee/AiAgent/schemas/tools/toolBuiltInSkillArgs.d.ts.map +1 -1
  243. package/dist/esm/ee/AiAgent/schemas/tools/toolBuiltInSkillArgs.js +2 -2
  244. package/dist/esm/ee/AiAgent/schemas/tools/toolBuiltInSkillArgs.js.map +1 -1
  245. package/dist/esm/ee/AiAgent/schemas/tools/toolClosePullRequestArgs.d.ts.map +1 -1
  246. package/dist/esm/ee/AiAgent/schemas/tools/toolClosePullRequestArgs.js +3 -4
  247. package/dist/esm/ee/AiAgent/schemas/tools/toolClosePullRequestArgs.js.map +1 -1
  248. package/dist/esm/ee/AiAgent/schemas/tools/toolComposerQueryArgs.d.ts.map +1 -1
  249. package/dist/esm/ee/AiAgent/schemas/tools/toolComposerQueryArgs.js +16 -16
  250. package/dist/esm/ee/AiAgent/schemas/tools/toolComposerQueryArgs.js.map +1 -1
  251. package/dist/esm/ee/AiAgent/schemas/tools/toolCreateContentArgs.d.ts +2 -1
  252. package/dist/esm/ee/AiAgent/schemas/tools/toolCreateContentArgs.d.ts.map +1 -1
  253. package/dist/esm/ee/AiAgent/schemas/tools/toolCreateContentArgs.js +4 -3
  254. package/dist/esm/ee/AiAgent/schemas/tools/toolCreateContentArgs.js.map +1 -1
  255. package/dist/esm/ee/AiAgent/schemas/tools/toolCreateCustomChartTypeArgs.d.ts +1 -1
  256. package/dist/esm/ee/AiAgent/schemas/tools/toolCreateCustomChartTypeArgs.d.ts.map +1 -1
  257. package/dist/esm/ee/AiAgent/schemas/tools/toolCreateCustomChartTypeArgs.js +2 -3
  258. package/dist/esm/ee/AiAgent/schemas/tools/toolCreateCustomChartTypeArgs.js.map +1 -1
  259. package/dist/esm/ee/AiAgent/schemas/tools/toolCreateScheduledDeliveryArgs.d.ts.map +1 -1
  260. package/dist/esm/ee/AiAgent/schemas/tools/toolCreateScheduledDeliveryArgs.js +11 -10
  261. package/dist/esm/ee/AiAgent/schemas/tools/toolCreateScheduledDeliveryArgs.js.map +1 -1
  262. package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +1 -1
  263. package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts.map +1 -1
  264. package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardV2Args.js +10 -18
  265. package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardV2Args.js.map +1 -1
  266. package/dist/esm/ee/AiAgent/schemas/tools/toolDefinitions.d.ts.map +1 -1
  267. package/dist/esm/ee/AiAgent/schemas/tools/toolDefinitions.js +4 -5
  268. package/dist/esm/ee/AiAgent/schemas/tools/toolDefinitions.js.map +1 -1
  269. package/dist/esm/ee/AiAgent/schemas/tools/toolDescribeWarehouseTableArgs.d.ts +1 -2
  270. package/dist/esm/ee/AiAgent/schemas/tools/toolDescribeWarehouseTableArgs.d.ts.map +1 -1
  271. package/dist/esm/ee/AiAgent/schemas/tools/toolDescribeWarehouseTableArgs.js +5 -24
  272. package/dist/esm/ee/AiAgent/schemas/tools/toolDescribeWarehouseTableArgs.js.map +1 -1
  273. package/dist/esm/ee/AiAgent/schemas/tools/toolDiscoverReposArgs.d.ts.map +1 -1
  274. package/dist/esm/ee/AiAgent/schemas/tools/toolDiscoverReposArgs.js +3 -4
  275. package/dist/esm/ee/AiAgent/schemas/tools/toolDiscoverReposArgs.js.map +1 -1
  276. package/dist/esm/ee/AiAgent/schemas/tools/toolEditContentArgs.d.ts +2 -1
  277. package/dist/esm/ee/AiAgent/schemas/tools/toolEditContentArgs.d.ts.map +1 -1
  278. package/dist/esm/ee/AiAgent/schemas/tools/toolEditContentArgs.js +4 -3
  279. package/dist/esm/ee/AiAgent/schemas/tools/toolEditContentArgs.js.map +1 -1
  280. package/dist/esm/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.d.ts.map +1 -1
  281. package/dist/esm/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.js +6 -9
  282. package/dist/esm/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.js.map +1 -1
  283. package/dist/esm/ee/AiAgent/schemas/tools/toolEditProjectContextArgs.d.ts.map +1 -1
  284. package/dist/esm/ee/AiAgent/schemas/tools/toolEditProjectContextArgs.js +3 -4
  285. package/dist/esm/ee/AiAgent/schemas/tools/toolEditProjectContextArgs.js.map +1 -1
  286. package/dist/esm/ee/AiAgent/schemas/tools/toolEditRepoArgs.d.ts.map +1 -1
  287. package/dist/esm/ee/AiAgent/schemas/tools/toolEditRepoArgs.js +8 -10
  288. package/dist/esm/ee/AiAgent/schemas/tools/toolEditRepoArgs.js.map +1 -1
  289. package/dist/esm/ee/AiAgent/schemas/tools/toolExploreRepoArgs.d.ts.map +1 -1
  290. package/dist/esm/ee/AiAgent/schemas/tools/toolExploreRepoArgs.js +8 -11
  291. package/dist/esm/ee/AiAgent/schemas/tools/toolExploreRepoArgs.js.map +1 -1
  292. package/dist/esm/ee/AiAgent/schemas/tools/toolFindContentArgs.d.ts +3 -2
  293. package/dist/esm/ee/AiAgent/schemas/tools/toolFindContentArgs.d.ts.map +1 -1
  294. package/dist/esm/ee/AiAgent/schemas/tools/toolFindContentArgs.js +17 -19
  295. package/dist/esm/ee/AiAgent/schemas/tools/toolFindContentArgs.js.map +1 -1
  296. package/dist/esm/ee/AiAgent/schemas/tools/toolFindCustomChartTypesArgs.d.ts +1 -1
  297. package/dist/esm/ee/AiAgent/schemas/tools/toolFindCustomChartTypesArgs.d.ts.map +1 -1
  298. package/dist/esm/ee/AiAgent/schemas/tools/toolFindCustomChartTypesArgs.js +2 -13
  299. package/dist/esm/ee/AiAgent/schemas/tools/toolFindCustomChartTypesArgs.js.map +1 -1
  300. package/dist/esm/ee/AiAgent/schemas/tools/toolFindCustomChartTypesMcpArgs.d.ts +1 -1
  301. package/dist/esm/ee/AiAgent/schemas/tools/toolFindCustomChartTypesMcpArgs.d.ts.map +1 -1
  302. package/dist/esm/ee/AiAgent/schemas/tools/toolFindCustomChartTypesMcpArgs.js +1 -1
  303. package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts +11 -11
  304. package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts.map +1 -1
  305. package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js +25 -45
  306. package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js.map +1 -1
  307. package/dist/esm/ee/AiAgent/schemas/tools/toolGetDashboardChartsArgs.d.ts +1 -1
  308. package/dist/esm/ee/AiAgent/schemas/tools/toolGetDashboardChartsArgs.d.ts.map +1 -1
  309. package/dist/esm/ee/AiAgent/schemas/tools/toolGetDashboardChartsArgs.js +1 -9
  310. package/dist/esm/ee/AiAgent/schemas/tools/toolGetDashboardChartsArgs.js.map +1 -1
  311. package/dist/esm/ee/AiAgent/schemas/tools/toolGetDataAppBuildStatusArgs.d.ts +1 -1
  312. package/dist/esm/ee/AiAgent/schemas/tools/toolGetDataAppBuildStatusArgs.d.ts.map +1 -1
  313. package/dist/esm/ee/AiAgent/schemas/tools/toolGetDataAppBuildStatusArgs.js +4 -22
  314. package/dist/esm/ee/AiAgent/schemas/tools/toolGetDataAppBuildStatusArgs.js.map +1 -1
  315. package/dist/esm/ee/AiAgent/schemas/tools/toolGetKnowledgeDocumentContentArgs.d.ts.map +1 -1
  316. package/dist/esm/ee/AiAgent/schemas/tools/toolGetKnowledgeDocumentContentArgs.js +1 -12
  317. package/dist/esm/ee/AiAgent/schemas/tools/toolGetKnowledgeDocumentContentArgs.js.map +1 -1
  318. package/dist/esm/ee/AiAgent/schemas/tools/toolGetMetadataArgs.d.ts.map +1 -1
  319. package/dist/esm/ee/AiAgent/schemas/tools/toolGetMetadataArgs.js +9 -5
  320. package/dist/esm/ee/AiAgent/schemas/tools/toolGetMetadataArgs.js.map +1 -1
  321. package/dist/esm/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.js +3 -3
  322. package/dist/esm/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.js.map +1 -1
  323. package/dist/esm/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.js +4 -4
  324. package/dist/esm/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.js.map +1 -1
  325. package/dist/esm/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.d.ts.map +1 -1
  326. package/dist/esm/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.js +10 -7
  327. package/dist/esm/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.js.map +1 -1
  328. package/dist/esm/ee/AiAgent/schemas/tools/toolIterateCustomChartTypeArgs.d.ts +1 -1
  329. package/dist/esm/ee/AiAgent/schemas/tools/toolIterateCustomChartTypeArgs.d.ts.map +1 -1
  330. package/dist/esm/ee/AiAgent/schemas/tools/toolIterateCustomChartTypeArgs.js +1 -1
  331. package/dist/esm/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts +2 -2
  332. package/dist/esm/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts.map +1 -1
  333. package/dist/esm/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js +11 -33
  334. package/dist/esm/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js.map +1 -1
  335. package/dist/esm/ee/AiAgent/schemas/tools/toolListContentArgs.d.ts +1 -2
  336. package/dist/esm/ee/AiAgent/schemas/tools/toolListContentArgs.d.ts.map +1 -1
  337. package/dist/esm/ee/AiAgent/schemas/tools/toolListContentArgs.js +2 -10
  338. package/dist/esm/ee/AiAgent/schemas/tools/toolListContentArgs.js.map +1 -1
  339. package/dist/esm/ee/AiAgent/schemas/tools/toolListCustomChartTypesMcpArgs.d.ts +1 -1
  340. package/dist/esm/ee/AiAgent/schemas/tools/toolListCustomChartTypesMcpArgs.d.ts.map +1 -1
  341. package/dist/esm/ee/AiAgent/schemas/tools/toolListCustomChartTypesMcpArgs.js +1 -1
  342. package/dist/esm/ee/AiAgent/schemas/tools/toolListDataAppConnectionsArgs.d.ts +2 -2
  343. package/dist/esm/ee/AiAgent/schemas/tools/toolListDataAppConnectionsArgs.d.ts.map +1 -1
  344. package/dist/esm/ee/AiAgent/schemas/tools/toolListDataAppConnectionsArgs.js +6 -27
  345. package/dist/esm/ee/AiAgent/schemas/tools/toolListDataAppConnectionsArgs.js.map +1 -1
  346. package/dist/esm/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.d.ts +2 -2
  347. package/dist/esm/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.d.ts.map +1 -1
  348. package/dist/esm/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.js +4 -22
  349. package/dist/esm/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.js.map +1 -1
  350. package/dist/esm/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.d.ts.map +1 -1
  351. package/dist/esm/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.js +2 -13
  352. package/dist/esm/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.js.map +1 -1
  353. package/dist/esm/ee/AiAgent/schemas/tools/toolListProjectsArgs.js +3 -3
  354. package/dist/esm/ee/AiAgent/schemas/tools/toolListProjectsArgs.js.map +1 -1
  355. package/dist/esm/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.d.ts +1 -2
  356. package/dist/esm/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.d.ts.map +1 -1
  357. package/dist/esm/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.js +4 -22
  358. package/dist/esm/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.js.map +1 -1
  359. package/dist/esm/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.d.ts.map +1 -1
  360. package/dist/esm/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.js +3 -4
  361. package/dist/esm/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.js.map +1 -1
  362. package/dist/esm/ee/AiAgent/schemas/tools/toolLoadMcpToolsArgs.d.ts +1 -1
  363. package/dist/esm/ee/AiAgent/schemas/tools/toolLoadMcpToolsArgs.d.ts.map +1 -1
  364. package/dist/esm/ee/AiAgent/schemas/tools/toolLoadMcpToolsArgs.js +1 -1
  365. package/dist/esm/ee/AiAgent/schemas/tools/toolLoadMcpToolsArgs.js.map +1 -1
  366. package/dist/esm/ee/AiAgent/schemas/tools/toolLoadProjectContextArgs.d.ts +1 -1
  367. package/dist/esm/ee/AiAgent/schemas/tools/toolLoadProjectContextArgs.d.ts.map +1 -1
  368. package/dist/esm/ee/AiAgent/schemas/tools/toolLoadProjectContextArgs.js +1 -1
  369. package/dist/esm/ee/AiAgent/schemas/tools/toolLoadProjectContextArgs.js.map +1 -1
  370. package/dist/esm/ee/AiAgent/schemas/tools/toolLoadSkillArgs.d.ts +1 -1
  371. package/dist/esm/ee/AiAgent/schemas/tools/toolLoadSkillArgs.d.ts.map +1 -1
  372. package/dist/esm/ee/AiAgent/schemas/tools/toolLoadSkillArgs.js +2 -2
  373. package/dist/esm/ee/AiAgent/schemas/tools/toolLoadSkillArgs.js.map +1 -1
  374. package/dist/esm/ee/AiAgent/schemas/tools/toolMcpQueryResultDescription.d.ts +1 -1
  375. package/dist/esm/ee/AiAgent/schemas/tools/toolMcpQueryResultDescription.d.ts.map +1 -1
  376. package/dist/esm/ee/AiAgent/schemas/tools/toolMcpQueryResultDescription.js +1 -1
  377. package/dist/esm/ee/AiAgent/schemas/tools/toolMcpQueryResultDescription.js.map +1 -1
  378. package/dist/esm/ee/AiAgent/schemas/tools/toolReadAttachmentsArgs.d.ts.map +1 -1
  379. package/dist/esm/ee/AiAgent/schemas/tools/toolReadAttachmentsArgs.js +6 -8
  380. package/dist/esm/ee/AiAgent/schemas/tools/toolReadAttachmentsArgs.js.map +1 -1
  381. package/dist/esm/ee/AiAgent/schemas/tools/toolReadContentArgs.d.ts +2 -1
  382. package/dist/esm/ee/AiAgent/schemas/tools/toolReadContentArgs.d.ts.map +1 -1
  383. package/dist/esm/ee/AiAgent/schemas/tools/toolReadContentArgs.js +3 -5
  384. package/dist/esm/ee/AiAgent/schemas/tools/toolReadContentArgs.js.map +1 -1
  385. package/dist/esm/ee/AiAgent/schemas/tools/toolReadPinnedThreadArgs.d.ts.map +1 -1
  386. package/dist/esm/ee/AiAgent/schemas/tools/toolReadPinnedThreadArgs.js +4 -15
  387. package/dist/esm/ee/AiAgent/schemas/tools/toolReadPinnedThreadArgs.js.map +1 -1
  388. package/dist/esm/ee/AiAgent/schemas/tools/toolResolveUrlArgs.d.ts.map +1 -1
  389. package/dist/esm/ee/AiAgent/schemas/tools/toolResolveUrlArgs.js +2 -9
  390. package/dist/esm/ee/AiAgent/schemas/tools/toolResolveUrlArgs.js.map +1 -1
  391. package/dist/esm/ee/AiAgent/schemas/tools/toolRunContentQueryArgs.d.ts +1 -1
  392. package/dist/esm/ee/AiAgent/schemas/tools/toolRunContentQueryArgs.d.ts.map +1 -1
  393. package/dist/esm/ee/AiAgent/schemas/tools/toolRunContentQueryArgs.js +6 -8
  394. package/dist/esm/ee/AiAgent/schemas/tools/toolRunContentQueryArgs.js.map +1 -1
  395. package/dist/esm/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +1 -1
  396. package/dist/esm/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts.map +1 -1
  397. package/dist/esm/ee/AiAgent/schemas/tools/toolRunQueryArgs.js +8 -13
  398. package/dist/esm/ee/AiAgent/schemas/tools/toolRunQueryArgs.js.map +1 -1
  399. package/dist/esm/ee/AiAgent/schemas/tools/toolRunSavedChartArgs.d.ts +1 -1
  400. package/dist/esm/ee/AiAgent/schemas/tools/toolRunSavedChartArgs.d.ts.map +1 -1
  401. package/dist/esm/ee/AiAgent/schemas/tools/toolRunSavedChartArgs.js +2 -15
  402. package/dist/esm/ee/AiAgent/schemas/tools/toolRunSavedChartArgs.js.map +1 -1
  403. package/dist/esm/ee/AiAgent/schemas/tools/toolRunSqlArgs.d.ts +1 -0
  404. package/dist/esm/ee/AiAgent/schemas/tools/toolRunSqlArgs.d.ts.map +1 -1
  405. package/dist/esm/ee/AiAgent/schemas/tools/toolRunSqlArgs.js +7 -7
  406. package/dist/esm/ee/AiAgent/schemas/tools/toolRunSqlArgs.js.map +1 -1
  407. package/dist/esm/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.d.ts.map +1 -1
  408. package/dist/esm/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.js +13 -18
  409. package/dist/esm/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.js.map +1 -1
  410. package/dist/esm/ee/AiAgent/schemas/tools/toolSearchSemanticLayerArgs.d.ts +1 -1
  411. package/dist/esm/ee/AiAgent/schemas/tools/toolSearchSemanticLayerArgs.d.ts.map +1 -1
  412. package/dist/esm/ee/AiAgent/schemas/tools/toolSearchSemanticLayerArgs.js +4 -19
  413. package/dist/esm/ee/AiAgent/schemas/tools/toolSearchSemanticLayerArgs.js.map +1 -1
  414. package/dist/esm/ee/AiAgent/schemas/tools/toolSetupPreviewDeployArgs.js +4 -4
  415. package/dist/esm/ee/AiAgent/schemas/tools/toolSetupPreviewDeployArgs.js.map +1 -1
  416. package/dist/esm/ee/AiAgent/schemas/tools/toolSyncDbtProjectArgs.d.ts +1 -1
  417. package/dist/esm/ee/AiAgent/schemas/tools/toolSyncDbtProjectArgs.d.ts.map +1 -1
  418. package/dist/esm/ee/AiAgent/schemas/tools/toolSyncDbtProjectArgs.js +6 -25
  419. package/dist/esm/ee/AiAgent/schemas/tools/toolSyncDbtProjectArgs.js.map +1 -1
  420. package/dist/esm/ee/AiAgent/schemas/tools/toolUpdateUserNameArgs.d.ts +1 -1
  421. package/dist/esm/ee/AiAgent/schemas/tools/toolUpdateUserNameArgs.d.ts.map +1 -1
  422. package/dist/esm/ee/AiAgent/schemas/tools/toolUpdateUserNameArgs.js +1 -1
  423. package/dist/esm/ee/AiAgent/schemas/tools/toolUpdateUserNameArgs.js.map +1 -1
  424. package/dist/esm/schemas/json/mcp-tools-1.0.json +77 -75
  425. package/dist/types/.tsbuildinfo +1 -1
  426. package/dist/types/ee/AiAgent/index.d.ts +0 -1
  427. package/dist/types/ee/AiAgent/index.d.ts.map +1 -1
  428. package/dist/types/ee/AiAgent/index.js +0 -1
  429. package/dist/types/ee/AiAgent/index.js.map +1 -1
  430. package/dist/types/ee/AiAgent/schemas/customMetrics.js +2 -2
  431. package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcFormula.d.ts +5 -4
  432. package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcFormula.d.ts.map +1 -1
  433. package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcFormula.js +42 -5
  434. package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcFormula.js.map +1 -1
  435. package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts.map +1 -1
  436. package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcs.js +8 -1
  437. package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcs.js.map +1 -1
  438. package/dist/types/ee/AiAgent/schemas/tools/discoveryToolNames.d.ts +0 -11
  439. package/dist/types/ee/AiAgent/schemas/tools/discoveryToolNames.d.ts.map +1 -1
  440. package/dist/types/ee/AiAgent/schemas/tools/discoveryToolNames.js +2 -11
  441. package/dist/types/ee/AiAgent/schemas/tools/discoveryToolNames.js.map +1 -1
  442. package/dist/types/ee/AiAgent/schemas/tools/mcpDocumentContent.d.ts +4 -0
  443. package/dist/types/ee/AiAgent/schemas/tools/mcpDocumentContent.d.ts.map +1 -1
  444. package/dist/types/ee/AiAgent/schemas/tools/mcpDocumentContent.js +20 -22
  445. package/dist/types/ee/AiAgent/schemas/tools/mcpDocumentContent.js.map +1 -1
  446. package/dist/types/ee/AiAgent/schemas/tools/mcpToolListExploresArgs.d.ts.map +1 -1
  447. package/dist/types/ee/AiAgent/schemas/tools/mcpToolListExploresArgs.js +1 -8
  448. package/dist/types/ee/AiAgent/schemas/tools/mcpToolListExploresArgs.js.map +1 -1
  449. package/dist/types/ee/AiAgent/schemas/tools/toolAnalyzeFieldImpactArgs.d.ts +1 -1
  450. package/dist/types/ee/AiAgent/schemas/tools/toolAnalyzeFieldImpactArgs.d.ts.map +1 -1
  451. package/dist/types/ee/AiAgent/schemas/tools/toolAnalyzeFieldImpactArgs.js +5 -14
  452. package/dist/types/ee/AiAgent/schemas/tools/toolAnalyzeFieldImpactArgs.js.map +1 -1
  453. package/dist/types/ee/AiAgent/schemas/tools/toolBuiltInSkillArgs.d.ts +2 -2
  454. package/dist/types/ee/AiAgent/schemas/tools/toolBuiltInSkillArgs.d.ts.map +1 -1
  455. package/dist/types/ee/AiAgent/schemas/tools/toolBuiltInSkillArgs.js +2 -2
  456. package/dist/types/ee/AiAgent/schemas/tools/toolBuiltInSkillArgs.js.map +1 -1
  457. package/dist/types/ee/AiAgent/schemas/tools/toolClosePullRequestArgs.d.ts.map +1 -1
  458. package/dist/types/ee/AiAgent/schemas/tools/toolClosePullRequestArgs.js +3 -4
  459. package/dist/types/ee/AiAgent/schemas/tools/toolClosePullRequestArgs.js.map +1 -1
  460. package/dist/types/ee/AiAgent/schemas/tools/toolComposerQueryArgs.d.ts.map +1 -1
  461. package/dist/types/ee/AiAgent/schemas/tools/toolComposerQueryArgs.js +16 -16
  462. package/dist/types/ee/AiAgent/schemas/tools/toolComposerQueryArgs.js.map +1 -1
  463. package/dist/types/ee/AiAgent/schemas/tools/toolCreateContentArgs.d.ts +2 -1
  464. package/dist/types/ee/AiAgent/schemas/tools/toolCreateContentArgs.d.ts.map +1 -1
  465. package/dist/types/ee/AiAgent/schemas/tools/toolCreateContentArgs.js +4 -3
  466. package/dist/types/ee/AiAgent/schemas/tools/toolCreateContentArgs.js.map +1 -1
  467. package/dist/types/ee/AiAgent/schemas/tools/toolCreateCustomChartTypeArgs.d.ts +1 -1
  468. package/dist/types/ee/AiAgent/schemas/tools/toolCreateCustomChartTypeArgs.d.ts.map +1 -1
  469. package/dist/types/ee/AiAgent/schemas/tools/toolCreateCustomChartTypeArgs.js +2 -3
  470. package/dist/types/ee/AiAgent/schemas/tools/toolCreateCustomChartTypeArgs.js.map +1 -1
  471. package/dist/types/ee/AiAgent/schemas/tools/toolCreateScheduledDeliveryArgs.d.ts.map +1 -1
  472. package/dist/types/ee/AiAgent/schemas/tools/toolCreateScheduledDeliveryArgs.js +11 -10
  473. package/dist/types/ee/AiAgent/schemas/tools/toolCreateScheduledDeliveryArgs.js.map +1 -1
  474. package/dist/types/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +1 -1
  475. package/dist/types/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts.map +1 -1
  476. package/dist/types/ee/AiAgent/schemas/tools/toolDashboardV2Args.js +10 -18
  477. package/dist/types/ee/AiAgent/schemas/tools/toolDashboardV2Args.js.map +1 -1
  478. package/dist/types/ee/AiAgent/schemas/tools/toolDefinitions.d.ts.map +1 -1
  479. package/dist/types/ee/AiAgent/schemas/tools/toolDefinitions.js +4 -5
  480. package/dist/types/ee/AiAgent/schemas/tools/toolDefinitions.js.map +1 -1
  481. package/dist/types/ee/AiAgent/schemas/tools/toolDescribeWarehouseTableArgs.d.ts +1 -2
  482. package/dist/types/ee/AiAgent/schemas/tools/toolDescribeWarehouseTableArgs.d.ts.map +1 -1
  483. package/dist/types/ee/AiAgent/schemas/tools/toolDescribeWarehouseTableArgs.js +5 -24
  484. package/dist/types/ee/AiAgent/schemas/tools/toolDescribeWarehouseTableArgs.js.map +1 -1
  485. package/dist/types/ee/AiAgent/schemas/tools/toolDiscoverReposArgs.d.ts.map +1 -1
  486. package/dist/types/ee/AiAgent/schemas/tools/toolDiscoverReposArgs.js +3 -4
  487. package/dist/types/ee/AiAgent/schemas/tools/toolDiscoverReposArgs.js.map +1 -1
  488. package/dist/types/ee/AiAgent/schemas/tools/toolEditContentArgs.d.ts +2 -1
  489. package/dist/types/ee/AiAgent/schemas/tools/toolEditContentArgs.d.ts.map +1 -1
  490. package/dist/types/ee/AiAgent/schemas/tools/toolEditContentArgs.js +4 -3
  491. package/dist/types/ee/AiAgent/schemas/tools/toolEditContentArgs.js.map +1 -1
  492. package/dist/types/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.d.ts.map +1 -1
  493. package/dist/types/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.js +6 -9
  494. package/dist/types/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.js.map +1 -1
  495. package/dist/types/ee/AiAgent/schemas/tools/toolEditProjectContextArgs.d.ts.map +1 -1
  496. package/dist/types/ee/AiAgent/schemas/tools/toolEditProjectContextArgs.js +3 -4
  497. package/dist/types/ee/AiAgent/schemas/tools/toolEditProjectContextArgs.js.map +1 -1
  498. package/dist/types/ee/AiAgent/schemas/tools/toolEditRepoArgs.d.ts.map +1 -1
  499. package/dist/types/ee/AiAgent/schemas/tools/toolEditRepoArgs.js +8 -10
  500. package/dist/types/ee/AiAgent/schemas/tools/toolEditRepoArgs.js.map +1 -1
  501. package/dist/types/ee/AiAgent/schemas/tools/toolExploreRepoArgs.d.ts.map +1 -1
  502. package/dist/types/ee/AiAgent/schemas/tools/toolExploreRepoArgs.js +8 -11
  503. package/dist/types/ee/AiAgent/schemas/tools/toolExploreRepoArgs.js.map +1 -1
  504. package/dist/types/ee/AiAgent/schemas/tools/toolFindContentArgs.d.ts +3 -2
  505. package/dist/types/ee/AiAgent/schemas/tools/toolFindContentArgs.d.ts.map +1 -1
  506. package/dist/types/ee/AiAgent/schemas/tools/toolFindContentArgs.js +17 -19
  507. package/dist/types/ee/AiAgent/schemas/tools/toolFindContentArgs.js.map +1 -1
  508. package/dist/types/ee/AiAgent/schemas/tools/toolFindCustomChartTypesArgs.d.ts +1 -1
  509. package/dist/types/ee/AiAgent/schemas/tools/toolFindCustomChartTypesArgs.d.ts.map +1 -1
  510. package/dist/types/ee/AiAgent/schemas/tools/toolFindCustomChartTypesArgs.js +2 -13
  511. package/dist/types/ee/AiAgent/schemas/tools/toolFindCustomChartTypesArgs.js.map +1 -1
  512. package/dist/types/ee/AiAgent/schemas/tools/toolFindCustomChartTypesMcpArgs.d.ts +1 -1
  513. package/dist/types/ee/AiAgent/schemas/tools/toolFindCustomChartTypesMcpArgs.d.ts.map +1 -1
  514. package/dist/types/ee/AiAgent/schemas/tools/toolFindCustomChartTypesMcpArgs.js +1 -1
  515. package/dist/types/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts +11 -11
  516. package/dist/types/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts.map +1 -1
  517. package/dist/types/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js +25 -45
  518. package/dist/types/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js.map +1 -1
  519. package/dist/types/ee/AiAgent/schemas/tools/toolGetDashboardChartsArgs.d.ts +1 -1
  520. package/dist/types/ee/AiAgent/schemas/tools/toolGetDashboardChartsArgs.d.ts.map +1 -1
  521. package/dist/types/ee/AiAgent/schemas/tools/toolGetDashboardChartsArgs.js +1 -9
  522. package/dist/types/ee/AiAgent/schemas/tools/toolGetDashboardChartsArgs.js.map +1 -1
  523. package/dist/types/ee/AiAgent/schemas/tools/toolGetDataAppBuildStatusArgs.d.ts +1 -1
  524. package/dist/types/ee/AiAgent/schemas/tools/toolGetDataAppBuildStatusArgs.d.ts.map +1 -1
  525. package/dist/types/ee/AiAgent/schemas/tools/toolGetDataAppBuildStatusArgs.js +4 -22
  526. package/dist/types/ee/AiAgent/schemas/tools/toolGetDataAppBuildStatusArgs.js.map +1 -1
  527. package/dist/types/ee/AiAgent/schemas/tools/toolGetKnowledgeDocumentContentArgs.d.ts.map +1 -1
  528. package/dist/types/ee/AiAgent/schemas/tools/toolGetKnowledgeDocumentContentArgs.js +1 -12
  529. package/dist/types/ee/AiAgent/schemas/tools/toolGetKnowledgeDocumentContentArgs.js.map +1 -1
  530. package/dist/types/ee/AiAgent/schemas/tools/toolGetMetadataArgs.d.ts.map +1 -1
  531. package/dist/types/ee/AiAgent/schemas/tools/toolGetMetadataArgs.js +9 -5
  532. package/dist/types/ee/AiAgent/schemas/tools/toolGetMetadataArgs.js.map +1 -1
  533. package/dist/types/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.js +3 -3
  534. package/dist/types/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.js.map +1 -1
  535. package/dist/types/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.js +4 -4
  536. package/dist/types/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.js.map +1 -1
  537. package/dist/types/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.d.ts.map +1 -1
  538. package/dist/types/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.js +10 -7
  539. package/dist/types/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.js.map +1 -1
  540. package/dist/types/ee/AiAgent/schemas/tools/toolIterateCustomChartTypeArgs.d.ts +1 -1
  541. package/dist/types/ee/AiAgent/schemas/tools/toolIterateCustomChartTypeArgs.d.ts.map +1 -1
  542. package/dist/types/ee/AiAgent/schemas/tools/toolIterateCustomChartTypeArgs.js +1 -1
  543. package/dist/types/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts +2 -2
  544. package/dist/types/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts.map +1 -1
  545. package/dist/types/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js +11 -33
  546. package/dist/types/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js.map +1 -1
  547. package/dist/types/ee/AiAgent/schemas/tools/toolListContentArgs.d.ts +1 -2
  548. package/dist/types/ee/AiAgent/schemas/tools/toolListContentArgs.d.ts.map +1 -1
  549. package/dist/types/ee/AiAgent/schemas/tools/toolListContentArgs.js +2 -10
  550. package/dist/types/ee/AiAgent/schemas/tools/toolListContentArgs.js.map +1 -1
  551. package/dist/types/ee/AiAgent/schemas/tools/toolListCustomChartTypesMcpArgs.d.ts +1 -1
  552. package/dist/types/ee/AiAgent/schemas/tools/toolListCustomChartTypesMcpArgs.d.ts.map +1 -1
  553. package/dist/types/ee/AiAgent/schemas/tools/toolListCustomChartTypesMcpArgs.js +1 -1
  554. package/dist/types/ee/AiAgent/schemas/tools/toolListDataAppConnectionsArgs.d.ts +2 -2
  555. package/dist/types/ee/AiAgent/schemas/tools/toolListDataAppConnectionsArgs.d.ts.map +1 -1
  556. package/dist/types/ee/AiAgent/schemas/tools/toolListDataAppConnectionsArgs.js +6 -27
  557. package/dist/types/ee/AiAgent/schemas/tools/toolListDataAppConnectionsArgs.js.map +1 -1
  558. package/dist/types/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.d.ts +2 -2
  559. package/dist/types/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.d.ts.map +1 -1
  560. package/dist/types/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.js +4 -22
  561. package/dist/types/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.js.map +1 -1
  562. package/dist/types/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.d.ts.map +1 -1
  563. package/dist/types/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.js +2 -13
  564. package/dist/types/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.js.map +1 -1
  565. package/dist/types/ee/AiAgent/schemas/tools/toolListProjectsArgs.js +3 -3
  566. package/dist/types/ee/AiAgent/schemas/tools/toolListProjectsArgs.js.map +1 -1
  567. package/dist/types/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.d.ts +1 -2
  568. package/dist/types/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.d.ts.map +1 -1
  569. package/dist/types/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.js +4 -22
  570. package/dist/types/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.js.map +1 -1
  571. package/dist/types/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.d.ts.map +1 -1
  572. package/dist/types/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.js +3 -4
  573. package/dist/types/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.js.map +1 -1
  574. package/dist/types/ee/AiAgent/schemas/tools/toolLoadMcpToolsArgs.d.ts +1 -1
  575. package/dist/types/ee/AiAgent/schemas/tools/toolLoadMcpToolsArgs.d.ts.map +1 -1
  576. package/dist/types/ee/AiAgent/schemas/tools/toolLoadMcpToolsArgs.js +1 -1
  577. package/dist/types/ee/AiAgent/schemas/tools/toolLoadMcpToolsArgs.js.map +1 -1
  578. package/dist/types/ee/AiAgent/schemas/tools/toolLoadProjectContextArgs.d.ts +1 -1
  579. package/dist/types/ee/AiAgent/schemas/tools/toolLoadProjectContextArgs.d.ts.map +1 -1
  580. package/dist/types/ee/AiAgent/schemas/tools/toolLoadProjectContextArgs.js +1 -1
  581. package/dist/types/ee/AiAgent/schemas/tools/toolLoadProjectContextArgs.js.map +1 -1
  582. package/dist/types/ee/AiAgent/schemas/tools/toolLoadSkillArgs.d.ts +1 -1
  583. package/dist/types/ee/AiAgent/schemas/tools/toolLoadSkillArgs.d.ts.map +1 -1
  584. package/dist/types/ee/AiAgent/schemas/tools/toolLoadSkillArgs.js +2 -2
  585. package/dist/types/ee/AiAgent/schemas/tools/toolLoadSkillArgs.js.map +1 -1
  586. package/dist/types/ee/AiAgent/schemas/tools/toolMcpQueryResultDescription.d.ts +1 -1
  587. package/dist/types/ee/AiAgent/schemas/tools/toolMcpQueryResultDescription.d.ts.map +1 -1
  588. package/dist/types/ee/AiAgent/schemas/tools/toolMcpQueryResultDescription.js +1 -1
  589. package/dist/types/ee/AiAgent/schemas/tools/toolMcpQueryResultDescription.js.map +1 -1
  590. package/dist/types/ee/AiAgent/schemas/tools/toolReadAttachmentsArgs.d.ts.map +1 -1
  591. package/dist/types/ee/AiAgent/schemas/tools/toolReadAttachmentsArgs.js +6 -8
  592. package/dist/types/ee/AiAgent/schemas/tools/toolReadAttachmentsArgs.js.map +1 -1
  593. package/dist/types/ee/AiAgent/schemas/tools/toolReadContentArgs.d.ts +2 -1
  594. package/dist/types/ee/AiAgent/schemas/tools/toolReadContentArgs.d.ts.map +1 -1
  595. package/dist/types/ee/AiAgent/schemas/tools/toolReadContentArgs.js +3 -5
  596. package/dist/types/ee/AiAgent/schemas/tools/toolReadContentArgs.js.map +1 -1
  597. package/dist/types/ee/AiAgent/schemas/tools/toolReadPinnedThreadArgs.d.ts.map +1 -1
  598. package/dist/types/ee/AiAgent/schemas/tools/toolReadPinnedThreadArgs.js +4 -15
  599. package/dist/types/ee/AiAgent/schemas/tools/toolReadPinnedThreadArgs.js.map +1 -1
  600. package/dist/types/ee/AiAgent/schemas/tools/toolResolveUrlArgs.d.ts.map +1 -1
  601. package/dist/types/ee/AiAgent/schemas/tools/toolResolveUrlArgs.js +2 -9
  602. package/dist/types/ee/AiAgent/schemas/tools/toolResolveUrlArgs.js.map +1 -1
  603. package/dist/types/ee/AiAgent/schemas/tools/toolRunContentQueryArgs.d.ts +1 -1
  604. package/dist/types/ee/AiAgent/schemas/tools/toolRunContentQueryArgs.d.ts.map +1 -1
  605. package/dist/types/ee/AiAgent/schemas/tools/toolRunContentQueryArgs.js +6 -8
  606. package/dist/types/ee/AiAgent/schemas/tools/toolRunContentQueryArgs.js.map +1 -1
  607. package/dist/types/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +1 -1
  608. package/dist/types/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts.map +1 -1
  609. package/dist/types/ee/AiAgent/schemas/tools/toolRunQueryArgs.js +8 -13
  610. package/dist/types/ee/AiAgent/schemas/tools/toolRunQueryArgs.js.map +1 -1
  611. package/dist/types/ee/AiAgent/schemas/tools/toolRunSavedChartArgs.d.ts +1 -1
  612. package/dist/types/ee/AiAgent/schemas/tools/toolRunSavedChartArgs.d.ts.map +1 -1
  613. package/dist/types/ee/AiAgent/schemas/tools/toolRunSavedChartArgs.js +2 -15
  614. package/dist/types/ee/AiAgent/schemas/tools/toolRunSavedChartArgs.js.map +1 -1
  615. package/dist/types/ee/AiAgent/schemas/tools/toolRunSqlArgs.d.ts +1 -0
  616. package/dist/types/ee/AiAgent/schemas/tools/toolRunSqlArgs.d.ts.map +1 -1
  617. package/dist/types/ee/AiAgent/schemas/tools/toolRunSqlArgs.js +7 -7
  618. package/dist/types/ee/AiAgent/schemas/tools/toolRunSqlArgs.js.map +1 -1
  619. package/dist/types/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.d.ts.map +1 -1
  620. package/dist/types/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.js +13 -18
  621. package/dist/types/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.js.map +1 -1
  622. package/dist/types/ee/AiAgent/schemas/tools/toolSearchSemanticLayerArgs.d.ts +1 -1
  623. package/dist/types/ee/AiAgent/schemas/tools/toolSearchSemanticLayerArgs.d.ts.map +1 -1
  624. package/dist/types/ee/AiAgent/schemas/tools/toolSearchSemanticLayerArgs.js +4 -19
  625. package/dist/types/ee/AiAgent/schemas/tools/toolSearchSemanticLayerArgs.js.map +1 -1
  626. package/dist/types/ee/AiAgent/schemas/tools/toolSetupPreviewDeployArgs.js +4 -4
  627. package/dist/types/ee/AiAgent/schemas/tools/toolSetupPreviewDeployArgs.js.map +1 -1
  628. package/dist/types/ee/AiAgent/schemas/tools/toolSyncDbtProjectArgs.d.ts +1 -1
  629. package/dist/types/ee/AiAgent/schemas/tools/toolSyncDbtProjectArgs.d.ts.map +1 -1
  630. package/dist/types/ee/AiAgent/schemas/tools/toolSyncDbtProjectArgs.js +6 -25
  631. package/dist/types/ee/AiAgent/schemas/tools/toolSyncDbtProjectArgs.js.map +1 -1
  632. package/dist/types/ee/AiAgent/schemas/tools/toolUpdateUserNameArgs.d.ts +1 -1
  633. package/dist/types/ee/AiAgent/schemas/tools/toolUpdateUserNameArgs.d.ts.map +1 -1
  634. package/dist/types/ee/AiAgent/schemas/tools/toolUpdateUserNameArgs.js +1 -1
  635. package/dist/types/ee/AiAgent/schemas/tools/toolUpdateUserNameArgs.js.map +1 -1
  636. package/dist/types/schemas/json/mcp-tools-1.0.json +77 -75
  637. package/package.json +1 -1
  638. package/dist/cjs/ee/AiAgent/documentGuidance.d.ts +0 -3
  639. package/dist/cjs/ee/AiAgent/documentGuidance.d.ts.map +0 -1
  640. package/dist/cjs/ee/AiAgent/documentGuidance.js +0 -6
  641. package/dist/cjs/ee/AiAgent/documentGuidance.js.map +0 -1
  642. package/dist/esm/ee/AiAgent/documentGuidance.d.ts +0 -3
  643. package/dist/esm/ee/AiAgent/documentGuidance.d.ts.map +0 -1
  644. package/dist/esm/ee/AiAgent/documentGuidance.js +0 -3
  645. package/dist/esm/ee/AiAgent/documentGuidance.js.map +0 -1
  646. package/dist/types/ee/AiAgent/documentGuidance.d.ts +0 -3
  647. package/dist/types/ee/AiAgent/documentGuidance.d.ts.map +0 -1
  648. package/dist/types/ee/AiAgent/documentGuidance.js +0 -3
  649. package/dist/types/ee/AiAgent/documentGuidance.js.map +0 -1
@@ -13,50 +13,29 @@ export const DATA_APP_BUILD_TEMPLATES = [
13
13
  'pdf',
14
14
  'custom',
15
15
  ];
16
- /** How a prior visualization's query travels in the brief; shared with the system prompt. */
16
+ /** How a prior visualization's query travels in a build brief. */
17
17
  export const DATA_APP_VIZ_LINE_FORMAT = '[viz title][explore; metrics; dimensions; filters; sort]';
18
- /** Shared by generateDataApp and iterateDataApp; the iterate tool adds its own theme-change caveat in its description. */
19
- export const DATA_APP_THEME_SLUG_DESCRIPTION = 'Organization theme to build the app with: its slug, from the attached context ("Theme: <name> (slug: <slug>)"). Omit when no theme is given — the organization default applies. An unknown slug returns an error listing the valid slugs and starts no build.';
20
- /** Shared by the agent generate and iterate tools. */
21
- export const DATA_APP_EXTERNAL_CONNECTIONS_AGENT_GUIDANCE = 'When the app needs an outside API (product analytics, billing, CRM) or the user names a connection, call listDataAppConnections first and pass the matching slugs as externalConnectionSlugs; a connection named only in the brief is not linked.';
22
- export const TOOL_GENERATE_DATA_APP_DESCRIPTION = [
23
- "Start building a new data app — an interactive application generated from a brief on top of this project's semantic layer.",
24
- 'Use it when the user asks to build, make, or generate a data app (or an app, slide show, or PDF report); questions, charts, dashboards, and other saved content have their own tools.',
25
- 'This tool always creates a new app: to change an app that already exists, use iterateDataApp instead.',
26
- 'Name the app yourself: the name fixes both the app name and its slug at creation, and neither changes afterwards.',
27
- 'The build runs in the background for several minutes, so the call returns as soon as it has started (status: "pending") and the outcome lands on this result for a later turn. One request, one call — never wait, poll, or call this tool again for the same request: tell the user the build has started and end your turn.',
28
- DATA_APP_EXTERNAL_CONNECTIONS_AGENT_GUIDANCE,
29
- ].join(' ');
18
+ /** Shared by the generate and iterate briefs. */
19
+ export const DATA_APP_BRIEF_AUDIENCE = 'The coding agent explores the semantic layer itself but sees neither this conversation nor its query results.';
20
+ /** Shared by the generate and iterate briefs. */
21
+ export const DATA_APP_BRIEF_QUERY_GUIDANCE = `Give a visualization as a one-line description and a metric query line \`${DATA_APP_VIZ_LINE_FORMAT}\`, never as numbers: a number in the brief is hardcoded into the app, while a query stays live.`;
22
+ /** Shared by generate and iterate; each adds what omitting it does. */
23
+ export const DATA_APP_THEME_SLUG_SOURCE = 'Organization theme slug: the one the attached context lists ("Theme: <name> (slug: <slug>)"), which beats a theme named in the message, or else, when the user names a theme, brand or look, one from listDataAppThemes (list_data_app_themes over MCP). The coding agent receives the theme\'s files directly, so set the look here, not in the brief.';
24
+ /** Shared by generate and iterate. */
25
+ export const DATA_APP_CONNECTION_LINKING = 'A data app calls an outside API only through a linked connection; naming one in the brief does not link it.';
26
+ export const TOOL_GENERATE_DATA_APP_DESCRIPTION = 'Start a background build of a new data app (an interactive app, a slide show or a PDF report) from a brief.';
30
27
  /** Why a scoped session loses sight of a personal app; shared by every MCP build tool. */
31
28
  export const MCP_DATA_APP_AGENT_SCOPE_GUIDANCE = '- An agent-scoped session restricted to specific spaces cannot read a personal app. Call this tool and get_data_app_build_status without agentUuid to build and poll an app you own.';
32
- /** Shared by the MCP generate and iterate tools. */
33
- export const MCP_DATA_APP_EXTERNAL_CONNECTIONS_GUIDANCE = '- For an outside API (analytics, billing, CRM), pass externalConnectionSlugs from list_data_app_connections.';
34
- /** Placement every MCP-started build shares; stated on each start tool. */
35
- export const MCP_DATA_APP_PLACEMENT_GUIDANCE = [
36
- "- The app is created as the calling user's personal app: at the project root, in no space, visible only to them until they move it.",
37
- MCP_DATA_APP_AGENT_SCOPE_GUIDANCE,
38
- ].join('\n');
39
29
  export const MCP_TOOL_GENERATE_DATA_APP_DESCRIPTION = `Tool: generate_data_app
40
30
 
41
31
  Purpose:
42
- Start building a new data app: an interactive application generated from a brief on top of a Lightdash project's semantic layer. Each build produces one version of the app. Charts, dashboards, and other saved content have their own tools.
32
+ Start building a new data app (an interactive app, a slide show or a PDF report) from a brief, on top of a Lightdash project's semantic layer. Each build produces one version of the app. To change an existing app, use iterate_data_app; charts, dashboards and other saved content have their own tools.
43
33
 
44
34
  Important:
45
- - You name the app. The name fixes both the app's name and its slug at creation, and neither changes afterwards. A name already taken in the project gets a numeric suffix on the slug, so identify the app by the slug this call returns, never one you derived from the name.
46
- - The build runs in the background for several minutes. This call returns as soon as the build has started. Poll get_data_app_build_status with the returned slug every ${DATA_APP_BUILD_POLL_INTERVAL_MS / 1000} seconds until its status is "ready", "error", or "cancelled". Call this tool once per request.
47
- ${MCP_DATA_APP_PLACEMENT_GUIDANCE}
48
- - An unknown themeSlug fails before the build starts and lists the valid slugs. Call list_data_app_themes when the user names a theme, brand, or look.
49
- ${MCP_DATA_APP_EXTERNAL_CONNECTIONS_GUIDANCE}
50
-
51
- Response shape (MCP CallToolResult):
52
- - content: [{ type: "text", text: "<confirmation that the build started>" }]
53
- - structuredContent: {
54
- slug: string, // the app's permanent slug; pass it to get_data_app_build_status
55
- version: number, // the version of the app this build produces
56
- warnings: string[] // e.g. a connection the brief names but does not link
57
- }
58
-
59
- Errors: an unknown themeSlug, dashboardSlug, chartSlug, or externalConnectionSlug returns an error and starts no build.
35
+ - The build runs in the background for several minutes, and this call returns once it starts. Call it once per request, then poll get_data_app_build_status with the returned slug until the build ends.
36
+ - A name already taken in the project gets a numeric suffix on the slug, so use the slug this call returns, never one derived from the name.
37
+ - The app is created as the calling user's personal app: at the project root, in no space, visible only to them until they move it.
38
+ ${MCP_DATA_APP_AGENT_SCOPE_GUIDANCE}
60
39
  `;
61
40
  export const dataAppBuildWarningsSchema = z
62
41
  .array(z.string())
@@ -77,34 +56,34 @@ export const externalConnectionSlugsInput = z
77
56
  .array(z.string())
78
57
  .nullish()
79
58
  .default(null)
80
- .describe('External connections to link to the app before the build: slugs from listDataAppConnections (list_data_app_connections over MCP). The build gets their instructions and samples and can call them at runtime. An unknown or unlinkable slug fails and starts no build. Omit when the app uses no external API.');
59
+ .describe(`External connections to link to the app before the build: slugs from listDataAppConnections (list_data_app_connections over MCP). ${DATA_APP_CONNECTION_LINKING} Omit when the app uses no outside API.`);
81
60
  export const toolGenerateDataAppArgsSchema = z.object({
82
61
  name: z
83
62
  .string()
84
- .describe('Display name for the app: a headline-short title, in title case, naming what the app shows ("Revenue Overview"). The app\'s slug is derived from it at creation, so treat the name as final — it is not renamed later.'),
63
+ .describe('Display name: a headline-short title in title case naming what the app shows ("Revenue Overview"). It also sets the app\'s permanent slug, so pick the final name now.'),
85
64
  prompt: z
86
65
  .string()
87
- .describe(`A self-contained brief for the coding agent that builds the app: what the app shows, for whom, and how it behaves. The coding agent explores the semantic layer itself but sees neither this conversation nor its query results: when this thread has already settled the analysis, carry it over — for each visualization, its title, a one-line description, and a metric query line \`${DATA_APP_VIZ_LINE_FORMAT}\` — as queries, never pasted numbers, which would be hardcoded into the app.`),
66
+ .describe(`Self-contained brief for the coding agent: what the app shows, for whom, and how it behaves. ${DATA_APP_BRIEF_AUDIENCE} ${DATA_APP_BRIEF_QUERY_GUIDANCE}`),
88
67
  template: z
89
68
  .enum(DATA_APP_BUILD_TEMPLATES)
90
69
  .nullish()
91
70
  .default(null)
92
- .describe('Starter template the builder would use: "dashboard" for a dashboard-style app, "slideshow" for a slide show, "pdf" for a PDF report, "custom" for anything else. Omit when the user did not ask for one.'),
71
+ .describe('Starter template: "dashboard" for a dashboard-style app, "slideshow" for a slide show, "pdf" for a PDF report. Omit it, or pass "custom", for anything else.'),
93
72
  dashboardSlug: z
94
73
  .string()
95
74
  .nullish()
96
75
  .default(null)
97
- .describe("Generate from an existing dashboard: its slug (from findContent). The app starts from the dashboard's layout and charts; the dashboard itself stays unchanged. Omit when not generating from a dashboard."),
76
+ .describe("Existing dashboard to start from: its slug, from findContent (find_content over MCP). The app starts from the dashboard's layout and charts; the dashboard stays unchanged."),
98
77
  chartSlugs: z
99
78
  .array(z.string())
100
79
  .nullish()
101
80
  .default(null)
102
- .describe('Saved charts (slugs from findContent) whose queries the app is built on; the charts themselves stay unchanged. Omit when not building on saved charts.'),
81
+ .describe('Saved charts whose queries the app builds on: slugs from findContent (find_content over MCP). The charts stay unchanged.'),
103
82
  themeSlug: z
104
83
  .string()
105
84
  .nullish()
106
85
  .default(null)
107
- .describe(DATA_APP_THEME_SLUG_DESCRIPTION),
86
+ .describe(`${DATA_APP_THEME_SLUG_SOURCE} Omit it for the organization default.`),
108
87
  externalConnectionSlugs: externalConnectionSlugsInput,
109
88
  });
110
89
  const versionSchema = z
@@ -171,9 +150,10 @@ export const getGenerateDataAppBuildOutcome = ({ siteUrl, projectUuid, appUuid,
171
150
  if (status === 'ready') {
172
151
  // Canonical URL, kept in metadata for Slack outcomes and cards.
173
152
  const href = `${siteUrl}${getDataAppBuilderPath(projectUuid, appUuid)}`;
153
+ const app = `data app "${name}"${slug === null ? '' : ` (slug: ${slug})`}`;
174
154
  const readyPhrase = version === 1
175
- ? `The data app "${name}" is ready.`
176
- : `Version ${version} of the data app "${name}" is ready.`;
155
+ ? `The ${app} is ready.`
156
+ : `Version ${version} of the ${app} is ready.`;
177
157
  const readyBuild = {
178
158
  status: 'success',
179
159
  appUuid,
@@ -1 +1 @@
1
- {"version":3,"file":"toolGenerateDataAppArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACH,6BAA6B,EAC7B,sBAAsB,GAGzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACH,gCAAgC,GAEnC,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,0BAA0B,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AM,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE;QACjE,iBAAiB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;KACvC,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"toolGenerateDataAppArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACH,6BAA6B,EAC7B,sBAAsB,GAGzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACH,gCAAgC,GAEnC,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AAEtE,mFAAmF;AACnF,MAAM,CAAC,MAAM,+BAA+B,GAAG,KAAM,CAAC;AAEtD,kFAAkF;AAClF,MAAM,CAAC,MAAM,kCAAkC,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;AAEjE,8FAA8F;AAC9F,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACpC,WAAW;IACX,WAAW;IACX,KAAK;IACL,QAAQ;CACmC,CAAC;AAGhD,kEAAkE;AAClE,MAAM,CAAC,MAAM,wBAAwB,GACjC,0DAA0D,CAAC;AAE/D,iDAAiD;AACjD,MAAM,CAAC,MAAM,uBAAuB,GAChC,+GAA+G,CAAC;AAEpH,iDAAiD;AACjD,MAAM,CAAC,MAAM,6BAA6B,GAAG,4EAA4E,wBAAwB,kGAAkG,CAAC;AAEpP,uEAAuE;AACvE,MAAM,CAAC,MAAM,0BAA0B,GACnC,yVAAyV,CAAC;AAE9V,sCAAsC;AACtC,MAAM,CAAC,MAAM,2BAA2B,GACpC,6GAA6G,CAAC;AAElH,MAAM,CAAC,MAAM,kCAAkC,GAC3C,6GAA6G,CAAC;AAElH,0FAA0F;AAC1F,MAAM,CAAC,MAAM,iCAAiC,GAC1C,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AE,OAAO;YACf,OAAO;YACP,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,QAAQ;YAC1C,OAAO;SACV;QACD,iBAAiB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;KACvC,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,qCAAqC,GAAG,CACjD,OAAe,EACkB,EAAE;IACnC,MAAM,OAAO,GAAG,8CACZ,kCAAkC,GAAG,KACzC,WAAW,CAAC;IACZ,MAAM,MAAM,GAAG,sCAAsC,OAAO,EAAE,CAAC;IAC/D,OAAO;QACH,MAAM;QACN,QAAQ,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE;QACjE,iBAAiB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;KACvC,CAAC;AACN,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { ChartKind } from '../../../../types/savedCharts';
3
- export declare const TOOL_GET_DASHBOARD_CHARTS_DESCRIPTION = "Tool: \"getDashboardCharts\"\nPurpose:\nRetrieves the list of charts within a specific dashboard, with pagination support.\n\nUsage tips:\n- Use this tool after \"findContent\" to drill into a specific dashboard's charts.\n- Requires a dashboardUuid, which you can get from \"findContent\" results. Also pass the dashboardName for display purposes.\n- Results are paginated \u2014 use the page parameter to get more results if needed.\n- Each chart includes its name, description, type, view count, and the explore it queries (exploreName), so dashboard filters can be targeted per tile without reading each chart.";
3
+ export declare const TOOL_GET_DASHBOARD_CHARTS_DESCRIPTION = "List the charts on a dashboard found with findContent: each chart's name, description, type, view count and the explore it queries.";
4
4
  export declare const toolGetDashboardChartsArgsSchema: z.ZodObject<{
5
5
  dashboardUuid: z.ZodString;
6
6
  dashboardName: z.ZodOptional<z.ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"toolGetDashboardChartsArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGetDashboardChartsArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAO1D,eAAO,MAAM,qCAAqC,2mBAQiI,CAAC;AAEpL,eAAO,MAAM,gCAAgC;;;;;iBAejC,CAAC;AAEb,eAAO,MAAM,2CAA2C;;;;;iBACpB,CAAC;AA2BrC,eAAO,MAAM,6CAA6C;;;;;;;;;;;;;;;;;;;;iBAYxD,CAAC;AAEH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAG7C,CAAC;AAEH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC5C,OAAO,gCAAgC,CAC1C,CAAC;AACF,MAAM,MAAM,qCAAqC,GAAG,0BAA0B,CAAC;AAC/E,MAAM,MAAM,uCAAuC,GAAG,CAAC,CAAC,KAAK,CACzD,OAAO,6CAA6C,CACvD,CAAC;AACF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,kCAAkC,CAC5C,CAAC"}
1
+ {"version":3,"file":"toolGetDashboardChartsArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGetDashboardChartsArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAO1D,eAAO,MAAM,qCAAqC,wIACuF,CAAC;AAE1I,eAAO,MAAM,gCAAgC;;;;;iBAejC,CAAC;AAEb,eAAO,MAAM,2CAA2C;;;;;iBACpB,CAAC;AA2BrC,eAAO,MAAM,6CAA6C;;;;;;;;;;;;;;;;;;;;iBAYxD,CAAC;AAEH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAG7C,CAAC;AAEH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC5C,OAAO,gCAAgC,CAC1C,CAAC;AACF,MAAM,MAAM,qCAAqC,GAAG,0BAA0B,CAAC;AAC/E,MAAM,MAAM,uCAAuC,GAAG,CAAC,CAAC,KAAK,CACzD,OAAO,6CAA6C,CACvD,CAAC;AACF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,kCAAkC,CAC5C,CAAC"}
@@ -2,15 +2,7 @@ import { z } from 'zod';
2
2
  import { ChartKind } from '../../../../types/savedCharts';
3
3
  import { baseOutputMetadataSchema, structuredToolOutputSchema, } from '../outputMetadata';
4
4
  import { createToolSchema } from '../toolSchemaBuilder';
5
- export const TOOL_GET_DASHBOARD_CHARTS_DESCRIPTION = `Tool: "getDashboardCharts"
6
- Purpose:
7
- Retrieves the list of charts within a specific dashboard, with pagination support.
8
-
9
- Usage tips:
10
- - Use this tool after "findContent" to drill into a specific dashboard's charts.
11
- - Requires a dashboardUuid, which you can get from "findContent" results. Also pass the dashboardName for display purposes.
12
- - Results are paginated — use the page parameter to get more results if needed.
13
- - Each chart includes its name, description, type, view count, and the explore it queries (exploreName), so dashboard filters can be targeted per tile without reading each chart.`;
5
+ export const TOOL_GET_DASHBOARD_CHARTS_DESCRIPTION = "List the charts on a dashboard found with findContent: each chart's name, description, type, view count and the explore it queries.";
14
6
  export const toolGetDashboardChartsArgsSchema = createToolSchema()
15
7
  .extend({
16
8
  dashboardUuid: z
@@ -1 +1 @@
1
- {"version":3,"file":"toolGetDashboardChartsArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGetDashboardChartsArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SA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AoB,CAAC;SAC3B,QAAQ,CAAC,6CAA6C,CAAC;CAC/D,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,kCAAkC,GAAG,0BAA0B,CAAC;IACzE,QAAQ,EAAE,wBAAwB;IAClC,iBAAiB,EAAE,6CAA6C;CACnE,CAAC,CAAC"}
@@ -2,7 +2,7 @@ import { z } from 'zod';
2
2
  import { type AppVersionStatus } from '../../../apps/types';
3
3
  export declare const DATA_APP_BUILD_STATUSES: readonly ["pending", "sandbox", "catalog", "compact", "generating", "building", "packaging", "ready", "error", "cancelled"];
4
4
  export type DataAppBuildStatus = (typeof DATA_APP_BUILD_STATUSES)[number];
5
- export declare const MCP_TOOL_GET_DATA_APP_BUILD_STATUS_DESCRIPTION = "Tool: get_data_app_build_status\n\nPurpose:\nCheck how a data app or custom chart type build is going, and get its URL once it is ready. Each build produces one version.\n\nImportant:\n- Poll every 15 seconds \u2014 \"nextPollAfterMs\" in the response carries the same number in milliseconds. A build usually takes several minutes.\n- Stop polling once \"status\" is \"ready\", \"error\", or \"cancelled\". Those are terminal; the version never changes again.\n- \"slug\" is the app's permanent identifier and never changes, even when the app is renamed. Keep using the slug you started the build with.\n- An agent-scoped session restricted to specific spaces cannot read a personal app, which is what a build started over MCP creates. Call this tool without agentUuid to poll a build you started.\n\nParameters:\n- appSlug: The app's slug, as returned when the build started.\n- version: Which version of the app to report on. Omit it for the latest version, which is the one a build you just started produces.\n\nResponse shape (MCP CallToolResult):\n- content: [{ type: \"text\", text: \"<human-readable status summary>\" }]\n- structuredContent: {\n status: string, // \"pending\" | \"sandbox\" | \"catalog\" | \"generating\" | \"building\" | \"packaging\" | \"ready\" | \"error\" | \"cancelled\"\n statusMessage: string, // short line describing what the build is doing, or how it ended\n errorMessage: string | null, // why the build failed, set only when status is \"error\"\n name: string, // the app's name\n slug: string, // the app's permanent slug\n href: string, // URL to open the app in Lightdash; Chart Studio for a custom chart type\n nextPollAfterMs: number // how long to wait before polling again\n }\n\nErrors: an unknown slug, or an app or version this caller may not view, returns an error rather than a status.\n";
5
+ export declare const MCP_TOOL_GET_DATA_APP_BUILD_STATUS_DESCRIPTION = "Tool: get_data_app_build_status\n\nPurpose:\nCheck how a data app or custom chart type build is going, and get its URL once it is ready.\n\nImportant:\n- Poll every 15 seconds, as \"nextPollAfterMs\" in the response says; a build usually takes several minutes.\n- Stop polling once \"status\" is \"ready\", \"error\" or \"cancelled\": the version never changes again.\n- Keep using the slug the build started with: it never changes, even when the app is renamed.\n- An agent-scoped session restricted to specific spaces cannot read a personal app, which is what a build started over MCP creates. Call this tool without agentUuid to poll a build you started.\n";
6
6
  export declare const mcpGetDataAppBuildStatusArgsSchema: z.ZodObject<{
7
7
  appSlug: z.ZodString;
8
8
  version: z.ZodOptional<z.ZodNumber>;
@@ -1 +1 @@
1
- {"version":3,"file":"toolGetDataAppBuildStatusArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGetDataAppBuildStatusArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAIH,KAAK,gBAAgB,EACxB,MAAM,qBAAqB,CAAC;AAQ7B,eAAO,MAAM,uBAAuB,6HAI1B,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,CAAC,CAAC;AAa1E,eAAO,MAAM,8CAA8C,i6DA8B1D,CAAC;AAEF,eAAO,MAAM,kCAAkC;;;iBAe7C,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,kCAAkC,CAC5C,CAAC;AAEF,eAAO,MAAM,8CAA8C;;;;;;;;;;;;;;;;;;;iBA6BzD,CAAC;AAEH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC5C,OAAO,8CAA8C,CACxD,CAAC;AAEF,oDAAoD;AACpD,eAAO,MAAM,6BAA6B,6GAWvC;IACC,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,gBAAgB,CAAC;IACzB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,iBAAiB,EAAE,OAAO,CAAC;CAC9B,KAAG,0BAyCH,CAAC"}
1
+ {"version":3,"file":"toolGetDataAppBuildStatusArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGetDataAppBuildStatusArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAIH,KAAK,gBAAgB,EACxB,MAAM,qBAAqB,CAAC;AAQ7B,eAAO,MAAM,uBAAuB,6HAI1B,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,CAAC,CAAC;AAa1E,eAAO,MAAM,8CAA8C,wpBAY1D,CAAC;AAEF,eAAO,MAAM,kCAAkC;;;iBAe7C,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,kCAAkC,CAC5C,CAAC;AAEF,eAAO,MAAM,8CAA8C;;;;;;;;;;;;;;;;;;;iBA6BzD,CAAC;AAEH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC5C,OAAO,8CAA8C,CACxD,CAAC;AAEF,oDAAoD;AACpD,eAAO,MAAM,6BAA6B,6GAWvC;IACC,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,gBAAgB,CAAC;IACzB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,iBAAiB,EAAE,OAAO,CAAC;CAC9B,KAAG,0BAyCH,CAAC"}
@@ -21,31 +21,13 @@ const STAGE_STATUS_MESSAGES = {
21
21
  export const MCP_TOOL_GET_DATA_APP_BUILD_STATUS_DESCRIPTION = `Tool: get_data_app_build_status
22
22
 
23
23
  Purpose:
24
- Check how a data app or custom chart type build is going, and get its URL once it is ready. Each build produces one version.
24
+ Check how a data app or custom chart type build is going, and get its URL once it is ready.
25
25
 
26
26
  Important:
27
- - Poll every ${DATA_APP_BUILD_POLL_INTERVAL_MS / 1000} seconds — "nextPollAfterMs" in the response carries the same number in milliseconds. A build usually takes several minutes.
28
- - Stop polling once "status" is "ready", "error", or "cancelled". Those are terminal; the version never changes again.
29
- - "slug" is the app's permanent identifier and never changes, even when the app is renamed. Keep using the slug you started the build with.
27
+ - Poll every ${DATA_APP_BUILD_POLL_INTERVAL_MS / 1000} seconds, as "nextPollAfterMs" in the response says; a build usually takes several minutes.
28
+ - Stop polling once "status" is "ready", "error" or "cancelled": the version never changes again.
29
+ - Keep using the slug the build started with: it never changes, even when the app is renamed.
30
30
  - An agent-scoped session restricted to specific spaces cannot read a personal app, which is what a build started over MCP creates. Call this tool without agentUuid to poll a build you started.
31
-
32
- Parameters:
33
- - appSlug: The app's slug, as returned when the build started.
34
- - version: Which version of the app to report on. Omit it for the latest version, which is the one a build you just started produces.
35
-
36
- Response shape (MCP CallToolResult):
37
- - content: [{ type: "text", text: "<human-readable status summary>" }]
38
- - structuredContent: {
39
- status: string, // "pending" | "sandbox" | "catalog" | "generating" | "building" | "packaging" | "ready" | "error" | "cancelled"
40
- statusMessage: string, // short line describing what the build is doing, or how it ended
41
- errorMessage: string | null, // why the build failed, set only when status is "error"
42
- name: string, // the app's name
43
- slug: string, // the app's permanent slug
44
- href: string, // URL to open the app in Lightdash; Chart Studio for a custom chart type
45
- nextPollAfterMs: number // how long to wait before polling again
46
- }
47
-
48
- Errors: an unknown slug, or an app or version this caller may not view, returns an error rather than a status.
49
31
  `;
50
32
  export const mcpGetDataAppBuildStatusArgsSchema = z.object({
51
33
  appSlug: z
@@ -1 +1 @@
1
- {"version":3,"file":"toolGetDataAppBuildStatusArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGetDataAppBuildStatusArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACH,6BAA6B,EAC7B,uBAAuB,EACvB,iBAAiB,GAEpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACH,+BAA+B,EAC/B,qBAAqB,GACxB,MAAM,2BAA2B,CAAC;AAEnC,yEAAyE;AACzE,2EAA2E;AAC3E,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACnC,GAAG,uBAAuB;IAC1B,OAAO;IACP,WAAW;CACL,CAAC;AAIX,MAAM,qBAAqB,GAAG;IAC1B,OAAO,EAAE,sBAAsB;IAC/B,OAAO,EAAE,8BAA8B;IACvC,OAAO,EAAE,qCAAqC;IAC9C,OAAO,EAAE,8BAA8B;IACvC,UAAU,EAAE,kBAAkB;IAC9B,QAAQ,EAAE,mBAAmB;IAC7B,SAAS,EAAE,oBAAoB;IAC/B,KAAK,EAAE,mBAAmB;CAC+C,CAAC;AAE9E,MAAM,CAAC,MAAM,8CAA8C,GAAG;;;;;;eAO1D,+BAA+B,GAAG,IACtC;;;;;;;;;;;;;;;;;;;;;;CAsBC,CAAC;AAEF,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,CAAC,MAAM,CAAC;IACvD,OAAO,EAAE,CAAC;SACL,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,CACL,iFAAiF,CACpF;IACL,OAAO,EAAE,CAAC;S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AC,GAAG,OAAO,aAAa,WAAW,iBAAiB,IAAI,EAAE;YAC3D,CAAC,CAAC,GAAG,OAAO,GAAG,qBAAqB,CAAC,WAAW,EAAE,IAAI,CAAC,EAAE;QAC7D,eAAe,EAAE,+BAA+B;KACnD,CAAC;IACF,IAAI,MAAM,KAAK,OAAO,EAAE,CAAC;QACrB,OAAO;YACH,GAAG,MAAM;YACT,MAAM;YACN,aAAa,EACT,MAAM,KAAK,OAAO;gBACd,CAAC,CAAC,GACI,OAAO,KAAK,CAAC;oBACT,CAAC,CAAC,OAAO,IAAI,KAAK,WAAW,GAAG;oBAChC,CAAC,CAAC,WAAW,OAAO,WAAW,IAAI,KAAK,WAAW,GAC3D,YAAY;gBACd,CAAC,CAAC,CAAC,aAAa,IAAI,qBAAqB,CAAC,MAAM,CAAC,CAAC;YAC1D,YAAY,EAAE,IAAI;SACrB,CAAC;IACN,CAAC;IACD,IAAI,KAAK,KAAK,6BAA6B,EAAE,CAAC;QAC1C,OAAO;YACH,GAAG,MAAM;YACT,MAAM,EAAE,WAAW;YACnB,aAAa,EAAE,0BAA0B;YACzC,YAAY,EAAE,IAAI;SACrB,CAAC;IACN,CAAC;IACD,MAAM,OAAO,GAAG,KAAK,IAAI,aAAa,IAAI,mBAAmB,CAAC;IAC9D,OAAO;QACH,GAAG,MAAM;QACT,MAAM,EAAE,OAAO;QACf,aAAa,EAAE,aAAa,IAAI,mBAAmB;QACnD,YAAY,EAAE,OAAO;KACxB,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"toolGetDataAppBuildStatusArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGetDataAppBuildStatusArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACH,6BAA6B,EAC7B,uBAAuB,EACvB,iBAAiB,GAEpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACH,+BAA+B,EAC/B,qBAAqB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AAC;IACN,CAAC;IACD,IAAI,KAAK,KAAK,6BAA6B,EAAE,CAAC;QAC1C,OAAO;YACH,GAAG,MAAM;YACT,MAAM,EAAE,WAAW;YACnB,aAAa,EAAE,0BAA0B;YACzC,YAAY,EAAE,IAAI;SACrB,CAAC;IACN,CAAC;IACD,MAAM,OAAO,GAAG,KAAK,IAAI,aAAa,IAAI,mBAAmB,CAAC;IAC9D,OAAO;QACH,GAAG,MAAM;QACT,MAAM,EAAE,OAAO;QACf,aAAa,EAAE,aAAa,IAAI,mBAAmB;QACnD,YAAY,EAAE,OAAO;KACxB,CAAC;AACN,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"toolGetKnowledgeDocumentContentArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGetKnowledgeDocumentContentArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAK5D,eAAO,MAAM,+CAA+C,2BAGzD,sBAAsB,KAAG,MAqB3B,CAAC;AAEF,eAAO,MAAM,yCAAyC;;iBAO1C,CAAC;AAEb,eAAO,MAAM,sDAAsD;;;;;iBAOjE,CAAC;AAIH,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgBtD,CAAC;AAEH,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,yCAAyC,CACnD,CAAC;AAEF,MAAM,MAAM,gDAAgD,GAAG,CAAC,CAAC,KAAK,CAClE,OAAO,sDAAsD,CAChE,CAAC;AAEF,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,2CAA2C,CACrD,CAAC"}
1
+ {"version":3,"file":"toolGetKnowledgeDocumentContentArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGetKnowledgeDocumentContentArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAK5D,eAAO,MAAM,+CAA+C,2BAGzD,sBAAsB,KAAG,MAU3B,CAAC;AAEF,eAAO,MAAM,yCAAyC;;iBAO1C,CAAC;AAEb,eAAO,MAAM,sDAAsD;;;;;iBAOjE,CAAC;AAIH,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgBtD,CAAC;AAEH,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,yCAAyC,CACnD,CAAC;AAEF,MAAM,MAAM,gDAAgD,GAAG,CAAC,CAAC,KAAK,CAClE,OAAO,sDAAsD,CAChE,CAAC;AAEF,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,2CAA2C,CACrD,CAAC"}
@@ -7,18 +7,7 @@ export const TOOL_GET_KNOWLEDGE_DOCUMENT_CONTENT_DESCRIPTION = ({ runtime, toolN
7
7
  return `Tool: ${toolName}
8
8
 
9
9
  Purpose:
10
- Read the full text content of a single knowledge document by its uuid. Use this after ${listKnowledgeDocuments} has surfaced a document whose summary looks relevant to the current task.
11
-
12
- When to use:
13
- - A summary from ${listKnowledgeDocuments} indicates the document contains information you need.
14
- - The user explicitly asks you to read a specific document.
15
-
16
- Do NOT use:
17
- - Before calling ${listKnowledgeDocuments} — you need a uuid first.
18
- - Repeatedly for the same uuid in one turn — the content does not change between calls.
19
-
20
- Parameters:
21
- - documentUuid: The uuid of the document to read, taken from a previous ${listKnowledgeDocuments} result.
10
+ Read the full text of one knowledge document or Deep Research report by its uuid, taken from "Available knowledge documents" in the system prompt or from a ${listKnowledgeDocuments} result. The content does not change within a turn, so read each uuid once.
22
11
  `;
23
12
  };
24
13
  export const toolGetKnowledgeDocumentContentArgsSchema = createToolSchema()
@@ -1 +1 @@
1
- {"version":3,"file":"toolGetKnowledgeDocumentContentArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGetKnowledgeDocumentContentArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,gCAAgC,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,MAAM,CAAC,MAAM,+CAA+C,GAAG,CAAC,EAC5D,OAAO,EACP,QAAQ,GACa,EAAU,EAAE;IACjC,MAAM,sBAAsB,GAAG,WAAW,CACtC,wBAAwB,EACxB,OAAO,CACV,CAAC;IACF,OAAO,SAAS,QAAQ;;;wFAG4D,sBAAsB;;;mBAG3F,sBAAsB;;;;mBAItB,sBAAsB;;;;0EAIiC,sBAAsB;CAC/F,CAAC;AACF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,yCAAyC,GAAG,gBAAgB,EAAE;KACtE,MAAM,CAAC;IACJ,YAAY,EAAE,CAAC;SACV,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,+BAA+B,CAAC;CACjD,CAAC;KACD,KAAK,EAAE,CAAC;AAEb,MAAM,CAAC,MAAM,sDAAsD,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3E,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,+CAA+C,CAAC;IAC1E,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC;IAC5D,QAAQ,EAAE,CAAC;SACN,MAAM,EAAE;SACR,QAAQ,CAAC,wDAAwD,CAAC;IACvE,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oCAAoC,CAAC;CACrE,CAAC,CAAC;AAEH,6EAA6E;AAC7E,2EAA2E;AAC3E,MAAM,CAAC,MAAM,2CAA2C,GAAG,CAAC,CAAC,MAAM,CAAC;IAChE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,QAAQ,EAAE,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;QACrC,CAAC,CAAC,MAAM,CAAC;YACL,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;YAC5B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;YAChB,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE;SAC/B,CAAC;QACF,CAAC,CAAC,MAAM,CAAC;YACL,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;SAC7B,CAAC;KACL,CAAC;IACF,iBAAiB,EAAE,CAAC,CAAC,KAAK,CAAC;QACvB,sDAAsD;QACtD,gCAAgC;KACnC,CAAC;CACL,CAAC,CAAC"}
1
+ {"version":3,"file":"toolGetKnowledgeDocumentContentArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGetKnowledgeDocumentContentArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,gCAAgC,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,MAAM,CAAC,MAAM,+CAA+C,GAAG,CAAC,EAC5D,OAAO,EACP,QAAQ,GACa,EAAU,EAAE;IACjC,MAAM,sBAAsB,GAAG,WAAW,CACtC,wBAAwB,EACxB,OAAO,CACV,CAAC;IACF,OAAO,SAAS,QAAQ;;;8JAGkI,sBAAsB;CACnL,CAAC;AACF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,yCAAyC,GAAG,gBAAgB,EAAE;KACtE,MAAM,CAAC;IACJ,YAAY,EAAE,CAAC;SACV,M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) => {
10
10
  const getMetadata = toolNameFor('getMetadata', runtime);
11
11
  const grepFields = toolNameFor('grepFields', runtime);
12
- const visualization = toolNameFor('generateVisualization', runtime);
13
12
  return `Tool: ${getMetadata}
14
13
 
15
14
  Purpose:
16
- Get the full metadata for specific explores and/or fields that you already know the IDs of (typically from ${grepFields}). ${grepFields} is lean — it tells you WHICH fields exist; ${getMetadata} gives you the DETAIL you need to build a correct query: an explore's ${exploreMetadataGuidanceByRuntime[runtime]}, and a field's filter type, case-sensitivity, resolved default time dimension, parameter dependencies, hints, and whether it comes from a joined table. A field marked with required parameters returns different results depending on the parameter values the query runs with — unset parameters resolve to their default.
15
+ Get the full metadata for explores and fields whose IDs you already know, typically from ${grepFields}: an explore's ${exploreMetadataGuidanceByRuntime[runtime]}, and a field's filter type, case-sensitivity, resolved default time dimension, parameter dependencies, hints, and whether it comes from a joined table.
17
16
 
18
- Call this AFTER ${grepFields}, once you have narrowed down to the explore(s) and field(s) you intend to use, and BEFORE ${visualization}. You can ask for several explores and several fields across explores in a SINGLE call — batch everything you need at once instead of one request per item.
17
+ When to use:
18
+ Call this for the explores and fields you intend to use whose full detail you do not already have. Batch every explore and field you need into one call. Descriptions and hints truncated elsewhere ("...(truncated)") are returned here in full.
19
19
 
20
+ Inputs:
20
21
  Each entry in \`requests\` is one of:
21
- - \`{ "type": "explore", "exploreIds": ["orders", "customers"] }\` — full metadata for those explores (joined tables, table filters, field counts).
22
- - \`{ "type": "field", "fields": [{ "exploreId": "orders", "fieldId": "orders_status" }] }\` — full metadata for those specific fields.
22
+ - \`{ "type": "explore", "exploreIds": ["orders", "customers"] }\` for whole explores.
23
+ - \`{ "type": "field", "fields": [{ "exploreId": "orders", "fieldId": "orders_status" }] }\` for specific fields.
24
+
25
+ Applying the result:
26
+ Use a metric's default time dimension unless the user asks for a different one.
23
27
  `;
24
28
  };
25
29
  const exploreMetadataRequestSchema = z.object({
@@ -1 +1 @@
1
- {"version":3,"file":"toolGetMetadataArgs.js","sourceRoot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CACzE;CACJ,CAAC,CAAC;AAEH,4FAA4F;AAC5F,MAAM,CAAC,MAAM,sCAAsC,GAC/C,uBAAuB,CAAC,QAAQ,CAC5B,+IAA+I,CAClJ,CAAC;AAEN,MAAM,CAAC,MAAM,2BAA2B,GAAG,0BAA0B,CAAC;IAClE,QAAQ,EAAE,wBAAwB;IAClC,iBAAiB,EAAE,sCAAsC;CAC5D,CAAC,CAAC"}
@@ -2,9 +2,9 @@ import { z } from 'zod';
2
2
  import { DbtProjectType, ProjectType, WarehouseTypes, } from '../../../../types/projects';
3
3
  import { baseOutputMetadataSchema, structuredToolOutputSchema, } from '../outputMetadata';
4
4
  export const TOOL_GET_PROJECT_INFO_DESCRIPTION = [
5
- 'Get details about the Lightdash project you are currently working in and its underlying dbt project.',
6
- 'Use this when the user asks what dbt project this is, which git repository/branch it connects to, what dbt version or warehouse it uses, or wants general context about the current project.',
7
- 'This is read-only, applies to the project you are currently working in, and never returns credentials or secrets.',
5
+ 'Get details about the project you are working in and its underlying dbt project.',
6
+ 'Use it when the user asks what dbt project this is, which git repository or branch it connects to, what dbt version or warehouse it uses, or wants general context about the project.',
7
+ 'It never returns credentials or secrets.',
8
8
  ].join(' ');
9
9
  export const toolGetProjectInfoArgsSchema = z.object({});
10
10
  export const toolGetProjectInfoStructuredContentSchema = z.object({
@@ -1 +1 @@
1
- {"version":3,"file":"toolGetProjectInfoArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACH,cAAc,EACd,WAAW,EACX,cAAc,GACjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,wBAAwB,EACxB,0BAA0B,GAC7B,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,iCAAiC,GAAG;IAC7C,sGAAsG;IACtG,8LAA8L;IAC9L,mHAAmH;CACtH,CAAC,IA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,EAAE;SACV,QAAQ,CAAC,8CAA8C,CAAC;IAC7D,eAAe,EAAE,CAAC;SACb,MAAM,CAAC;QACJ,wBAAwB,EAAE,CAAC;aACtB,OAAO,EAAE;aACT,QAAQ,CACL,4EAA4E,CAC/E;QACL,YAAY,EAAE,CAAC;aACV,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,uCAAuC,CAAC;KACzD,CAAC;SACD,QAAQ,EAAE;SACV,QAAQ,CACL,wFAAwF,CAC3F;CACR,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,8BAA8B,GAAG,0BAA0B,CAAC;IACrE,QAAQ,EAAE,wBAAwB;IAClC,iBAAiB,EAAE,yCAAyC;CAC/D,CAAC,CAAC"}
1
+ {"version":3,"file":"toolGetProjectInfoArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACH,cAAc,EACd,WAAW,EACX,cAAc,GACjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,wBAAwB,EACxB,0BAA0B,GAC7B,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,iCAAiC,GAAG;IAC7C,kFAAkF;IAClF,uLAAuL;IACvL,0CAA0C;CAC7C,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEZ,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAMzD,MAAM,CAAC,MAAM,yCAAyC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9D,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,WAAW,EAAE,CAAC;SACT,IAAI,CAAC,WAAW,CAAC;SACjB,QAAQ,CAAC,uDAAuD,CAAC;IACtE,iBAAiB,EAAE,CAAC;SACf,IAAI,CAAC,cAAc,CAAC;SACpB,QAAQ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A0B,CAAC;IACrE,QAAQ,EAAE,wBAAwB;IAClC,iBAAiB,EAAE,yCAAyC;CAC/D,CAAC,CAAC"}
@@ -1,14 +1,14 @@
1
1
  import { z } from 'zod';
2
2
  import { baseOutputMetadataSchema, structuredToolOutputSchema, } from '../outputMetadata';
3
3
  export const TOOL_GET_PULL_REQUEST_DIFF_DESCRIPTION = [
4
- 'Read the actual code diff (unified patch) of a pull request this conversation opened, or that belongs to this project.',
5
- 'Use this before deciding how to split, consolidate, or continue changes across pull requests — for example to see exactly what a pull request already contains before adding to it, before folding one pull request into another, or when the user asks you to reorganise open pull requests.',
6
- 'Pass the pull request URL (from listWorkstreams or a previous editRepo / editDbtProject result). The pull request must belong to this project, or be one this conversation opened. Read-only. GitHub only for now.',
4
+ "Read the unified diff of a GitHub pull request in this project's dbt repository.",
5
+ 'Use it when you need to know exactly what a pull request contains rather than relying on your own summary: to answer questions about it, before adding to it, or before folding, splitting or reorganising pull requests.',
6
+ 'Pass its URL from listWorkstreams or an earlier edit result.',
7
7
  ].join(' ');
8
8
  export const toolGetPullRequestDiffArgsSchema = z.object({
9
9
  prUrl: z
10
10
  .string()
11
- .describe('The full URL of the pull request to read, e.g. "https://github.com/acme/web-app/pull/42". Must be a pull request this conversation opened or one that belongs to this project\'s repository.'),
11
+ .describe('Full URL of the pull request to read, e.g. "https://github.com/acme/analytics/pull/42"; it must be in this project\'s dbt repository.'),
12
12
  });
13
13
  export const toolGetPullRequestDiffStructuredContentSchema = z.object({
14
14
  pullRequest: z
@@ -1 +1 @@
1
- {"version":3,"file":"toolGetPullRequestDiffArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACH,wBAAwB,EACxB,0BAA0B,GAC7B,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,sCAAsC,GAAG;IAClD,wHAAwH;IACxH,+RAA+R;IAC/R,oNAAoN;CACvN,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEZ,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,KAAK,EAAE,CAAC;SACH,MAAM,EAAE;SACR,QAAQ,CACL,8LAA8L,CACjM;CACR,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,6CAA6C,GAAG,CAAC,CAAC,MAAM,CAAC;IAClE,WAAW,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,CACL,yEAAyE,CAC5E;IACL,IAAI,EAAE,CAAC;SACF,MAAM,EAAE;SACR,QAAQ,CACL,uIAAuI,CAC1I;IACL,SAAS,EAAE,CAAC;SACP,OAAO,EAAE;SACT,QAAQ,CACL,2FAA2F,CAC9F;IACL,UAAU,EAAE,CAAC;SACR,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,CAAC,wDAAwD,CAAC;CAC1E,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,kCAAkC,GAAG,0BAA0B,CAAC;IACzE,QAAQ,EAAE,wBAAwB;IAClC,iBAAiB,EAAE,6CAA6C;CACnE,CAAC,CAAC"}
1
+ {"version":3,"file":"toolGetPullRequestDiffArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACH,wBAAwB,EACxB,0BAA0B,GAC7B,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,sCAAsC,GAAG;IAClD,kFAAkF;IAClF,2NAA2N;IAC3N,8DAA8D;CACjE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEZ,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,KAAK,EAAE,CAAC;SACH,MAAM,EAAE;SACR,QAAQ,C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;;;;;;;;;;;;;;iBAAwC,CAAC;AAE5E,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAKrC,CAAC;AAEH,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACjD,OAAO,qCAAqC,CAC/C,CAAC;AACF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
@@ -9,15 +9,18 @@ export const GREP_FIELDS_DESCRIPTION = ({ runtime, }) => {
9
9
  return `Tool: ${grepFields}
10
10
 
11
11
  Purpose:
12
- Find which explores and fields can answer a question by grepping an in-memory, annotated view of the project's fields (names, labels, descriptions, hints and tags). Returns matching fields as \`explore/fieldId [kind type]\` lines grouped by explore.
12
+ Find which explores and fields can answer a data question by grepping the project's field catalog (names, labels, descriptions, hints and tags). ${grepFields} tells you which fields exist; ${getMetadata} gives the detail needed to query them.
13
13
 
14
- Use this as the FIRST step whenever the user asks a data question (counts, totals, breakdowns, trends, "what is", "show me", "how many"). Do NOT call this for questions about existing dashboards/charts (use ${findContent}).
14
+ When to use:
15
+ - Use this to discover the fields for a data question (counts, totals, breakdowns, trends, "what is", "show me", "how many"). For questions about existing dashboards, charts or Data Apps, use ${findContent} instead.
15
16
 
16
- Each pattern is a case-insensitive keyword pattern (not a full regex): use \`|\` to OR synonyms ("revenue|sales") and a space or \`.*\` between words to require all of them ("order.*status" matches fields mentioning both "order" and "status"). Pass 1–5 patterns in a SINGLE call covering the different angles of the question — they run together so you see all results at once instead of grepping one at a time. Start broad with meaningful keywords (e.g. ["revenue|sales", "country|region", "segment|tier"]) and narrow from there — long natural-language phrases will not match. If results are empty, try synonyms or broader patterns before giving up. Read the returned fieldIds and pick the single explore that answers at the right grain before building a query.
17
+ Returns:
18
+ Matching fields as \`explore/fieldId [kind type]\` lines grouped by explore. Pick the single explore that answers at the right grain before building a query.
19
+ - A description or hint ending in "...(truncated)" is incomplete; read the full text with ${getMetadata} before using that field.
20
+ - A field annotated with \`⚠params: <names>\` depends on those Lightdash parameters; read their definitions with ${getMetadata} on its explore before querying it.
17
21
 
18
- A description or hint ending in "...(truncated)" is incomplete — call ${getMetadata} to read the full text before using that field.
19
-
20
- A field annotated with \`⚠params: <names>\` depends on those Lightdash parameters — what it returns changes with the parameter values the query runs with (unset parameters resolve to their default). Call ${getMetadata} on its explore to see the parameter definitions before querying such a field.
22
+ Recovery:
23
+ When no field matches literally, the result lists the closest catalog matches (fuzzy search) under "No exact grep matches". Use those rather than re-grepping a long list of synonyms; broaden the patterns only when those miss too.
21
24
  `;
22
25
  };
23
26
  export const grepFieldsInputSchema = z.object({
@@ -25,7 +28,7 @@ export const grepFieldsInputSchema = z.object({
25
28
  .array(z.string().min(1))
26
29
  .min(1)
27
30
  .max(5)
28
- .describe('Up to 5 case-insensitive keyword patterns, run together in one call. Use `|` to OR synonyms and a space or `.*` between words to require all of them. Each is matched against field names, labels, descriptions, hints and tags.'),
31
+ .describe('Up to 5 case-insensitive keyword patterns, not full regexes, matched against field names, labels, descriptions, hints and tags. Use `|` to OR synonyms ("revenue|sales") and a space or `.*` between words to require all of them ("order.*status"). Use short keywords: long natural-language phrases do not match. The patterns run together, so cover every angle of the question in one call (e.g. ["revenue|sales", "country|region", "segment|tier"]).'),
29
32
  exploreName: z
30
33
  .string()
31
34
  .nullable()
@@ -1 +1 @@
1
- {"version":3,"file":"toolGrepFieldsArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,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CAAqC;CAC3D,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- export declare const MCP_TOOL_ITERATE_CUSTOM_CHART_TYPE_DESCRIPTION = "Tool: iterate_custom_chart_type\n\nStart a build that adds a version to an existing custom chart type from a follow-up brief. For a new chart type use create_custom_chart_type; for a data app use iterate_data_app, if available.\n\n- Describe the change, not the whole chart type. The build keeps the chart type's inputs, so charts that already use it keep working. Pass queryUuid to share the first rows of a completed run_metric_query as sample data. Pass themeSlug only to switch the theme.\n- Poll get_data_app_build_status with appSlug set to the slug until it is \"ready\", \"error\" or \"cancelled\". If a version is already building, wait for it to end before calling again.\n- A chart type created over MCP is the caller's personal one, in no space, so a space-restricted agent-scoped session cannot read it. Omit agentUuid here and in get_data_app_build_status.\n";
2
+ export declare const MCP_TOOL_ITERATE_CUSTOM_CHART_TYPE_DESCRIPTION = "Tool: iterate_custom_chart_type\n\nStart a build that adds a version to an existing custom chart type from a follow-up brief. For a new chart type use create_custom_chart_type; for a data app use iterate_data_app, if available.\n\n- Describe the change, not the whole chart type. The build keeps the chart type's inputs, so charts that already use it keep working. Pass themeSlug only to switch the theme.\n- Poll get_data_app_build_status with appSlug set to the slug until it is \"ready\", \"error\" or \"cancelled\". If a version is already building, wait for it to end before calling again.\n- A chart type created over MCP is the caller's personal one, in no space, so a space-restricted agent-scoped session cannot read it. Omit agentUuid here and in get_data_app_build_status.\n";
3
3
  export declare const mcpIterateCustomChartTypeArgsSchema: z.ZodObject<{
4
4
  slug: z.ZodString;
5
5
  prompt: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"toolIterateCustomChartTypeArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolIterateCustomChartTypeArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,8CAA8C,62BAO1D,CAAC;AAEF,eAAO,MAAM,mCAAmC;;;;;iBA0B9C,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,mCAAmC,CAC7C,CAAC"}
1
+ {"version":3,"file":"toolIterateCustomChartTypeArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolIterateCustomChartTypeArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,8CAA8C,sxBAO1D,CAAC;AAEF,eAAO,MAAM,mCAAmC;;;;;iBA0B9C,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,mCAAmC,CAC7C,CAAC"}
@@ -4,7 +4,7 @@ export const MCP_TOOL_ITERATE_CUSTOM_CHART_TYPE_DESCRIPTION = `Tool: iterate_cus
4
4
 
5
5
  Start a build that adds a version to an existing custom chart type from a follow-up brief. For a new chart type use create_custom_chart_type; for a data app use iterate_data_app, if available.
6
6
 
7
- - Describe the change, not the whole chart type. The build keeps the chart type's inputs, so charts that already use it keep working. Pass queryUuid to share the first rows of a completed run_metric_query as sample data. Pass themeSlug only to switch the theme.
7
+ - Describe the change, not the whole chart type. The build keeps the chart type's inputs, so charts that already use it keep working. Pass themeSlug only to switch the theme.
8
8
  - Poll get_data_app_build_status with appSlug set to the slug until it is "ready", "error" or "cancelled". If a version is already building, wait for it to end before calling again.
9
9
  ${MCP_CUSTOM_CHART_TYPE_AGENT_SCOPE_GUIDANCE}
10
10
  `;
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { type ToolGenerateDataAppOutput } from './toolGenerateDataAppArgs';
3
- export declare const TOOL_ITERATE_DATA_APP_DESCRIPTION: string;
4
- export declare const MCP_TOOL_ITERATE_DATA_APP_DESCRIPTION = "Tool: iterate_data_app\n\nPurpose:\nStart a build that adds a version to an existing data app from a follow-up brief. Use it to change, fix, or extend an app that already exists; generate_data_app is the tool for a brand-new app.\n\nImportant:\n- The coding agent works from the app's current source, so the brief describes the change rather than restating the whole app.\n- The app's name and slug stay as they are. The build adds a version to the app named by appSlug.\n- The build runs in the background for several minutes. This call returns as soon as the build has started. Poll get_data_app_build_status with the same appSlug every 15 seconds until its status is \"ready\", \"error\", or \"cancelled\". Call this tool once per request.\n- While a version is already building for the app, this call fails with \"A version is already building for this app\". Poll get_data_app_build_status until that build reaches a terminal status, then call this tool again.\n- An agent-scoped session restricted to specific spaces cannot read a personal app. Call this tool and get_data_app_build_status without agentUuid to build and poll an app you own.\n- Pass themeSlug only when the user asks to switch the app's theme; omitting it keeps the current one. An unknown themeSlug fails before the build starts and lists the valid slugs, which list_data_app_themes also returns.\n- For an outside API (analytics, billing, CRM), pass externalConnectionSlugs from list_data_app_connections.\n\nResponse shape (MCP CallToolResult):\n- content: [{ type: \"text\", text: \"<confirmation that the build started>\" }]\n- structuredContent: {\n slug: string, // the app's slug, unchanged by this build\n version: number, // the version of the app this build produces\n warnings: string[] // e.g. a connection the brief names but does not link\n }\n\nErrors: an unknown appSlug, themeSlug, dashboardSlug, chartSlug, or externalConnectionSlug returns an error and starts no build. So does a custom chart type's slug: use iterate_custom_chart_type for those, if available.\n";
3
+ export declare const TOOL_ITERATE_DATA_APP_DESCRIPTION = "Start a background build that adds a version to an existing data app from a brief describing the change. While a version of the app is already building, this call and every retry fail until that build ends: tell the user to wait for it to finish.";
4
+ export declare const MCP_TOOL_ITERATE_DATA_APP_DESCRIPTION = "Tool: iterate_data_app\n\nPurpose:\nStart a build that adds a version to an existing data app from a brief describing the change. The app's name and slug stay as they are. Use generate_data_app for a brand-new app, and iterate_custom_chart_type, if available, for a custom chart type.\n\nImportant:\n- The build runs in the background for several minutes, and this call returns once it starts. Call it once per request, then poll get_data_app_build_status with the same appSlug until the build ends.\n- While a version of the app is already building, this call fails. Poll get_data_app_build_status until that build ends, then call this tool again.\n- An agent-scoped session restricted to specific spaces cannot read a personal app. Call this tool and get_data_app_build_status without agentUuid to build and poll an app you own.\n";
5
5
  export declare const toolIterateDataAppArgsSchema: z.ZodObject<{
6
6
  appSlug: z.ZodString;
7
7
  prompt: z.ZodString;