pub struct ReadLinksTool;Trait Implementations§
Source§impl Default for ReadLinksTool
impl Default for ReadLinksTool
Source§fn default() -> ReadLinksTool
fn default() -> ReadLinksTool
Returns the “default value” for a type. Read more
Source§impl Tool for ReadLinksTool
impl Tool for ReadLinksTool
Source§type Params = ReadLinksParams
type Params = ReadLinksParams
Associated parameter type for this tool
Source§fn execute_typed(
&self,
_params: ReadLinksParams,
context: &mut ToolContext<'_>,
) -> Result<ToolResult>
fn execute_typed( &self, _params: ReadLinksParams, context: &mut ToolContext<'_>, ) -> Result<ToolResult>
Execute the tool with strongly-typed parameters
Source§fn parameters_schema(&self) -> Value
fn parameters_schema(&self) -> Value
Get tool parameter schema (JSON Schema)
Source§fn execute(
&self,
params: Value,
context: &mut ToolContext<'_>,
) -> Result<ToolResult>
fn execute( &self, params: Value, context: &mut ToolContext<'_>, ) -> Result<ToolResult>
Execute the tool with JSON parameters (default implementation)
Auto Trait Implementations§
impl Freeze for ReadLinksTool
impl RefUnwindSafe for ReadLinksTool
impl Send for ReadLinksTool
impl Sync for ReadLinksTool
impl Unpin for ReadLinksTool
impl UnwindSafe for ReadLinksTool
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