pub struct GetMarkdownTool;Trait Implementations§
Source§impl Default for GetMarkdownTool
impl Default for GetMarkdownTool
Source§fn default() -> GetMarkdownTool
fn default() -> GetMarkdownTool
Returns the “default value” for a type. Read more
Source§impl Tool for GetMarkdownTool
impl Tool for GetMarkdownTool
Source§type Params = GetMarkdownParams
type Params = GetMarkdownParams
Associated parameter type for this tool
Source§fn execute_typed(
&self,
params: GetMarkdownParams,
context: &mut ToolContext<'_>,
) -> Result<ToolResult>
fn execute_typed( &self, params: GetMarkdownParams, 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 GetMarkdownTool
impl RefUnwindSafe for GetMarkdownTool
impl Send for GetMarkdownTool
impl Sync for GetMarkdownTool
impl Unpin for GetMarkdownTool
impl UnwindSafe for GetMarkdownTool
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