(agentType: AgentTemplateType)
| 35 | * subagent calls. Agent IDs remain hyphenated; tool names use underscores. |
| 36 | */ |
| 37 | export function getAgentToolName(agentType: AgentTemplateType): string { |
| 38 | return getAgentShortName(agentType).replace(/-/g, '_') |
| 39 | } |
| 40 | |
| 41 | /** |
| 42 | * Builds an input schema for an agent tool with prompt and params as top-level fields. |
no test coverage detected