@n8n/instance-ai 1.2.0 → 1.3.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 (269) hide show
  1. package/dist/agent/instance-agent.js +4 -12
  2. package/dist/agent/instance-agent.js.map +1 -1
  3. package/dist/agent/sanitize-mcp-schemas.d.ts +4 -0
  4. package/dist/agent/sanitize-mcp-schemas.js +88 -18
  5. package/dist/agent/sanitize-mcp-schemas.js.map +1 -1
  6. package/dist/agent/sub-agent-debriefing.d.ts +4 -4
  7. package/dist/agent/system-prompt.js +18 -18
  8. package/dist/agent/system-prompt.js.map +1 -1
  9. package/dist/build.tsbuildinfo +1 -1
  10. package/dist/constants/max-steps.d.ts +9 -0
  11. package/dist/constants/max-steps.js +13 -0
  12. package/dist/constants/max-steps.js.map +1 -0
  13. package/dist/index.d.ts +5 -2
  14. package/dist/index.js +12 -3
  15. package/dist/index.js.map +1 -1
  16. package/dist/memory/title-utils.d.ts +1 -1
  17. package/dist/memory/title-utils.js +5 -23
  18. package/dist/memory/title-utils.js.map +1 -1
  19. package/dist/planned-tasks/planned-task-service.js +42 -6
  20. package/dist/planned-tasks/planned-task-service.js.map +1 -1
  21. package/dist/storage/workflow-loop-storage.d.ts +10 -0
  22. package/dist/stream/work-summary-accumulator.d.ts +6 -6
  23. package/dist/tools/credentials.tool.d.ts +2 -0
  24. package/dist/tools/credentials.tool.js +253 -0
  25. package/dist/tools/credentials.tool.js.map +1 -0
  26. package/dist/tools/data-tables.tool.d.ts +2 -0
  27. package/dist/tools/data-tables.tool.js +410 -0
  28. package/dist/tools/data-tables.tool.js.map +1 -0
  29. package/dist/tools/executions.tool.d.ts +2 -0
  30. package/dist/tools/executions.tool.js +174 -0
  31. package/dist/tools/executions.tool.js.map +1 -0
  32. package/dist/tools/index.d.ts +21 -57
  33. package/dist/tools/index.js +35 -132
  34. package/dist/tools/index.js.map +1 -1
  35. package/dist/tools/nodes.tool.d.ts +2 -0
  36. package/dist/tools/nodes.tool.js +298 -0
  37. package/dist/tools/nodes.tool.js.map +1 -0
  38. package/dist/tools/orchestration/blueprint.schema.d.ts +15 -15
  39. package/dist/tools/orchestration/browser-credential-setup.tool.js +13 -17
  40. package/dist/tools/orchestration/browser-credential-setup.tool.js.map +1 -1
  41. package/dist/tools/orchestration/build-workflow-agent.prompt.js +32 -28
  42. package/dist/tools/orchestration/build-workflow-agent.prompt.js.map +1 -1
  43. package/dist/tools/orchestration/build-workflow-agent.tool.d.ts +9 -1
  44. package/dist/tools/orchestration/build-workflow-agent.tool.js +73 -58
  45. package/dist/tools/orchestration/build-workflow-agent.tool.js.map +1 -1
  46. package/dist/tools/orchestration/data-table-agent.prompt.d.ts +1 -1
  47. package/dist/tools/orchestration/data-table-agent.prompt.js +7 -7
  48. package/dist/tools/orchestration/data-table-agent.tool.js +10 -22
  49. package/dist/tools/orchestration/data-table-agent.tool.js.map +1 -1
  50. package/dist/tools/orchestration/delegate.tool.js +3 -3
  51. package/dist/tools/orchestration/delegate.tool.js.map +1 -1
  52. package/dist/tools/orchestration/plan-agent-prompt.d.ts +1 -1
  53. package/dist/tools/orchestration/plan-agent-prompt.js +5 -5
  54. package/dist/tools/orchestration/plan-with-agent.tool.js +9 -11
  55. package/dist/tools/orchestration/plan-with-agent.tool.js.map +1 -1
  56. package/dist/tools/orchestration/research-with-agent.tool.js +6 -9
  57. package/dist/tools/orchestration/research-with-agent.tool.js.map +1 -1
  58. package/dist/tools/research.tool.d.ts +2 -0
  59. package/dist/tools/research.tool.js +159 -0
  60. package/dist/tools/research.tool.js.map +1 -0
  61. package/dist/tools/{orchestration/update-tasks.tool.d.ts → task-control.tool.d.ts} +2 -2
  62. package/dist/tools/task-control.tool.js +81 -0
  63. package/dist/tools/task-control.tool.js.map +1 -0
  64. package/dist/tools/templates.tool.d.ts +1 -0
  65. package/dist/tools/templates.tool.js +144 -0
  66. package/dist/tools/templates.tool.js.map +1 -0
  67. package/dist/tools/workflows/build-workflow.tool.js +2 -0
  68. package/dist/tools/workflows/build-workflow.tool.js.map +1 -1
  69. package/dist/tools/workflows/materialize-node-type.tool.d.ts +4 -4
  70. package/dist/tools/workflows/setup-workflow.service.d.ts +4 -1
  71. package/dist/tools/workflows/setup-workflow.service.js +91 -15
  72. package/dist/tools/workflows/setup-workflow.service.js.map +1 -1
  73. package/dist/tools/workflows/submit-workflow.tool.d.ts +1 -0
  74. package/dist/tools/workflows/submit-workflow.tool.js +5 -0
  75. package/dist/tools/workflows/submit-workflow.tool.js.map +1 -1
  76. package/dist/tools/workflows.tool.d.ts +2 -0
  77. package/dist/tools/workflows.tool.js +493 -0
  78. package/dist/tools/workflows.tool.js.map +1 -0
  79. package/dist/tools/workspace.tool.d.ts +2 -0
  80. package/dist/tools/workspace.tool.js +278 -0
  81. package/dist/tools/workspace.tool.js.map +1 -0
  82. package/dist/tracing/langsmith-tracing.d.ts +1 -0
  83. package/dist/tracing/langsmith-tracing.js +170 -2
  84. package/dist/tracing/langsmith-tracing.js.map +1 -1
  85. package/dist/tracing/trace-replay.d.ts +61 -0
  86. package/dist/tracing/trace-replay.js +208 -0
  87. package/dist/tracing/trace-replay.js.map +1 -0
  88. package/dist/types.d.ts +7 -0
  89. package/dist/workflow-loop/guidance.js +5 -5
  90. package/dist/workflow-loop/guidance.js.map +1 -1
  91. package/dist/workflow-loop/workflow-loop-controller.js +5 -0
  92. package/dist/workflow-loop/workflow-loop-controller.js.map +1 -1
  93. package/dist/workflow-loop/workflow-loop-state.d.ts +7 -0
  94. package/dist/workflow-loop/workflow-loop-state.js +2 -0
  95. package/dist/workflow-loop/workflow-loop-state.js.map +1 -1
  96. package/package.json +10 -8
  97. package/dist/agent/tool-access.d.ts +0 -2
  98. package/dist/agent/tool-access.js +0 -28
  99. package/dist/agent/tool-access.js.map +0 -1
  100. package/dist/tools/best-practices/get-best-practices.tool.d.ts +0 -9
  101. package/dist/tools/best-practices/get-best-practices.tool.js +0 -66
  102. package/dist/tools/best-practices/get-best-practices.tool.js.map +0 -1
  103. package/dist/tools/credentials/delete-credential.tool.d.ts +0 -20
  104. package/dist/tools/credentials/delete-credential.tool.js +0 -58
  105. package/dist/tools/credentials/delete-credential.tool.js.map +0 -1
  106. package/dist/tools/credentials/get-credential.tool.d.ts +0 -10
  107. package/dist/tools/credentials/get-credential.tool.js +0 -32
  108. package/dist/tools/credentials/get-credential.tool.js.map +0 -1
  109. package/dist/tools/credentials/list-credentials.tool.d.ts +0 -16
  110. package/dist/tools/credentials/list-credentials.tool.js +0 -72
  111. package/dist/tools/credentials/list-credentials.tool.js.map +0 -1
  112. package/dist/tools/credentials/search-credential-types.tool.d.ts +0 -10
  113. package/dist/tools/credentials/search-credential-types.tool.js +0 -46
  114. package/dist/tools/credentials/search-credential-types.tool.js.map +0 -1
  115. package/dist/tools/credentials/setup-credentials.tool.d.ts +0 -69
  116. package/dist/tools/credentials/setup-credentials.tool.js +0 -140
  117. package/dist/tools/credentials/setup-credentials.tool.js.map +0 -1
  118. package/dist/tools/credentials/test-credential.tool.d.ts +0 -10
  119. package/dist/tools/credentials/test-credential.tool.js +0 -32
  120. package/dist/tools/credentials/test-credential.tool.js.map +0 -1
  121. package/dist/tools/data-tables/add-data-table-column.tool.d.ts +0 -23
  122. package/dist/tools/data-tables/add-data-table-column.tool.js +0 -67
  123. package/dist/tools/data-tables/add-data-table-column.tool.js.map +0 -1
  124. package/dist/tools/data-tables/create-data-table.tool.d.ts +0 -38
  125. package/dist/tools/data-tables/create-data-table.tool.js +0 -106
  126. package/dist/tools/data-tables/create-data-table.tool.js.map +0 -1
  127. package/dist/tools/data-tables/delete-data-table-column.tool.d.ts +0 -20
  128. package/dist/tools/data-tables/delete-data-table-column.tool.js +0 -55
  129. package/dist/tools/data-tables/delete-data-table-column.tool.js.map +0 -1
  130. package/dist/tools/data-tables/delete-data-table-rows.tool.d.ts +0 -63
  131. package/dist/tools/data-tables/delete-data-table-rows.tool.js +0 -79
  132. package/dist/tools/data-tables/delete-data-table-rows.tool.js.map +0 -1
  133. package/dist/tools/data-tables/delete-data-table.tool.d.ts +0 -17
  134. package/dist/tools/data-tables/delete-data-table.tool.js +0 -54
  135. package/dist/tools/data-tables/delete-data-table.tool.js.map +0 -1
  136. package/dist/tools/data-tables/get-data-table-schema.tool.d.ts +0 -10
  137. package/dist/tools/data-tables/get-data-table-schema.tool.js +0 -29
  138. package/dist/tools/data-tables/get-data-table-schema.tool.js.map +0 -1
  139. package/dist/tools/data-tables/insert-data-table-rows.tool.d.ts +0 -20
  140. package/dist/tools/data-tables/insert-data-table-rows.tool.js +0 -62
  141. package/dist/tools/data-tables/insert-data-table-rows.tool.js.map +0 -1
  142. package/dist/tools/data-tables/list-data-tables.tool.d.ts +0 -10
  143. package/dist/tools/data-tables/list-data-tables.tool.js +0 -34
  144. package/dist/tools/data-tables/list-data-tables.tool.js.map +0 -1
  145. package/dist/tools/data-tables/query-data-table-rows.tool.d.ts +0 -62
  146. package/dist/tools/data-tables/query-data-table-rows.tool.js +0 -56
  147. package/dist/tools/data-tables/query-data-table-rows.tool.js.map +0 -1
  148. package/dist/tools/data-tables/rename-data-table-column.tool.d.ts +0 -23
  149. package/dist/tools/data-tables/rename-data-table-column.tool.js +0 -56
  150. package/dist/tools/data-tables/rename-data-table-column.tool.js.map +0 -1
  151. package/dist/tools/data-tables/update-data-table-rows.tool.d.ts +0 -66
  152. package/dist/tools/data-tables/update-data-table-rows.tool.js +0 -67
  153. package/dist/tools/data-tables/update-data-table-rows.tool.js.map +0 -1
  154. package/dist/tools/executions/debug-execution.tool.d.ts +0 -10
  155. package/dist/tools/executions/debug-execution.tool.js +0 -43
  156. package/dist/tools/executions/debug-execution.tool.js.map +0 -1
  157. package/dist/tools/executions/get-execution.tool.d.ts +0 -10
  158. package/dist/tools/executions/get-execution.tool.js +0 -28
  159. package/dist/tools/executions/get-execution.tool.js.map +0 -1
  160. package/dist/tools/executions/get-node-output.tool.d.ts +0 -19
  161. package/dist/tools/executions/get-node-output.tool.js +0 -41
  162. package/dist/tools/executions/get-node-output.tool.js.map +0 -1
  163. package/dist/tools/executions/list-executions.tool.d.ts +0 -16
  164. package/dist/tools/executions/list-executions.tool.js +0 -47
  165. package/dist/tools/executions/list-executions.tool.js.map +0 -1
  166. package/dist/tools/executions/run-workflow.tool.d.ts +0 -26
  167. package/dist/tools/executions/run-workflow.tool.js +0 -92
  168. package/dist/tools/executions/run-workflow.tool.js.map +0 -1
  169. package/dist/tools/executions/stop-execution.tool.d.ts +0 -10
  170. package/dist/tools/executions/stop-execution.tool.js +0 -27
  171. package/dist/tools/executions/stop-execution.tool.js.map +0 -1
  172. package/dist/tools/nodes/explore-node-resources.tool.d.ts +0 -34
  173. package/dist/tools/nodes/explore-node-resources.tool.js +0 -73
  174. package/dist/tools/nodes/explore-node-resources.tool.js.map +0 -1
  175. package/dist/tools/nodes/get-node-description.tool.d.ts +0 -10
  176. package/dist/tools/nodes/get-node-description.tool.js +0 -54
  177. package/dist/tools/nodes/get-node-description.tool.js.map +0 -1
  178. package/dist/tools/nodes/get-node-type-definition.tool.d.ts +0 -40
  179. package/dist/tools/nodes/get-node-type-definition.tool.js +0 -75
  180. package/dist/tools/nodes/get-node-type-definition.tool.js.map +0 -1
  181. package/dist/tools/nodes/get-suggested-nodes.tool.d.ts +0 -9
  182. package/dist/tools/nodes/get-suggested-nodes.tool.js +0 -56
  183. package/dist/tools/nodes/get-suggested-nodes.tool.js.map +0 -1
  184. package/dist/tools/nodes/list-nodes.tool.d.ts +0 -10
  185. package/dist/tools/nodes/list-nodes.tool.js +0 -35
  186. package/dist/tools/nodes/list-nodes.tool.js.map +0 -1
  187. package/dist/tools/nodes/search-nodes.tool.d.ts +0 -16
  188. package/dist/tools/nodes/search-nodes.tool.js +0 -91
  189. package/dist/tools/nodes/search-nodes.tool.js.map +0 -1
  190. package/dist/tools/orchestration/cancel-background-task.tool.d.ts +0 -10
  191. package/dist/tools/orchestration/cancel-background-task.tool.js +0 -26
  192. package/dist/tools/orchestration/cancel-background-task.tool.js.map +0 -1
  193. package/dist/tools/orchestration/correct-background-task.tool.d.ts +0 -13
  194. package/dist/tools/orchestration/correct-background-task.tool.js +0 -43
  195. package/dist/tools/orchestration/correct-background-task.tool.js.map +0 -1
  196. package/dist/tools/orchestration/update-tasks.tool.js +0 -26
  197. package/dist/tools/orchestration/update-tasks.tool.js.map +0 -1
  198. package/dist/tools/templates/search-template-parameters.tool.d.ts +0 -18
  199. package/dist/tools/templates/search-template-parameters.tool.js +0 -57
  200. package/dist/tools/templates/search-template-parameters.tool.js.map +0 -1
  201. package/dist/tools/templates/search-template-structures.tool.d.ts +0 -15
  202. package/dist/tools/templates/search-template-structures.tool.js +0 -47
  203. package/dist/tools/templates/search-template-structures.tool.js.map +0 -1
  204. package/dist/tools/web-research/fetch-url.tool.d.ts +0 -13
  205. package/dist/tools/web-research/fetch-url.tool.js +0 -132
  206. package/dist/tools/web-research/fetch-url.tool.js.map +0 -1
  207. package/dist/tools/web-research/index.d.ts +0 -1
  208. package/dist/tools/web-research/index.js +0 -6
  209. package/dist/tools/web-research/index.js.map +0 -1
  210. package/dist/tools/web-research/web-search.tool.d.ts +0 -16
  211. package/dist/tools/web-research/web-search.tool.js +0 -59
  212. package/dist/tools/web-research/web-search.tool.js.map +0 -1
  213. package/dist/tools/workflows/delete-workflow.tool.d.ts +0 -20
  214. package/dist/tools/workflows/delete-workflow.tool.js +0 -55
  215. package/dist/tools/workflows/delete-workflow.tool.js.map +0 -1
  216. package/dist/tools/workflows/get-workflow-as-code.tool.d.ts +0 -10
  217. package/dist/tools/workflows/get-workflow-as-code.tool.js +0 -39
  218. package/dist/tools/workflows/get-workflow-as-code.tool.js.map +0 -1
  219. package/dist/tools/workflows/get-workflow-version.tool.d.ts +0 -13
  220. package/dist/tools/workflows/get-workflow-version.tool.js +0 -40
  221. package/dist/tools/workflows/get-workflow-version.tool.js.map +0 -1
  222. package/dist/tools/workflows/get-workflow.tool.d.ts +0 -10
  223. package/dist/tools/workflows/get-workflow.tool.js +0 -38
  224. package/dist/tools/workflows/get-workflow.tool.js.map +0 -1
  225. package/dist/tools/workflows/list-workflow-versions.tool.d.ts +0 -16
  226. package/dist/tools/workflows/list-workflow-versions.tool.js +0 -49
  227. package/dist/tools/workflows/list-workflow-versions.tool.js.map +0 -1
  228. package/dist/tools/workflows/list-workflows.tool.d.ts +0 -13
  229. package/dist/tools/workflows/list-workflows.tool.js +0 -44
  230. package/dist/tools/workflows/list-workflows.tool.js.map +0 -1
  231. package/dist/tools/workflows/publish-workflow.tool.d.ts +0 -10
  232. package/dist/tools/workflows/publish-workflow.tool.js +0 -97
  233. package/dist/tools/workflows/publish-workflow.tool.js.map +0 -1
  234. package/dist/tools/workflows/restore-workflow-version.tool.d.ts +0 -20
  235. package/dist/tools/workflows/restore-workflow-version.tool.js +0 -72
  236. package/dist/tools/workflows/restore-workflow-version.tool.js.map +0 -1
  237. package/dist/tools/workflows/setup-workflow.tool.d.ts +0 -13
  238. package/dist/tools/workflows/setup-workflow.tool.js +0 -215
  239. package/dist/tools/workflows/setup-workflow.tool.js.map +0 -1
  240. package/dist/tools/workflows/unpublish-workflow.tool.d.ts +0 -20
  241. package/dist/tools/workflows/unpublish-workflow.tool.js +0 -65
  242. package/dist/tools/workflows/unpublish-workflow.tool.js.map +0 -1
  243. package/dist/tools/workflows/update-workflow-version.tool.d.ts +0 -19
  244. package/dist/tools/workflows/update-workflow-version.tool.js +0 -37
  245. package/dist/tools/workflows/update-workflow-version.tool.js.map +0 -1
  246. package/dist/tools/workspace/cleanup-test-executions.tool.d.ts +0 -23
  247. package/dist/tools/workspace/cleanup-test-executions.tool.js +0 -62
  248. package/dist/tools/workspace/cleanup-test-executions.tool.js.map +0 -1
  249. package/dist/tools/workspace/create-folder.tool.d.ts +0 -23
  250. package/dist/tools/workspace/create-folder.tool.js +0 -72
  251. package/dist/tools/workspace/create-folder.tool.js.map +0 -1
  252. package/dist/tools/workspace/delete-folder.tool.d.ts +0 -29
  253. package/dist/tools/workspace/delete-folder.tool.js +0 -67
  254. package/dist/tools/workspace/delete-folder.tool.js.map +0 -1
  255. package/dist/tools/workspace/list-folders.tool.d.ts +0 -10
  256. package/dist/tools/workspace/list-folders.tool.js +0 -28
  257. package/dist/tools/workspace/list-folders.tool.js.map +0 -1
  258. package/dist/tools/workspace/list-projects.tool.d.ts +0 -4
  259. package/dist/tools/workspace/list-projects.tool.js +0 -26
  260. package/dist/tools/workspace/list-projects.tool.js.map +0 -1
  261. package/dist/tools/workspace/list-tags.tool.d.ts +0 -4
  262. package/dist/tools/workspace/list-tags.tool.js +0 -25
  263. package/dist/tools/workspace/list-tags.tool.js.map +0 -1
  264. package/dist/tools/workspace/move-workflow-to-folder.tool.d.ts +0 -26
  265. package/dist/tools/workspace/move-workflow-to-folder.tool.js +0 -60
  266. package/dist/tools/workspace/move-workflow-to-folder.tool.js.map +0 -1
  267. package/dist/tools/workspace/tag-workflow.tool.d.ts +0 -23
  268. package/dist/tools/workspace/tag-workflow.tool.js +0 -56
  269. package/dist/tools/workspace/tag-workflow.tool.js.map +0 -1
