MCPcopy Index your code
hub / github.com/simstudioai/sim / getDeployedWorkflowInputFormat

Function getDeployedWorkflowInputFormat

apps/sim/lib/mcp/workflow-mcp-sync.ts:140–146  ·  view source on GitHub ↗
(
  workflowId: string
)

Source from the content-addressed store, hash-verified

138 * build a parameter schema from the same input source the deploy modal uses.
139 */
140export async function getDeployedWorkflowInputFormat(
141 workflowId: string
142): Promise<InputFormatField[]> {
143 const deployed = await loadDeployedWorkflowState(workflowId)
144 if (!deployed?.blocks) return []
145 return extractInputFormatFromBlocks(deployed.blocks as Record<string, unknown>) ?? []
146}
147
148interface SyncOptionsBase {
149 workflowId: string

Callers 1

executeDeployMcpFunction · 0.90

Calls 2

Tested by

no test coverage detected