ToolCallData
Defined in the streaming module.Rust AI Agent SDK Tool call data for streaming events.
Fields
| Name | Type | Description |
|---|---|---|
name | String | Tool name |
arguments | String | Tool arguments (partial JSON) |
id | Option<String> | Tool call ID |
index | Option<usize> | Index in the tool calls array |
Methods
new
| Name | Type |
|---|---|
name | impl Into<String> |
arguments
| Name | Type |
|---|---|
args | impl Into<String> |
id
| Name | Type |
|---|---|
id | impl Into<String> |
Source
View on GitHub
praisonai/src/streaming/mod.rs at line 78
