pub struct WriteHandoverTool;Trait Implementations§
Source§impl ToolLike for WriteHandoverTool
impl ToolLike for WriteHandoverTool
Source§fn description(&self) -> &str
fn description(&self) -> &str
Human-readable description shown to the model.
Source§fn input_schema(&self) -> Value
fn input_schema(&self) -> Value
JSON Schema describing the tool’s arguments.
Source§fn is_read_only(&self) -> bool
fn is_read_only(&self) -> bool
Whether this tool has no side effects. Read-only tools in the same
step run concurrently; non-read-only tools run serially. Default:
false.Source§fn call<'a>(
&'a self,
input: Value,
ctx: &'a ToolContext,
) -> Pin<Box<dyn Future<Output = ProviderResult<ToolResult>> + Send + 'a>>
fn call<'a>( &'a self, input: Value, ctx: &'a ToolContext, ) -> Pin<Box<dyn Future<Output = ProviderResult<ToolResult>> + Send + 'a>>
Run the tool. The future is held by the agent loop and dropped on
cancellation; pair long-running work with
ToolContext::wait_for_cancel
in a tokio::select! to drop the losing branch promptly.Source§fn should_defer(&self) -> bool
fn should_defer(&self) -> bool
Whether the tool’s full definition is hidden until it is discovered
via
ToolSearchTool. Deferred tools appear to the model as
name-only stubs. Default: false.Auto Trait Implementations§
impl Freeze for WriteHandoverTool
impl RefUnwindSafe for WriteHandoverTool
impl Send for WriteHandoverTool
impl Sync for WriteHandoverTool
impl Unpin for WriteHandoverTool
impl UnsafeUnpin for WriteHandoverTool
impl UnwindSafe for WriteHandoverTool
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