ToolUseData
Defined in: src/hooks/events.ts:104
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, id, or tool name before the tool executes.
Properties
Section titled “Properties”name: string;Defined in: src/hooks/events.ts:105
toolUseId
Section titled “toolUseId”toolUseId: string;Defined in: src/hooks/events.ts:106
input: JSONValue;Defined in: src/hooks/events.ts:107