MCPcopy Index your code
hub / github.com/codeaashu/claude-code / formatActionForClassifier

Function formatActionForClassifier

src/utils/permissions/yoloClassifier.ts:1487–1495  ·  view source on GitHub ↗
(
  toolName: string,
  toolInput: unknown,
)

Source from the content-addressed store, hash-verified

1485 * fields get exposed via its `toAutoClassifierInput` implementation.
1486 */
1487export function formatActionForClassifier(
1488 toolName: string,
1489 toolInput: unknown,
1490): TranscriptEntry {
1491 return {
1492 role: 'assistant',
1493 content: [{ type: 'tool_use', name: toolName, input: toolInput }],
1494 }
1495}
1496

Callers 1

hasPermissionsToUseToolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected