MCPcopy Create free account
hub / github.com/ShipSecAI/studio / getCredentialInputIds

Function getCredentialInputIds

packages/component-sdk/src/tool-helpers.ts:80–85  ·  view source on GitHub ↗
(component: ComponentDefinition)

Source from the content-addressed store, hash-verified

78 * These are inputs that should be pre-bound from the workflow, not exposed to the agent.
79 */
80export function getCredentialInputIds(component: ComponentDefinition): string[] {
81 const inputs = extractPorts(component.inputs);
82 return inputs
83 .filter(input => inferBindingType(input) === 'credential')
84 .map(input => input.id);
85}
86
87/**
88 * Get the IDs of all action inputs for a component.

Callers 3

compileWorkflowGraphFunction · 0.90

Calls 2

extractPortsFunction · 0.90
inferBindingTypeFunction · 0.85

Tested by

no test coverage detected