The ID of the tool use that this result corresponds to.
Status of the tool execution.
The content returned by the tool.
OptionalerrorThe original error object when status is 'error'. Available for inspection by hooks, error handlers, and event loop. Tools must wrap non-Error thrown values into Error objects.
Data for a tool result block.