Skip to content

Commit 1082cdb

Browse files
committed
chore(table): regenerate tool types from updated copilot contract
1 parent d4f699d commit 1082cdb

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

apps/sim/lib/copilot/generated/tool-catalog-v1.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2871,12 +2871,12 @@ export const UserTable: ToolCatalogEntry = {
28712871
position: {
28722872
type: 'number',
28732873
description:
2874-
'Zero-based position at which to insert the row (optional for insert_row). Existing rows at that position and below are shifted down. Omit to append at the end.',
2874+
'Zero-based index at which to insert the row (optional, insert_row only). Rows at and below that index shift down. Omit to append at the end.',
28752875
},
28762876
positions: {
28772877
type: 'array',
28782878
description:
2879-
'Zero-based positions for each row in batch_insert_rows (optional). Must have the same length as rows and contain no duplicates. Existing rows are shifted down as needed. Omit to append all rows at the end.',
2879+
'Per-row insertion indices for batch_insert_rows (optional). Must be the same length as rows and contain no duplicates. Values are final positions in the resulting table — lower-index shifts are applied automatically. Omit to append all rows at the end.',
28802880
items: { type: 'number' },
28812881
},
28822882
rowId: {

apps/sim/lib/copilot/generated/tool-schemas-v1.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2682,12 +2682,12 @@ export const TOOL_RUNTIME_SCHEMAS: Record<string, ToolRuntimeSchemaEntry> = {
26822682
position: {
26832683
type: 'number',
26842684
description:
2685-
'Zero-based position at which to insert the row (optional for insert_row). Existing rows at that position and below are shifted down. Omit to append at the end.',
2685+
'Zero-based index at which to insert the row (optional, insert_row only). Rows at and below that index shift down. Omit to append at the end.',
26862686
},
26872687
positions: {
26882688
type: 'array',
26892689
description:
2690-
'Zero-based positions for each row in batch_insert_rows (optional). Must have the same length as rows and contain no duplicates. Existing rows are shifted down as needed. Omit to append all rows at the end.',
2690+
'Per-row insertion indices for batch_insert_rows (optional). Must be the same length as rows and contain no duplicates. Values are final positions in the resulting table — lower-index shifts are applied automatically. Omit to append all rows at the end.',
26912691
items: {
26922692
type: 'number',
26932693
},

0 commit comments

Comments
 (0)