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
Let the copilot enumerate the code-defined enrichment registry and add an
enrichment column to a table (validating required input mappings against the
table's columns), backed by the same workflow-group machinery the UI uses.
"Optional flag for add_workflow_groupand update_workflow_group. On add: when true, existing rows whose dependencies are already filled run immediately; default false stages the group silently — call run_column when ready to fire rows. On update: toggle a group's auto-fire behavior on an existing group — false stages it (no auto-runs on dep satisfaction; only manual run_column fires rows), true re-enables auto-fire (rows whose deps fill will be scheduled). Set true on add only if the user explicitly asked to start runs immediately.",
2947
+
"Optional flag for add_workflow_group, add_enrichment, and update_workflow_group. On add (workflow group or enrichment): when true, existing rows whose dependencies are already filled run immediately; default false stages the group silently — call run_column when ready to fire rows. On update: toggle a group's auto-fire behavior on an existing group — false stages it (no auto-runs on dep satisfaction; only manual run_column fires rows), true re-enables auto-fire (rows whose deps fill will be scheduled). Set true on add only if the user explicitly asked to start runs immediately.",
"Dependencies the workflow group requires before running a row. { columns?: string[] } lists input column names that must be filled. Workflow output columns count too — depend on the column produced by an upstream group, not the group itself. The dep graph is column-induced. A group can't depend on its own output columns. Used by add_workflow_group and update_workflow_group.",
2974
+
"Dependencies the group requires before running a row. { columns?: string[] } lists input column names that must be filled. Workflow output columns count too — depend on the column produced by an upstream group, not the group itself. The dep graph is column-induced. A group can't depend on its own output columns. Used by add_workflow_group and update_workflow_group, and optionally by add_enrichment (omit and the handler defaults deps to the mapped input columns).",
description: {type: 'string',description: "Table description (optional for 'create')"},
2985
+
enrichmentId: {
2986
+
type: 'string',
2987
+
description:
2988
+
"Enrichment registry ID for add_enrichment. Discover the available IDs (and each one's inputs/outputs) via list_enrichments first — don't hardcode. Examples: work-email, phone-number, company-domain, company-info.",
'Array of workflow group IDs. Required for run_column — non-empty list of columns to run.',
3009
3014
items: {type: 'string'},
3010
3015
},
3016
+
inputMappings: {
3017
+
type: 'array',
3018
+
description:
3019
+
'For add_enrichment: maps each enrichment input to an existing table column. Each item is { inputName, columnName } where inputName is the enrichment input id (from list_enrichments) and columnName is an existing column on the table. Provide a mapping for every required input. (The field is named inputName for consistency with workflow-group input mappings; for enrichments it holds the enrichment input id.)',
3020
+
items: {
3021
+
type: 'object',
3022
+
properties: {
3023
+
columnName: {
3024
+
type: 'string',
3025
+
description: 'Existing table column name that supplies this input.',
3026
+
},
3027
+
inputName: {
3028
+
type: 'string',
3029
+
description: 'Enrichment input id to bind (from list_enrichments).',
3030
+
},
3031
+
},
3032
+
required: ['inputName','columnName'],
3033
+
},
3034
+
},
3011
3035
limit: {
3012
3036
type: 'number',
3013
3037
description: 'Maximum rows to return or affect (optional, default 100)',
0 commit comments