pub struct ToolPreparationRequest {
pub identity: ToolInvocationIdentityV1,
pub call: ToolCall,
}Expand description
Tool execution for the tool transition.
Cancellation ownership mirrors Completion: the host token is a
parameter, the runner observes it, and the harness never races the call.
A cancelled call returns a cancelled output value that lands as the
tool.result fact.
Fields§
§identity: ToolInvocationIdentityV1§call: ToolCallTrait Implementations§
Source§impl Clone for ToolPreparationRequest
impl Clone for ToolPreparationRequest
Auto Trait Implementations§
impl Freeze for ToolPreparationRequest
impl RefUnwindSafe for ToolPreparationRequest
impl Send for ToolPreparationRequest
impl Sync for ToolPreparationRequest
impl Unpin for ToolPreparationRequest
impl UnsafeUnpin for ToolPreparationRequest
impl UnwindSafe for ToolPreparationRequest
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