ReadonlytypeDiscriminator for tool result content.
ReadonlytoolThe ID of the tool use that this result corresponds to.
ReadonlystatusStatus of the tool execution.
ReadonlycontentThe content returned by the tool.
Optional ReadonlyerrorThe 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.
Tool result content block.