pub struct TodoReadTool { /* private fields */ }Expand description
Tool for reading the current todo list.
Implementations§
Trait Implementations§
Source§impl Clone for TodoReadTool
impl Clone for TodoReadTool
Source§fn clone(&self) -> TodoReadTool
fn clone(&self) -> TodoReadTool
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 TodoReadTool
impl Debug for TodoReadTool
Source§impl Tool for TodoReadTool
impl Tool for TodoReadTool
Source§const NAME: &'static str = tool_names::TODO_READ
const NAME: &'static str = tool_names::TODO_READ
The name of the tool. This name should be unique.
Source§type Args = TodoReadArgs
type Args = TodoReadArgs
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 TodoReadTool
impl !RefUnwindSafe for TodoReadTool
impl Send for TodoReadTool
impl Sync for TodoReadTool
impl Unpin for TodoReadTool
impl !UnwindSafe for TodoReadTool
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