pub struct ThinkingTool { /* private fields */ }Expand description
Tool for structured thinking and reasoning with comprehensive features
Implementations§
Source§impl ThinkingTool
impl ThinkingTool
Trait Implementations§
Source§impl Default for ThinkingTool
impl Default for ThinkingTool
Source§impl Tool for ThinkingTool
impl Tool for ThinkingTool
Source§fn description(&self) -> &str
fn description(&self) -> &str
Get the description of the tool
Source§fn parameters_schema(&self) -> Value
fn parameters_schema(&self) -> Value
Get the JSON schema for the tool’s parameters
Source§fn execute<'life0, 'async_trait>(
&'life0 self,
call: ToolCall,
) -> Pin<Box<dyn Future<Output = Result<ToolResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute<'life0, 'async_trait>(
&'life0 self,
call: ToolCall,
) -> Pin<Box<dyn Future<Output = Result<ToolResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Execute the tool with the given parameters
Source§fn examples(&self) -> Vec<ToolExample>
fn examples(&self) -> Vec<ToolExample>
Get examples of how to use this tool
Source§fn requires_confirmation(&self) -> bool
fn requires_confirmation(&self) -> bool
Check if the tool requires special permissions
Auto Trait Implementations§
impl Freeze for ThinkingTool
impl RefUnwindSafe for ThinkingTool
impl Send for ThinkingTool
impl Sync for ThinkingTool
impl Unpin for ThinkingTool
impl UnwindSafe for ThinkingTool
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