@@ -1,72 +1,36 @@
1
1
  import type { InstanceAiContext, OrchestrationContext } from '../types';
2
2
  export declare function createAllTools(context: InstanceAiContext): {
3
3
  'parse-file'?: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "parse-file", unknown> | undefined;
4
- 'list-folders'?: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "list-folders", unknown> | undefined;
5
- 'create-folder'?: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "create-folder", unknown> | undefined;
6
- 'delete-folder'?: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "delete-folder", unknown> | undefined;
7
- 'move-workflow-to-folder'?: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "move-workflow-to-folder", unknown> | undefined;
8
- 'list-projects'?: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "list-projects", unknown> | undefined;
9
- 'tag-workflow'?: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "tag-workflow", unknown> | undefined;
10
- 'list-tags'?: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "list-tags", unknown> | undefined;
11
- 'cleanup-test-executions'?: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "cleanup-test-executions", unknown> | undefined;
12
- 'update-workflow-version'?: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "update-workflow-version", unknown> | undefined;
13
- 'list-workflow-versions'?: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "list-workflow-versions", unknown> | undefined;
14
- 'get-workflow-version'?: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "get-workflow-version", unknown> | undefined;
15
- 'restore-workflow-version'?: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "restore-workflow-version", unknown> | undefined;
16
- 'web-search'?: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "web-search", unknown> | undefined;
17
- 'list-workflows': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "list-workflows", unknown>;
18
- 'get-workflow': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "get-workflow", unknown>;
19
- 'get-workflow-as-code': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "get-workflow-as-code", unknown>;
4
+ workflows: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "workflows", unknown>;
5
+ executions: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "executions", unknown>;
6
+ credentials: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "credentials", unknown>;
7
+ 'data-tables': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "data-tables", unknown>;
8
+ workspace: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "workspace", unknown>;
9
+ research: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "research", unknown>;
10
+ nodes: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "nodes", unknown>;
11
+ templates: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "templates", unknown>;
12
+ 'ask-user': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "ask-user", unknown>;
20
13
  'build-workflow': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "build-workflow", unknown>;
21
- 'delete-workflow': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "delete-workflow", unknown>;
22
- 'setup-workflow': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "setup-workflow", unknown>;
23
- 'publish-workflow': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "publish-workflow", unknown>;
24
- 'unpublish-workflow': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "unpublish-workflow", unknown>;
25
- 'list-executions': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "list-executions", unknown>;
26
- 'run-workflow': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "run-workflow", unknown>;
27
- 'get-execution': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "get-execution", unknown>;
28
- 'debug-execution': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "debug-execution", unknown>;
29
- 'get-node-output': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "get-node-output", unknown>;
30
- 'stop-execution': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "stop-execution", unknown>;
31
- 'list-credentials': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "list-credentials", unknown>;
32
- 'get-credential': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "get-credential", unknown>;
33
- 'delete-credential': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "delete-credential", unknown>;
34
- 'search-credential-types': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "search-credential-types", unknown>;
35
- 'setup-credentials': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "setup-credentials", unknown>;
36
- 'test-credential': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "test-credential", unknown>;
37
- 'list-nodes': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "list-nodes", unknown>;
38
- 'get-node-description': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "get-node-description", unknown>;
39
- 'get-node-type-definition': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "get-node-type-definition", unknown>;
40
- 'search-nodes': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "search-nodes", unknown>;
41
- 'get-suggested-nodes': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "get-suggested-nodes", unknown>;
42
- 'explore-node-resources': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "explore-node-resources", unknown>;
43
- 'search-template-structures': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "search-template-structures", unknown>;
44
- 'search-template-parameters': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "search-template-parameters", unknown>;
45
- 'get-best-practices': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "get-best-practices", unknown>;
46
- 'list-data-tables': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "list-data-tables", unknown>;
47
- 'create-data-table': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "create-data-table", unknown>;
48
- 'delete-data-table': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "delete-data-table", unknown>;
49
- 'get-data-table-schema': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "get-data-table-schema", unknown>;
50
- 'add-data-table-column': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "add-data-table-column", unknown>;
51
- 'delete-data-table-column': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "delete-data-table-column", unknown>;
52
- 'rename-data-table-column': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "rename-data-table-column", unknown>;
53
- 'query-data-table-rows': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "query-data-table-rows", unknown>;
54
- 'insert-data-table-rows': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "insert-data-table-rows", unknown>;
55
- 'update-data-table-rows': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "update-data-table-rows", unknown>;
56
- 'delete-data-table-rows': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "delete-data-table-rows", unknown>;
14
+ };
15
+ export declare function createOrchestratorDomainTools(context: InstanceAiContext): {
16
+ workflows: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "workflows", unknown>;
17
+ executions: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "executions", unknown>;
18
+ credentials: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "credentials", unknown>;
19
+ 'data-tables': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "data-tables", unknown>;
20
+ workspace: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "workspace", unknown>;
21
+ research: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "research", unknown>;
22
+ nodes: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "nodes", unknown>;
23
+ templates: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "templates", unknown>;
57
24
  'ask-user': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "ask-user", unknown>;
58
- 'fetch-url': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "fetch-url", unknown>;
59
25
  };
