ToolCallResult
Defined in the eval module.Rust AI Agent SDK Result of a tool call during evaluation.
Fields
| Name | Type | Description |
|---|---|---|
name | String | Tool name |
expected | bool | Whether the call was expected |
called | bool | Whether the call was made |
arguments | Option<serde_json::Value> | Arguments used |
result | Option<serde_json::Value> | Result returned |
Methods
new
| Name | Type |
|---|---|
name | impl Into<String> |
expected | bool |
called | bool |
is_correct
Source
View on GitHub
praisonai/src/eval/mod.rs at line 146
