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
'Optional flag for add_workflow_group. When true, existing rows whose dependencies are already filled run immediately. Default false: groups are staged silently — call run_workflow_group when ready to fire rows. Set true if the user explicitly asked you to start runs.',
2799
-
},
2800
-
blockId: {
2801
-
type: 'string',
2802
-
description: 'Source block ID inside the workflow. Used by add_workflow_group_output.',
'Column name. Required for rename_column, update_column, and delete_workflow_group_output (the bound column to drop). Optional for add_workflow_group_output (auto-derived from path when omitted). Use columnNames array for batch delete_column.',
2802
+
'Column name (required for rename_column, update_column; use columnNames array for batch delete_column)',
description: 'Row data as key-value pairs (required for insert_row, update_row)',
2821
2812
},
2822
-
dependencies: {
2823
-
type: 'object',
2824
-
description:
2825
-
'Dependencies the workflow group requires before running a row. { columns?: string[] } lists input column names that must be filled; { workflowGroups?: string[] } lists other workflow group IDs whose outputs must complete first. Used by add_workflow_group and update_workflow_group.',
2826
-
properties: {
2827
-
columns: {
2828
-
type: 'array',
2829
-
description: 'Input column names that must be filled before the group runs.',
2830
-
items: {type: 'string'},
2831
-
},
2832
-
workflowGroups: {
2833
-
type: 'array',
2834
-
description: 'Other workflow group IDs whose outputs must complete first.',
2835
-
items: {type: 'string'},
2836
-
},
2837
-
},
2838
-
},
2839
2813
description: {type: 'string',description: "Table description (optional for 'create')"},
'MongoDB-style filter for query_rows, update_rows_by_filter, delete_rows_by_filter',
2854
2828
},
2855
-
groupId: {
2856
-
type: 'string',
2857
-
description:
2858
-
'Workflow group ID (required for update_workflow_group, delete_workflow_group, add_workflow_group_output, delete_workflow_group_output, run_workflow_group).',
2859
-
},
2860
2829
limit: {
2861
2830
type: 'number',
2862
2831
description: 'Maximum rows to return or affect (optional, default 100)',
2863
2832
},
2864
2833
mapping: {
2865
2834
type: 'object',
2866
2835
description:
2867
-
'Optional explicit CSV-header → table-column mapping for import_file, as { "csvHeader": "columnName" | null }. A string maps the CSV header to that table column; null skips that CSV header (it won\'t be imported); omit a header entirely to fall back to auto-mapping by sanitized name (case-insensitive).',
2836
+
'Optional explicit CSV-header → table-column mapping for import_file, as { "csvHeader": "columnName" | null }. When omitted, headers are auto-matched by sanitized name (case-insensitive fallback). Use null to skip a CSV column.',
2868
2837
additionalProperties: {
2869
-
type: ['string','null'],
2838
+
type: 'string',
2870
2839
description:
2871
-
"Target column name on the table. null skips that CSV header (it won't be imported); omit it entirely to fall back to auto-mapping.",
2840
+
'Target column name on the table. Use null to skip this CSV header instead of a column name.',
'Pipe query_rows results directly to a NEW workspace file. The format is auto-inferred from the file extension: .csv → CSV, .json → JSON, .md → Markdown, etc. Use .csv for tabular exports. Use a flat path like "files/export.csv" — nested paths are not supported.',
2901
2870
},
2902
-
outputs: {
2903
-
type: 'array',
2904
-
description:
2905
-
"Outputs to surface as columns. Each entry maps a workflow block output to a table column: { blockId, path, columnName?, columnType? }. blockId is the source block; path is the dotted output path; columnName auto-derives from the path when omitted; columnType defaults from the leaf type when omitted. Used by add_workflow_group. (Also accepted by update_workflow_group for the UI's bulk replace, but the AI flow should use add_workflow_group_output / delete_workflow_group_output instead.) If unsure about valid (blockId, path) pairs, call list_workflow_outputs first — paths are validated against the live workflow and invalid picks return an error with the valid options. For Agent blocks with structured outputs, the structured fields appear as top-level paths (e.g. summary, industry); there is NO response.content path on a structured agent.",
2906
-
items: {
2907
-
type: 'object',
2908
-
properties: {
2909
-
blockId: {type: 'string',description: 'Source block ID inside the workflow.'},
2910
-
columnName: {
2911
-
type: 'string',
2912
-
description:
2913
-
'Optional target column name. Auto-derived from the path when omitted.',
2914
-
},
2915
-
columnType: {
2916
-
type: 'string',
2917
-
description: 'Optional column type. Defaults from the leaf type when omitted.',
"Row ID. Required for get_row, update_row, delete_row, and for cancel_table_runs when scope:'row'.",
2884
+
description: 'Row ID (required for get_row, update_row, delete_row)',
2944
2885
},
2945
2886
rowIds: {
2946
2887
type: 'array',
2947
-
description:
2948
-
'Array of row IDs. Used by batch_delete_rows (rows to delete) and run_workflow_group (optional row scope: when omitted, runs across the whole table; when provided, only these rows are candidates and the eligibility predicate still applies — mid-run rows or rows with unmet deps are silently skipped).',
2949
-
items: {type: 'string'},
2888
+
description: 'Array of row IDs to delete (for batch_delete_rows)',
2950
2889
},
2951
2890
rows: {
2952
2891
type: 'array',
2953
2892
description: 'Array of row data objects (required for batch_insert_rows)',
2954
2893
},
2955
-
runMode: {
2956
-
type: 'string',
2957
-
description:
2958
-
"Run mode for run_workflow_group. 'incomplete' (default) re-runs only rows that never produced output or last failed; 'all' re-runs every dep-satisfied row.",
2959
-
enum: ['incomplete','all'],
2960
-
},
2961
2894
schema: {
2962
2895
type: 'object',
2963
2896
description:
2964
2897
"Table schema with columns array (required for 'create'). Each column: { name, type, unique? }",
2965
2898
},
2966
-
scope: {
2967
-
type: 'string',
2968
-
description:
2969
-
"Cancellation scope for cancel_table_runs. 'all' cancels in-flight runs across the whole table; 'row' cancels only the row identified by rowId.",
0 commit comments