Represents the result of executing an agent tool operation.
An optional error message describing the failure, if any.
An optional agent tool result.
Indicates whether the operation was successful.