Skip to content

Commit 6adf211

Browse files
committed
chore(copilot): sync table view update semantics
1 parent 9a6b0ce commit 6adf211

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
@@ -5788,7 +5788,7 @@ export const TableViews: ToolCatalogEntry = {
57885788
filter: {
57895789
type: ['object', 'null'],
57905790
description:
5791-
'Saved row predicate, same grammar as query_rows filters: {"all":[...]} / {"any":[...]} of {field, op, value} leaves with exact column NAMES. Omit or null for an unfiltered view.',
5791+
'Saved row predicate, same grammar as query_rows filters: {"all":[...]} / {"any":[...]} of {field, op, value} leaves with exact column NAMES. On update_view, omit to keep the existing filter, pass null to clear it, or pass a predicate to replace it. On create_view, omit or pass null for an unfiltered view.',
57925792
},
57935793
hiddenColumns: {
57945794
type: 'array',
@@ -5809,7 +5809,7 @@ export const TableViews: ToolCatalogEntry = {
58095809
sort: {
58105810
type: ['array', 'null'],
58115811
description:
5812-
'Saved ordered sort spec, e.g. [{"field":"due","direction":"asc"}], column NAMES. Omit or null for default ordering.',
5812+
'Saved ordered sort spec, e.g. [{"field":"due","direction":"asc"}], column NAMES. On update_view, omit to keep the existing sort, pass null to clear it, or pass a sort spec to replace it. On create_view, omit or pass null for default ordering.',
58135813
},
58145814
tableId: { type: 'string', description: 'Table ID (required for every operation)' },
58155815
viewId: {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5720,7 +5720,7 @@ export const TOOL_RUNTIME_SCHEMAS: Record<string, ToolRuntimeSchemaEntry> = {
57205720
filter: {
57215721
type: ['object', 'null'],
57225722
description:
5723-
'Saved row predicate, same grammar as query_rows filters: {"all":[...]} / {"any":[...]} of {field, op, value} leaves with exact column NAMES. Omit or null for an unfiltered view.',
5723+
'Saved row predicate, same grammar as query_rows filters: {"all":[...]} / {"any":[...]} of {field, op, value} leaves with exact column NAMES. On update_view, omit to keep the existing filter, pass null to clear it, or pass a predicate to replace it. On create_view, omit or pass null for an unfiltered view.',
57245724
},
57255725
hiddenColumns: {
57265726
type: 'array',
@@ -5743,7 +5743,7 @@ export const TOOL_RUNTIME_SCHEMAS: Record<string, ToolRuntimeSchemaEntry> = {
57435743
sort: {
57445744
type: ['array', 'null'],
57455745
description:
5746-
'Saved ordered sort spec, e.g. [{"field":"due","direction":"asc"}], column NAMES. Omit or null for default ordering.',
5746+
'Saved ordered sort spec, e.g. [{"field":"due","direction":"asc"}], column NAMES. On update_view, omit to keep the existing sort, pass null to clear it, or pass a sort spec to replace it. On create_view, omit or pass null for default ordering.',
57475747
},
57485748
tableId: {
57495749
type: 'string',

0 commit comments

Comments
 (0)