MCPcopy Create free account
hub / github.com/codeaashu/claude-code / toAutoClassifierInput

Function toAutoClassifierInput

src/tools/AgentTool/AgentTool.tsx:1267–1272  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

1265 return true; // delegates permission checks to its underlying tools
1266 },
1267 toAutoClassifierInput(input) {
1268 const i = input as AgentToolInput;
1269 const tags = [i.subagent_type, i.mode ? `mode=${i.mode}` : undefined].filter((t): t is string => t !== undefined);
1270 const prefix = tags.length > 0 ? `(${tags.join(', ')}): ` : ': ';
1271 return `${prefix}${i.prompt}`;
1272 },
1273 isConcurrencySafe() {
1274 return true;
1275 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected