pub struct ToolExecutionStartEvent {
pub runtime_context: Option<JsonValue>,
pub call_id: String,
pub tool_call_id: ToolCallId,
pub tool_name: ToolName,
pub input: Option<JsonValue>,
}Expand description
A tool execution is about to start.
Fields§
§runtime_context: Option<JsonValue>Application runtime state (available to hooks; telemetry requires include_runtime_context).
call_id: StringCall id.
tool_call_id: ToolCallIdTool call id.
tool_name: ToolNameTool name.
input: Option<JsonValue>Input (only when record_inputs).
Trait Implementations§
Source§impl Clone for ToolExecutionStartEvent
impl Clone for ToolExecutionStartEvent
Source§fn clone(&self) -> ToolExecutionStartEvent
fn clone(&self) -> ToolExecutionStartEvent
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 moreAuto Trait Implementations§
impl Freeze for ToolExecutionStartEvent
impl RefUnwindSafe for ToolExecutionStartEvent
impl Send for ToolExecutionStartEvent
impl Sync for ToolExecutionStartEvent
impl Unpin for ToolExecutionStartEvent
impl UnsafeUnpin for ToolExecutionStartEvent
impl UnwindSafe for ToolExecutionStartEvent
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