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
'Detailed deployment instructions. Include deployment type (api/chat/mcp) and ALL user-specified options: identifier, title, description, authType, password, allowedEmails, welcomeMessage, outputConfigs (block outputs to display).',
541
+
'Detailed deployment instructions. Include deployment type (api/chat/mcp/custom_block) and ALL user-specified options: identifier, title, description, authType, password, allowedEmails, welcomeMessage, outputConfigs (block outputs to display), and for custom blocks the block name, description, icon URL, and exposed outputs.',
description: 'Whether to publish (deploy) or unpublish (undeploy) the custom block',
788
+
enum: ['deploy','undeploy'],
789
+
default: 'deploy',
790
+
},
791
+
description: {
792
+
type: 'string',
793
+
description: 'Short description shown in the block picker, max 280 characters',
794
+
},
795
+
exposedOutputs: {
796
+
type: 'array',
797
+
description:
798
+
"Outputs the block exposes, each mapping a child block output path to a friendly name (use get_block_outputs for valid paths). Omit to expose the terminal block's whole result",
799
+
items: {
800
+
type: 'object',
801
+
properties: {
802
+
blockId: {type: 'string',description: 'Block UUID inside the workflow'},
803
+
name: {type: 'string',description: 'Friendly output name shown on the block'},
804
+
path: {
805
+
type: 'string',
806
+
description:
807
+
"Dot-path into that block's output (from get_block_outputs relativeOutputs)",
808
+
},
809
+
},
810
+
required: ['blockId','path','name'],
811
+
},
812
+
},
813
+
iconUrl: {
814
+
type: 'string',
815
+
description:
816
+
'Optional icon image for the block: a workspace file VFS path (e.g. "files/icon.png", copied into public icon storage at publish) or an external image URL. Omit to use the organization\'s default icon',
817
+
},
818
+
inputs: {
819
+
type: 'array',
820
+
description:
821
+
"Optional per-input placeholder overrides. Input names and types are derived from the workflow's input trigger and cannot be changed here",
822
+
items: {
823
+
type: 'object',
824
+
properties: {
825
+
id: {type: 'string',description: 'Stable id of the input trigger field'},
826
+
placeholder: {
827
+
type: 'string',
828
+
description: "Placeholder text shown in the block's input field",
829
+
},
830
+
},
831
+
required: ['id'],
832
+
},
833
+
},
834
+
name: {
835
+
type: 'string',
836
+
description:
837
+
'Display name for the block, max 60 characters (required on first publish; defaults to the existing block name when republishing)',
838
+
},
839
+
workflowId: {type: 'string',description: 'Workflow ID (defaults to active workflow)'},
840
+
},
841
+
},
842
+
resultSchema: {
843
+
type: 'object',
844
+
properties: {
845
+
action: {
846
+
type: 'string',
847
+
description: 'Action performed by the tool, such as "deploy" or "undeploy".',
848
+
},
849
+
blockId: {type: 'string',description: 'Custom block record ID.'},
850
+
blockType: {
851
+
type: 'string',
852
+
description: 'Stable block type slug (custom_block_*) used in workflow state.',
853
+
},
854
+
deploymentConfig: {
855
+
type: 'object',
856
+
description:
857
+
"Structured deployment configuration keyed by surface name. Includes the block's type, name, description, icon, derived input fields, and exposed outputs.",
858
+
},
859
+
deploymentStatus: {
860
+
type: 'object',
861
+
description:
862
+
'Structured per-surface deployment status keyed by surface name, including customBlock and the underlying api surface when applicable.',
863
+
},
864
+
deploymentType: {
865
+
type: 'string',
866
+
description:
867
+
'Deployment surface this result describes. For deploy_custom_block this is always "custom_block".',
868
+
},
869
+
isDeployed: {
870
+
type: 'boolean',
871
+
description: 'Whether the custom block is published after this tool call.',
872
+
},
873
+
name: {type: 'string',description: 'Display name of the custom block.'},
874
+
removed: {
875
+
type: 'boolean',
876
+
description: 'Whether the custom block was unpublished during an undeploy action.',
877
+
},
878
+
updated: {
879
+
type: 'boolean',
880
+
description: 'Whether an existing custom block was updated instead of created.',
881
+
},
882
+
workflowId: {type: 'string',description: 'Workflow ID the custom block is bound to.'},
'Detailed deployment instructions. Include deployment type (api/chat/mcp) and ALL user-specified options: identifier, title, description, authType, password, allowedEmails, welcomeMessage, outputConfigs (block outputs to display).',
321
+
'Detailed deployment instructions. Include deployment type (api/chat/mcp/custom_block) and ALL user-specified options: identifier, title, description, authType, password, allowedEmails, welcomeMessage, outputConfigs (block outputs to display), and for custom blocks the block name, description, icon URL, and exposed outputs.',
description: 'Whether to publish (deploy) or unpublish (undeploy) the custom block',
580
+
enum: ['deploy','undeploy'],
581
+
default: 'deploy',
582
+
},
583
+
description: {
584
+
type: 'string',
585
+
description: 'Short description shown in the block picker, max 280 characters',
586
+
},
587
+
exposedOutputs: {
588
+
type: 'array',
589
+
description:
590
+
"Outputs the block exposes, each mapping a child block output path to a friendly name (use get_block_outputs for valid paths). Omit to expose the terminal block's whole result",
591
+
items: {
592
+
type: 'object',
593
+
properties: {
594
+
blockId: {
595
+
type: 'string',
596
+
description: 'Block UUID inside the workflow',
597
+
},
598
+
name: {
599
+
type: 'string',
600
+
description: 'Friendly output name shown on the block',
601
+
},
602
+
path: {
603
+
type: 'string',
604
+
description:
605
+
"Dot-path into that block's output (from get_block_outputs relativeOutputs)",
606
+
},
607
+
},
608
+
required: ['blockId','path','name'],
609
+
},
610
+
},
611
+
iconUrl: {
612
+
type: 'string',
613
+
description:
614
+
'Optional icon image for the block: a workspace file VFS path (e.g. "files/icon.png", copied into public icon storage at publish) or an external image URL. Omit to use the organization\'s default icon',
615
+
},
616
+
inputs: {
617
+
type: 'array',
618
+
description:
619
+
"Optional per-input placeholder overrides. Input names and types are derived from the workflow's input trigger and cannot be changed here",
620
+
items: {
621
+
type: 'object',
622
+
properties: {
623
+
id: {
624
+
type: 'string',
625
+
description: 'Stable id of the input trigger field',
626
+
},
627
+
placeholder: {
628
+
type: 'string',
629
+
description: "Placeholder text shown in the block's input field",
630
+
},
631
+
},
632
+
required: ['id'],
633
+
},
634
+
},
635
+
name: {
636
+
type: 'string',
637
+
description:
638
+
'Display name for the block, max 60 characters (required on first publish; defaults to the existing block name when republishing)',
639
+
},
640
+
workflowId: {
641
+
type: 'string',
642
+
description: 'Workflow ID (defaults to active workflow)',
643
+
},
644
+
},
645
+
},
646
+
resultSchema: {
647
+
type: 'object',
648
+
properties: {
649
+
action: {
650
+
type: 'string',
651
+
description: 'Action performed by the tool, such as "deploy" or "undeploy".',
652
+
},
653
+
blockId: {
654
+
type: 'string',
655
+
description: 'Custom block record ID.',
656
+
},
657
+
blockType: {
658
+
type: 'string',
659
+
description: 'Stable block type slug (custom_block_*) used in workflow state.',
660
+
},
661
+
deploymentConfig: {
662
+
type: 'object',
663
+
description:
664
+
"Structured deployment configuration keyed by surface name. Includes the block's type, name, description, icon, derived input fields, and exposed outputs.",
665
+
},
666
+
deploymentStatus: {
667
+
type: 'object',
668
+
description:
669
+
'Structured per-surface deployment status keyed by surface name, including customBlock and the underlying api surface when applicable.',
670
+
},
671
+
deploymentType: {
672
+
type: 'string',
673
+
description:
674
+
'Deployment surface this result describes. For deploy_custom_block this is always "custom_block".',
675
+
},
676
+
isDeployed: {
677
+
type: 'boolean',
678
+
description: 'Whether the custom block is published after this tool call.',
679
+
},
680
+
name: {
681
+
type: 'string',
682
+
description: 'Display name of the custom block.',
683
+
},
684
+
removed: {
685
+
type: 'boolean',
686
+
description: 'Whether the custom block was unpublished during an undeploy action.',
687
+
},
688
+
updated: {
689
+
type: 'boolean',
690
+
description: 'Whether an existing custom block was updated instead of created.',
691
+
},
692
+
workflowId: {
693
+
type: 'string',
694
+
description: 'Workflow ID the custom block is bound to.',
0 commit comments