pub struct TodoWriteTool { /* private fields */ }Expand description
Tool for writing/replacing the todo list.
Implementations§
Trait Implementations§
Source§impl Clone for TodoWriteTool
impl Clone for TodoWriteTool
Source§fn clone(&self) -> TodoWriteTool
fn clone(&self) -> TodoWriteTool
Returns a duplicate of the value. Read more
1.0.0 · 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 TodoWriteTool
impl Debug for TodoWriteTool
Source§impl Tool for TodoWriteTool
impl Tool for TodoWriteTool
Source§const NAME: &'static str = tool_names::TODO_WRITE
const NAME: &'static str = tool_names::TODO_WRITE
The name of the tool. This name should be unique.
Source§type Args = TodoWriteArgs
type Args = TodoWriteArgs
The arguments type of the tool.
Source§type Output = ToolOutput
type Output = ToolOutput
The output type of the tool.
Source§async fn definition(&self, _prompt: String) -> ToolDefinition
async fn definition(&self, _prompt: String) -> ToolDefinition
A method returning the tool definition. The user prompt can be used to
tailor the definition to the specific use case.
Auto Trait Implementations§
impl Freeze for TodoWriteTool
impl !RefUnwindSafe for TodoWriteTool
impl Send for TodoWriteTool
impl Sync for TodoWriteTool
impl Unpin for TodoWriteTool
impl !UnwindSafe for TodoWriteTool
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