Skip to content

Commit 160c866

Browse files
chore(copilot): sync tool catalog — deploy_custom_block requires name
1 parent d50681f commit 160c866

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,10 +834,11 @@ export const DeployCustomBlock: ToolCatalogEntry = {
834834
name: {
835835
type: 'string',
836836
description:
837-
'Display name for the block, max 60 characters (required on first publish; defaults to the existing block name when republishing)',
837+
'Display name for the block, max 60 characters. When republishing an existing block, pass the current name to keep it or a new name to rename.',
838838
},
839839
workflowId: { type: 'string', description: 'Workflow ID (defaults to active workflow)' },
840840
},
841+
required: ['name'],
841842
},
842843
resultSchema: {
843844
type: 'object',

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,13 +635,14 @@ export const TOOL_RUNTIME_SCHEMAS: Record<string, ToolRuntimeSchemaEntry> = {
635635
name: {
636636
type: 'string',
637637
description:
638-
'Display name for the block, max 60 characters (required on first publish; defaults to the existing block name when republishing)',
638+
'Display name for the block, max 60 characters. When republishing an existing block, pass the current name to keep it or a new name to rename.',
639639
},
640640
workflowId: {
641641
type: 'string',
642642
description: 'Workflow ID (defaults to active workflow)',
643643
},
644644
},
645+
required: ['name'],
645646
},
646647
resultSchema: {
647648
type: 'object',

0 commit comments

Comments
 (0)