60
26
  export declare function createOrchestrationTools(context: OrchestrationContext): {
61
27
  'apply-workflow-credentials'?: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "apply-workflow-credentials", unknown> | undefined;
62
28
  'verify-built-workflow'?: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "verify-built-workflow", unknown> | undefined;
63
29
  'report-verification-verdict'?: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "report-verification-verdict", unknown> | undefined;
64
30
  'browser-credential-setup'?: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "browser-credential-setup", unknown> | undefined;
65
- 'correct-background-task'?: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "correct-background-task", unknown> | undefined;
66
- 'cancel-background-task'?: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "cancel-background-task", unknown> | undefined;
67
- 'create-tasks': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "create-tasks", unknown>;
68
31
  plan: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "plan", unknown>;
69
- 'update-tasks': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "update-tasks", unknown>;
32
+ 'create-tasks': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "create-tasks", unknown>;
33
+ 'task-control': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "task-control", unknown>;
70
34
  delegate: import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "delegate", unknown>;
71
35
  'build-workflow-with-agent': import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "build-workflow-with-agent", unknown>;
72
36
  };
@@ -1,166 +1,69 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createAllTools = createAllTools;
4
+ exports.createOrchestratorDomainTools = createOrchestratorDomainTools;
4
5
  exports.createOrchestrationTools = createOrchestrationTools;
5
6
  const structured_file_parser_1 = require("../parsers/structured-file-parser");
6
7
  const parse_file_tool_1 = require("./attachments/parse-file.tool");
7
- const get_best_practices_tool_1 = require("./best-practices/get-best-practices.tool");
8
- const delete_credential_tool_1 = require("./credentials/delete-credential.tool");
9
- const get_credential_tool_1 = require("./credentials/get-credential.tool");
10
- const list_credentials_tool_1 = require("./credentials/list-credentials.tool");
11
- const search_credential_types_tool_1 = require("./credentials/search-credential-types.tool");
12
- const setup_credentials_tool_1 = require("./credentials/setup-credentials.tool");
13
- const test_credential_tool_1 = require("./credentials/test-credential.tool");
14
- const add_data_table_column_tool_1 = require("./data-tables/add-data-table-column.tool");
15
- const create_data_table_tool_1 = require("./data-tables/create-data-table.tool");
16
- const delete_data_table_column_tool_1 = require("./data-tables/delete-data-table-column.tool");
17
- const delete_data_table_rows_tool_1 = require("./data-tables/delete-data-table-rows.tool");
18
- const delete_data_table_tool_1 = require("./data-tables/delete-data-table.tool");
19
- const get_data_table_schema_tool_1 = require("./data-tables/get-data-table-schema.tool");
20
- const insert_data_table_rows_tool_1 = require("./data-tables/insert-data-table-rows.tool");
21
- const list_data_tables_tool_1 = require("./data-tables/list-data-tables.tool");
22
- const query_data_table_rows_tool_1 = require("./data-tables/query-data-table-rows.tool");
23
- const rename_data_table_column_tool_1 = require("./data-tables/rename-data-table-column.tool");
24
- const update_data_table_rows_tool_1 = require("./data-tables/update-data-table-rows.tool");
25
- const debug_execution_tool_1 = require("./executions/debug-execution.tool");
26
- const get_execution_tool_1 = require("./executions/get-execution.tool");
27
- const get_node_output_tool_1 = require("./executions/get-node-output.tool");
28
- const list_executions_tool_1 = require("./executions/list-executions.tool");
29
- const run_workflow_tool_1 = require("./executions/run-workflow.tool");
30
- const stop_execution_tool_1 = require("./executions/stop-execution.tool");
8
+ const credentials_tool_1 = require("./credentials.tool");
9
+ const data_tables_tool_1 = require("./data-tables.tool");
10
+ const executions_tool_1 = require("./executions.tool");
31
11
  const create_tools_from_mcp_server_1 = require("./filesystem/create-tools-from-mcp-server");
32
- const explore_node_resources_tool_1 = require("./nodes/explore-node-resources.tool");
33
- const get_node_description_tool_1 = require("./nodes/get-node-description.tool");
34
- const get_node_type_definition_tool_1 = require("./nodes/get-node-type-definition.tool");
35
- const get_suggested_nodes_tool_1 = require("./nodes/get-suggested-nodes.tool");
36
- const list_nodes_tool_1 = require("./nodes/list-nodes.tool");
37
- const search_nodes_tool_1 = require("./nodes/search-nodes.tool");
12
+ const nodes_tool_1 = require("./nodes.tool");
38
13
  const browser_credential_setup_tool_1 = require("./orchestration/browser-credential-setup.tool");
39
14
  const build_workflow_agent_tool_1 = require("./orchestration/build-workflow-agent.tool");
40
- const cancel_background_task_tool_1 = require("./orchestration/cancel-background-task.tool");
41
- const correct_background_task_tool_1 = require("./orchestration/correct-background-task.tool");
42
15
  const delegate_tool_1 = require("./orchestration/delegate.tool");
43
16
  const plan_with_agent_tool_1 = require("./orchestration/plan-with-agent.tool");
44
17
  const plan_tool_1 = require("./orchestration/plan.tool");
45
18
  const report_verification_verdict_tool_1 = require("./orchestration/report-verification-verdict.tool");
