pub struct ToolExecutionContext {
pub agent_id: String,
pub task_id: String,
pub metadata: HashMap<String, Value>,
}Expand description
Tool execution context for agents
This struct provides context for tool execution within an agent workflow.
Fields§
§agent_id: StringThe agent ID executing the tool
task_id: StringThe task ID associated with the tool execution
metadata: HashMap<String, Value>Additional metadata about the execution
Implementations§
Auto Trait Implementations§
impl Freeze for ToolExecutionContext
impl RefUnwindSafe for ToolExecutionContext
impl Send for ToolExecutionContext
impl Sync for ToolExecutionContext
impl Unpin for ToolExecutionContext
impl UnwindSafe for ToolExecutionContext
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