Skip to content

Commit 01d7fee

Browse files
committed
chore(table): regenerate tool types with integer position schema
1 parent 0bbb4d3 commit 01d7fee

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
@@ -2869,15 +2869,15 @@ export const UserTable: ToolCatalogEntry = {
28692869
'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.',
28702870
},
28712871
position: {
2872-
type: 'number',
2872+
type: 'integer',
28732873
description:
28742874
'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:
28792879
'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.',
2880-
items: { type: 'number' },
2880+
items: { type: 'integer' },
28812881
},
28822882
rowId: {
28832883
type: 'string',

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2680,7 +2680,7 @@ export const TOOL_RUNTIME_SCHEMAS: Record<string, ToolRuntimeSchemaEntry> = {
26802680
'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.',
26812681
},
26822682
position: {
2683-
type: 'number',
2683+
type: 'integer',
26842684
description:
26852685
'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
},
@@ -2689,7 +2689,7 @@ export const TOOL_RUNTIME_SCHEMAS: Record<string, ToolRuntimeSchemaEntry> = {
26892689
description:
26902690
'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: {
2692-
type: 'number',
2692+
type: 'integer',
26932693
},
26942694
},
26952695
rowId: {

0 commit comments

Comments
 (0)