46
- const update_tasks_tool_1 = require("./orchestration/update-tasks.tool");
47
19
  const verify_built_workflow_tool_1 = require("./orchestration/verify-built-workflow.tool");
20
+ const research_tool_1 = require("./research.tool");
48
21
  const ask_user_tool_1 = require("./shared/ask-user.tool");
49
- const search_template_parameters_tool_1 = require("./templates/search-template-parameters.tool");
50
- const search_template_structures_tool_1 = require("./templates/search-template-structures.tool");
51
- const fetch_url_tool_1 = require("./web-research/fetch-url.tool");
52
- const web_search_tool_1 = require("./web-research/web-search.tool");
22
+ const task_control_tool_1 = require("./task-control.tool");
23
+ const templates_tool_1 = require("./templates.tool");
53
24
  const apply_workflow_credentials_tool_1 = require("./workflows/apply-workflow-credentials.tool");
54
25
  const build_workflow_tool_1 = require("./workflows/build-workflow.tool");
55
- const delete_workflow_tool_1 = require("./workflows/delete-workflow.tool");
56
- const get_workflow_as_code_tool_1 = require("./workflows/get-workflow-as-code.tool");
57
- const get_workflow_version_tool_1 = require("./workflows/get-workflow-version.tool");
58
- const get_workflow_tool_1 = require("./workflows/get-workflow.tool");
59
- const list_workflow_versions_tool_1 = require("./workflows/list-workflow-versions.tool");
60
- const list_workflows_tool_1 = require("./workflows/list-workflows.tool");
61
- const publish_workflow_tool_1 = require("./workflows/publish-workflow.tool");
62
- const restore_workflow_version_tool_1 = require("./workflows/restore-workflow-version.tool");
63
- const setup_workflow_tool_1 = require("./workflows/setup-workflow.tool");
64
- const unpublish_workflow_tool_1 = require("./workflows/unpublish-workflow.tool");
65
- const update_workflow_version_tool_1 = require("./workflows/update-workflow-version.tool");
66
- const cleanup_test_executions_tool_1 = require("./workspace/cleanup-test-executions.tool");
67
- const create_folder_tool_1 = require("./workspace/create-folder.tool");
68
- const delete_folder_tool_1 = require("./workspace/delete-folder.tool");
69
- const list_folders_tool_1 = require("./workspace/list-folders.tool");
70
- const list_projects_tool_1 = require("./workspace/list-projects.tool");
71
- const list_tags_tool_1 = require("./workspace/list-tags.tool");
72
- const move_workflow_to_folder_tool_1 = require("./workspace/move-workflow-to-folder.tool");
73
- const tag_workflow_tool_1 = require("./workspace/tag-workflow.tool");
26
+ const workflows_tool_1 = require("./workflows.tool");
27
+ const workspace_tool_1 = require("./workspace.tool");
74
28
  function createAllTools(context) {
75
29
  return {
76
- 'list-workflows': (0, list_workflows_tool_1.createListWorkflowsTool)(context),
77
- 'get-workflow': (0, get_workflow_tool_1.createGetWorkflowTool)(context),
78
- 'get-workflow-as-code': (0, get_workflow_as_code_tool_1.createGetWorkflowAsCodeTool)(context),
79
- 'build-workflow': (0, build_workflow_tool_1.createBuildWorkflowTool)(context),
80
- 'delete-workflow': (0, delete_workflow_tool_1.createDeleteWorkflowTool)(context),
81
- 'setup-workflow': (0, setup_workflow_tool_1.createSetupWorkflowTool)(context),
82
- 'publish-workflow': (0, publish_workflow_tool_1.createPublishWorkflowTool)(context),
83
- 'unpublish-workflow': (0, unpublish_workflow_tool_1.createUnpublishWorkflowTool)(context),
84
- 'list-executions': (0, list_executions_tool_1.createListExecutionsTool)(context),
85
- 'run-workflow': (0, run_workflow_tool_1.createRunWorkflowTool)(context),
86
- 'get-execution': (0, get_execution_tool_1.createGetExecutionTool)(context),
87
- 'debug-execution': (0, debug_execution_tool_1.createDebugExecutionTool)(context),
88
- 'get-node-output': (0, get_node_output_tool_1.createGetNodeOutputTool)(context),
89
- 'stop-execution': (0, stop_execution_tool_1.createStopExecutionTool)(context),
90
- 'list-credentials': (0, list_credentials_tool_1.createListCredentialsTool)(context),
91
- 'get-credential': (0, get_credential_tool_1.createGetCredentialTool)(context),
92
- 'delete-credential': (0, delete_credential_tool_1.createDeleteCredentialTool)(context),
93
- 'search-credential-types': (0, search_credential_types_tool_1.createSearchCredentialTypesTool)(context),
94
- 'setup-credentials': (0, setup_credentials_tool_1.createSetupCredentialsTool)(context),
95
- 'test-credential': (0, test_credential_tool_1.createTestCredentialTool)(context),
96
- 'list-nodes': (0, list_nodes_tool_1.createListNodesTool)(context),
97
- 'get-node-description': (0, get_node_description_tool_1.createGetNodeDescriptionTool)(context),
98
- 'get-node-type-definition': (0, get_node_type_definition_tool_1.createGetNodeTypeDefinitionTool)(context),
99
- 'search-nodes': (0, search_nodes_tool_1.createSearchNodesTool)(context),
100
- 'get-suggested-nodes': (0, get_suggested_nodes_tool_1.createGetSuggestedNodesTool)(),
101
- 'explore-node-resources': (0, explore_node_resources_tool_1.createExploreNodeResourcesTool)(context),
102
- 'search-template-structures': (0, search_template_structures_tool_1.createSearchTemplateStructuresTool)(),
103
- 'search-template-parameters': (0, search_template_parameters_tool_1.createSearchTemplateParametersTool)(),
104
- 'get-best-practices': (0, get_best_practices_tool_1.createGetBestPracticesTool)(),
105
- 'list-data-tables': (0, list_data_tables_tool_1.createListDataTablesTool)(context),
106
- 'create-data-table': (0, create_data_table_tool_1.createCreateDataTableTool)(context),
107
- 'delete-data-table': (0, delete_data_table_tool_1.createDeleteDataTableTool)(context),
108
- 'get-data-table-schema': (0, get_data_table_schema_tool_1.createGetDataTableSchemaTool)(context),
109
- 'add-data-table-column': (0, add_data_table_column_tool_1.createAddDataTableColumnTool)(context),
110
- 'delete-data-table-column': (0, delete_data_table_column_tool_1.createDeleteDataTableColumnTool)(context),
111
- 'rename-data-table-column': (0, rename_data_table_column_tool_1.createRenameDataTableColumnTool)(context),
112
- 'query-data-table-rows': (0, query_data_table_rows_tool_1.createQueryDataTableRowsTool)(context),
113
- 'insert-data-table-rows': (0, insert_data_table_rows_tool_1.createInsertDataTableRowsTool)(context),
114
- 'update-data-table-rows': (0, update_data_table_rows_tool_1.createUpdateDataTableRowsTool)(context),
115
- 'delete-data-table-rows': (0, delete_data_table_rows_tool_1.createDeleteDataTableRowsTool)(context),
30
+ workflows: (0, workflows_tool_1.createWorkflowsTool)(context),
31
+ executions: (0, executions_tool_1.createExecutionsTool)(context),
32
+ credentials: (0, credentials_tool_1.createCredentialsTool)(context),
33
+ 'data-tables': (0, data_tables_tool_1.createDataTablesTool)(context),
34
+ workspace: (0, workspace_tool_1.createWorkspaceTool)(context),
35
+ research: (0, research_tool_1.createResearchTool)(context),
36
+ nodes: (0, nodes_tool_1.createNodesTool)(context),
37
+ templates: (0, templates_tool_1.createTemplatesTool)(),
116
38
  'ask-user': (0, ask_user_tool_1.createAskUserTool)(),
117
- 'fetch-url': (0, fetch_url_tool_1.createFetchUrlTool)(context),
118
- ...(context.webResearchService?.search ? { 'web-search': (0, web_search_tool_1.createWebSearchTool)(context) } : {}),
119
- ...(context.workflowService.listVersions
120
- ? {
121
- 'list-workflow-versions': (0, list_workflow_versions_tool_1.createListWorkflowVersionsTool)(context),
122
- 'get-workflow-version': (0, get_workflow_version_tool_1.createGetWorkflowVersionTool)(context),
123
- 'restore-workflow-version': (0, restore_workflow_version_tool_1.createRestoreWorkflowVersionTool)(context),
124
- }
125
- : {}),
126
- ...(context.workflowService.updateVersion
127
- ? { 'update-workflow-version': (0, update_workflow_version_tool_1.createUpdateWorkflowVersionTool)(context) }
128
- : {}),
129
- ...(context.workspaceService
130
- ? {
131
- 'list-projects': (0, list_projects_tool_1.createListProjectsTool)(context),
132
- 'tag-workflow': (0, tag_workflow_tool_1.createTagWorkflowTool)(context),
133
- 'list-tags': (0, list_tags_tool_1.createListTagsTool)(context),
134
- 'cleanup-test-executions': (0, cleanup_test_executions_tool_1.createCleanupTestExecutionsTool)(context),
135
- ...(context.workspaceService.listFolders
136
- ? {
137
- 'list-folders': (0, list_folders_tool_1.createListFoldersTool)(context),
138
- 'create-folder': (0, create_folder_tool_1.createCreateFolderTool)(context),
139
- 'delete-folder': (0, delete_folder_tool_1.createDeleteFolderTool)(context),
140
- 'move-workflow-to-folder': (0, move_workflow_to_folder_tool_1.createMoveWorkflowToFolderTool)(context),
141
- }
142
- : {}),
143
- }
144
- : {}),
39
+ 'build-workflow': (0, build_workflow_tool_1.createBuildWorkflowTool)(context),
145
40
  ...(context.localMcpServer ? (0, create_tools_from_mcp_server_1.createToolsFromLocalMcpServer)(context.localMcpServer) : {}),
146
41
  ...(context.currentUserAttachments?.some(structured_file_parser_1.isStructuredAttachment)
147
42
  ? { 'parse-file': (0, parse_file_tool_1.createParseFileTool)(context) }
148
43
  : {}),
149
44
  };
150
45
  }
46
+ function createOrchestratorDomainTools(context) {
47
+ return {
48
+ workflows: (0, workflows_tool_1.createWorkflowsTool)(context, 'orchestrator'),
49
+ executions: (0, executions_tool_1.createExecutionsTool)(context),
50
+ credentials: (0, credentials_tool_1.createCredentialsTool)(context),
51
+ 'data-tables': (0, data_tables_tool_1.createDataTablesTool)(context, 'orchestrator'),
52
+ workspace: (0, workspace_tool_1.createWorkspaceTool)(context),
53
+ research: (0, research_tool_1.createResearchTool)(context),
54
+ nodes: (0, nodes_tool_1.createNodesTool)(context, 'orchestrator'),
55
+ templates: (0, templates_tool_1.createTemplatesTool)(),
56
+ 'ask-user': (0, ask_user_tool_1.createAskUserTool)(),
57
+ ...(context.localMcpServer ? (0, create_tools_from_mcp_server_1.createToolsFromLocalMcpServer)(context.localMcpServer) : {}),
58
+ };
59
+ }
151
60
  function createOrchestrationTools(context) {
152
61
  return {
153
- 'create-tasks': (0, plan_tool_1.createPlanTool)(context),
154
62
  plan: (0, plan_with_agent_tool_1.createPlanWithAgentTool)(context),
155
- 'update-tasks': (0, update_tasks_tool_1.createUpdateTasksTool)(context),
63
+ 'create-tasks': (0, plan_tool_1.createPlanTool)(context),
64
+ 'task-control': (0, task_control_tool_1.createTaskControlTool)(context),
156
65
  delegate: (0, delegate_tool_1.createDelegateTool)(context),
157
66
  'build-workflow-with-agent': (0, build_workflow_agent_tool_1.createBuildWorkflowAgentTool)(context),
158
- ...(context.cancelBackgroundTask
159
- ? { 'cancel-background-task': (0, cancel_background_task_tool_1.createCancelBackgroundTaskTool)(context) }
160
- : {}),
161
- ...(context.sendCorrectionToTask
162
- ? { 'correct-background-task': (0, correct_background_task_tool_1.createCorrectBackgroundTaskTool)(context) }
163
- : {}),
164
67
  ...(context.browserMcpConfig || hasGatewayBrowserTools(context)
165
68
  ? {
166
69
  'browser-credential-setup': (0, browser_credential_setup_tool_1.createBrowserCredentialSetupTool)(context),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":";;AA2EA,wCA4EC;AAMD,4DAkCC;AA/LD,8EAA2E;AAE3E,mEAAoE;AACpE,sFAAsF;AACtF,iFAAkF;AAClF,2EAA4E;AAC5E,+EAAgF;AAChF,6FAA6F;AAC7F,iFAAkF;AAClF,6EAA8E;AAC9E,yFAAwF;AACxF,iFAAiF;AACjF,+FAA8F;AAC9F,2FAA0F;AAC1F,iFAAiF;AACjF,yFAAwF;AACxF,2FAA0F;AAC1F,+EAA+E;AAC/E,yFAAwF;AACxF,+FAA8F;AAC9F,2FAA0F;AAC1F,4EAA6E;AAC7E,wEAAyE;AACzE,4EAA4E;AAC5E,4EAA6E;AAC7E,sEAAuE;AACvE,0EAA2E;AAC3E,4FAA0F;AAC1F,qFAAqF;AACrF,iFAAiF;AACjF,yFAAwF;AACxF,+EAA+E;AAC/E,6DAA8D;AAC9D,iEAAkE;AAClE,iGAAiG;AACjG,yFAAyF;AACzF,6FAA6F;AAC7F,+FAA+F;AAC/F,iEAAmE;AACnE,+EAA+E;AAC/E,yDAA2D;AAC3D,uGAAuG;AACvG,yEAA0E;AAC1E,2FAA2F;AAC3F,0DAA2D;AAC3D,iGAAiG;AACjG,iGAAiG;AACjG,kEAAmE;AACnE,oEAAqE;AACrE,iGAAiG;AACjG,yEAA0E;AAC1E,2EAA4E;AAC5E,qFAAoF;AACpF,qFAAqF;AACrF,qEAAsE;AACtE,yFAAyF;A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,IAAI,EAAE,IAAA,8CAAuB,EAAC,OAAO,CAAC;QACtC,cAAc,EAAE,IAAA,0BAAc,EAAC,OAAO,CAAC;QACvC,cAAc,EAAE,IAAA,yCAAqB,EAAC,OAAO,CAAC;QAC9C,QAAQ,EAAE,IAAA,kCAAkB,EAAC,OAAO,CAAC;QACrC,2BAA2B,EAAE,IAAA,wDAA4B,EAAC,OAAO,CAAC;QAClE,GAAG,CAAC,OAAO,CAAC,gBAAgB,IAAI,sBAAsB,CAAC,OAAO,CAAC;YAC9D,CAAC,CAAC;gBACA,0BAA0B,EAAE,IAAA,gEAAgC,EAAC,OAAO,CAAC;aACrE;YACF,CAAC,CAAC,EAAE,CAAC;QACN,GAAG,CAAC,OAAO,CAAC,mBAAmB;YAC9B,CAAC,CAAC;gBACA,6BAA6B,EAAE,IAAA,sEAAmC,EAAC,OAAO,CAAC;aAC3E;YACF,CAAC,CAAC,EAAE,CAAC;QACN,GAAG,CAAC,OAAO,CAAC,mBAAmB,IAAI,OAAO,CAAC,aAAa;YACvD,CAAC,CAAC;gBACA,uBAAuB,EAAE,IAAA,0DAA6B,EAAC,OAAO,CAAC;aAC/D;YACF,CAAC,CAAC,EAAE,CAAC;QACN,GAAG,CAAC,OAAO,CAAC,mBAAmB,IAAI,OAAO,CAAC,aAAa;YACvD,CAAC,CAAC;gBACA,4BAA4B,EAAE,IAAA,oEAAkC,EAAC,OAAO,CAAC;aACzE;YACF,CAAC,CAAC,EAAE,CAAC;KACN,CAAC;AACH,CAAC;AAED,SAAS,sBAAsB,CAAC,OAA6B;IAC5D,OAAO,CAAC,OAAO,CAAC,cAAc,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;AAChF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { InstanceAiContext } from '../types';
2
+ export declare function createNodesTool(context: InstanceAiContext, surface?: 'full' | 'orchestrator'): import("@mastra/core/tools").Tool<InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, InferPublicSchema<T>, import("@mastra/core/tools").ToolExecutionContext<InferPublicSchema<T>, InferPublicSchema<T>, unknown>, "nodes", unknown>;