MCPcopy Create free account
hub / github.com/Superflows-AI/superflows / getRequiredParams

Function getRequiredParams

lib/edge-runtime/missingParamCorrection.ts:87–94  ·  view source on GitHub ↗
(action: Action)

Source from the content-addressed store, hash-verified

85}
86
87function getRequiredParams(action: Action): string[] {
88 if (!action.parameters) return [];
89 const actionParameters =
90 action.parameters as unknown as OpenAPIV3_1.ParameterObject[];
91 return actionParameters
92 .filter((param) => param.required)
93 .map((param) => param.name);
94}

Callers 1

getMissingArgCorrectionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected