You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'Run a workflow starting from a specific block, using cached outputs from a prior execution for upstream blocks. The workflow must have been run at least once first.',
235
-
inputSchema: {
236
-
type: 'object',
237
-
properties: {
238
-
workflowId: {
239
-
type: 'string',
240
-
description: 'REQUIRED. The workflow ID to run.',
241
-
},
242
-
startBlockId: {
243
-
type: 'string',
244
-
description: 'REQUIRED. The block ID to start execution from.',
245
-
},
246
-
executionId: {
247
-
type: 'string',
248
-
description:
249
-
'Optional. Specific execution ID to load the snapshot from. Uses latest if omitted.',
250
-
},
251
-
workflow_input: {
252
-
type: 'object',
253
-
description: 'Optional input values for the workflow.',
254
-
},
255
-
useDeployedState: {
256
-
type: 'boolean',
257
-
description: 'When true, runs the deployed version instead of the draft. Default: false.',
'Run a single block in isolation using cached outputs from a prior execution. Only the specified block executes — nothing upstream or downstream. The workflow must have been run at least once first.',
269
-
inputSchema: {
270
-
type: 'object',
271
-
properties: {
272
-
workflowId: {
273
-
type: 'string',
274
-
description: 'REQUIRED. The workflow ID.',
275
-
},
276
-
blockId: {
277
-
type: 'string',
278
-
description: 'REQUIRED. The block ID to run in isolation.',
279
-
},
280
-
executionId: {
281
-
type: 'string',
282
-
description:
283
-
'Optional. Specific execution ID to load the snapshot from. Uses latest if omitted.',
284
-
},
285
-
workflow_input: {
286
-
type: 'object',
287
-
description: 'Optional input values for the workflow.',
288
-
},
289
-
useDeployedState: {
290
-
type: 'boolean',
291
-
description: 'When true, runs the deployed version instead of the draft. Default: false.',
'Optional credential ID to use when multiple accounts are connected for this provider. Get IDs from environment/credentials.json. If omitted, auto-selects the first available credential.',
Copy file name to clipboardExpand all lines: apps/sim/tools/params.ts
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -438,6 +438,14 @@ export function createUserToolSchema(toolConfig: ToolConfig): ToolSchema {
438
438
}
439
439
}
440
440
441
+
if(toolConfig.oauth?.required){
442
+
schema.properties.credentialId={
443
+
type: 'string',
444
+
description:
445
+
'Optional credential ID to use when multiple accounts are connected for this provider. Get IDs from environment/credentials.json. If omitted, auto-selects the first available credential.',
0 commit comments