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

Function extractPathFromOutputId

apps/sim/lib/core/utils/response-format.ts:142–144  ·  view source on GitHub ↗
(outputId: string, blockId: string)

Source from the content-addressed store, hash-verified

140 * Extract path from output ID after the block ID
141 */
142export function extractPathFromOutputId(outputId: string, blockId: string): string {
143 return outputId.substring(blockId.length + 1)
144}
145
146/**
147 * Parse JSON content from output safely

Callers 5

extractOutputFromLogsFunction · 0.90
extractFieldValuesFunction · 0.85
getSelectedFieldNamesFunction · 0.85
onBlockCompleteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected