MCPcopy
hub / github.com/codeaashu/claude-code / isBuiltInAgent

Function isBuiltInAgent

src/tools/AgentTool/loadAgentsDir.ts:168–172  ·  view source on GitHub ↗
(
  agent: AgentDefinition,
)

Source from the content-addressed store, hash-verified

166
167// Type guards for runtime type checking
168export function isBuiltInAgent(
169 agent: AgentDefinition,
170): agent is BuiltInAgentDefinition {
171 return agent.source === 'built-in'
172}
173
174export function isCustomAgent(
175 agent: AgentDefinition,

Callers 9

runFunction · 0.85
resumeAgentBackgroundFunction · 0.85
runAgentFunction · 0.85
callFunction · 0.85
AgentDetailFunction · 0.85
runHeadlessFunction · 0.85
handleInitializeRequestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected