Skip to main content
Classify a tool call from whichever encoding the agent used: the local CLI’s inferenceToolName + typed rawInput, or the cloud’s eventType
  • _meta details, with the ACP kind as the last resort.

Parameters

{ kind: undefined | string; meta: Record<string, unknown>; rawInput: unknown }
required

Returns

ToolCallDetail