pub struct AgentToolProgressPayload {
pub node_id: String,
pub parent_tool_call_id: String,
pub agent_tool_name: String,
pub inner_tool_name: String,
pub inner_tool_args: String,
pub status: String,
pub duration_ms: i64,
pub started_at: i64,
pub is_thinking: bool,
}Expand description
Payload of an agent_tool_progress SSE event, emitted for each inner
tool call the delegated Agent makes.
Fields§
§node_id: StringID of the calling node
parent_tool_call_id: Stringtool_use_id of the owning AgentToolStarted event
agent_tool_name: StringIdentifier of the Agent being called
inner_tool_name: StringName of the inner tool the delegated Agent called
inner_tool_args: StringArguments of that inner call, as a JSON string
status: StringStatus of the inner call: running / succeeded / failed
duration_ms: i64Duration of the inner call in milliseconds
started_at: i64Start time, Unix timestamp in seconds
is_thinking: booltrue if during the thinking phase
Trait Implementations§
Source§impl Clone for AgentToolProgressPayload
impl Clone for AgentToolProgressPayload
Source§fn clone(&self) -> AgentToolProgressPayload
fn clone(&self) -> AgentToolProgressPayload
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 AgentToolProgressPayload
impl Debug for AgentToolProgressPayload
Source§impl Default for AgentToolProgressPayload
impl Default for AgentToolProgressPayload
Source§fn default() -> AgentToolProgressPayload
fn default() -> AgentToolProgressPayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentToolProgressPayload
impl<'de> Deserialize<'de> for AgentToolProgressPayload
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
Auto Trait Implementations§
impl Freeze for AgentToolProgressPayload
impl RefUnwindSafe for AgentToolProgressPayload
impl Send for AgentToolProgressPayload
impl Sync for AgentToolProgressPayload
impl Unpin for AgentToolProgressPayload
impl UnsafeUnpin for AgentToolProgressPayload
impl UnwindSafe for AgentToolProgressPayload
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more