ToolUseData
Defined in: src/hooks/events.ts:107
Mutable tool-use descriptor carried on tool-call hook events. Matches the shape of the tool use block the model emitted; hooks on BeforeToolCallEvent may mutate its fields (or reassign the object) to rewrite the input or tool name before the tool executes. The model-issued tool-use ID remains the authoritative provider correlation key.
Properties
Section titled “Properties”name: string;Defined in: src/hooks/events.ts:108
toolUseId
Section titled “toolUseId”toolUseId: string;Defined in: src/hooks/events.ts:109
input: JSONValue;Defined in: src/hooks/events.ts:110