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

Function isAgentCallable

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

Source from the content-addressed store, hash-verified

38 * Check if a component is configured as an agent-callable tool.
39 */
40export function isAgentCallable(component: ComponentDefinition): boolean {
41 return component.toolProvider?.kind === 'component';
42}
43
44/**
45 * Infer the binding type for a port based on its connection type.

Callers 4

serializeComponentFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected