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

Function getToolResultErrorMessage

apps/sim/lib/copilot/request/handlers/types.ts:280–284  ·  view source on GitHub ↗
(
  data: MothershipStreamV1ToolResultPayload | undefined
)

Source from the content-addressed store, hash-verified

278}
279
280export function getToolResultErrorMessage(
281 data: MothershipStreamV1ToolResultPayload | undefined
282): string | undefined {
283 return data?.error
284}
285
286export function inferToolSuccess(data: MothershipStreamV1ToolResultPayload | undefined): {
287 success: boolean

Callers 2

handleResultPhaseFunction · 0.90
inferToolSuccessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected