pub struct DynamicToolCallParams {
pub thread_id: String,
pub turn_id: String,
pub call_id: String,
pub namespace: Option<String>,
pub tool: String,
pub arguments: Value,
}Expand description
Parameters identifying a dynamic tool call request emitted by the runtime.
This is the typed payload for tool_call.requested events and also the
natural identifier used when the runtime looks up a pending call.
Fields§
§thread_id: String§turn_id: String§call_id: String§namespace: Option<String>Optional namespace that was registered with the tool.
tool: StringTool name that the model invoked.
arguments: ValueArguments supplied by the model, validated against input_schema.
Trait Implementations§
Source§impl Clone for DynamicToolCallParams
impl Clone for DynamicToolCallParams
Source§fn clone(&self) -> DynamicToolCallParams
fn clone(&self) -> DynamicToolCallParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DynamicToolCallParams
impl Debug for DynamicToolCallParams
Source§impl<'de> Deserialize<'de> for DynamicToolCallParams
impl<'de> Deserialize<'de> for DynamicToolCallParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DynamicToolCallParams
impl PartialEq for DynamicToolCallParams
Source§fn eq(&self, other: &DynamicToolCallParams) -> bool
fn eq(&self, other: &DynamicToolCallParams) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DynamicToolCallParams
impl Serialize for DynamicToolCallParams
impl StructuralPartialEq for DynamicToolCallParams
Auto Trait Implementations§
impl Freeze for DynamicToolCallParams
impl RefUnwindSafe for DynamicToolCallParams
impl Send for DynamicToolCallParams
impl Sync for DynamicToolCallParams
impl Unpin for DynamicToolCallParams
impl UnsafeUnpin for DynamicToolCallParams
impl UnwindSafe for DynamicToolCallParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more