Name of the tool as registered in the tools map.
Parsed arguments supplied by the model.
Optional resultReturn value from the tool's execute function (present on success).
Optional errorError message when the tool threw or returned a failure result.
Record of a single tool invocation performed during a generateText call. One record is appended per tool call, regardless of whether the call succeeded.