Get the trusted results from a run
Arguments
- result
An AgentResult.
- type
Optional result type.
NULLreturns results of every type.
Value
A list of "trusted_result" AgentEvents. Each has result_id,
result_type, tool_name, tool_call_id, arguments, the tool's
unchanged value, and the run's IDs.