MCPcopy Create free account
hub / github.com/Noumena-Network/code / formatActionForClassifier

Function formatActionForClassifier

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

Source from the content-addressed store, hash-verified

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

Callers 1

hasPermissionsToUseToolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected