pub struct SessionToolCallDeltaAction {
pub turn_id: String,
pub tool_call_id: String,
pub meta: Option<JsonObject>,
pub content: String,
pub invocation_message: Option<StringOrMarkdown>,
}Expand description
Streaming partial parameters for a tool call.
Fields§
§turn_id: StringTurn identifier
tool_call_id: StringTool call identifier
meta: Option<JsonObject>Additional provider-specific metadata for this tool call.
Clients MAY look for well-known keys here to provide enhanced UI.
For example, a ptyTerminal key with { input: string; output: string }
indicates the tool operated on a terminal (both input and output may
contain escape sequences).
content: StringPartial parameter content to append
invocation_message: Option<StringOrMarkdown>Updated progress message
Trait Implementations§
Source§impl Clone for SessionToolCallDeltaAction
impl Clone for SessionToolCallDeltaAction
Source§fn clone(&self) -> SessionToolCallDeltaAction
fn clone(&self) -> SessionToolCallDeltaAction
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 SessionToolCallDeltaAction
impl Debug for SessionToolCallDeltaAction
Source§impl<'de> Deserialize<'de> for SessionToolCallDeltaAction
impl<'de> Deserialize<'de> for SessionToolCallDeltaAction
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 SessionToolCallDeltaAction
impl PartialEq for SessionToolCallDeltaAction
Source§fn eq(&self, other: &SessionToolCallDeltaAction) -> bool
fn eq(&self, other: &SessionToolCallDeltaAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SessionToolCallDeltaAction
Auto Trait Implementations§
impl Freeze for SessionToolCallDeltaAction
impl RefUnwindSafe for SessionToolCallDeltaAction
impl Send for SessionToolCallDeltaAction
impl Sync for SessionToolCallDeltaAction
impl Unpin for SessionToolCallDeltaAction
impl UnsafeUnpin for SessionToolCallDeltaAction
impl UnwindSafe for SessionToolCallDeltaAction
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