pub struct GetClickableElementsTool;Expand description
Tool for getting all clickable/interactive elements on the page
Trait Implementations§
Source§impl Default for GetClickableElementsTool
impl Default for GetClickableElementsTool
Source§fn default() -> GetClickableElementsTool
fn default() -> GetClickableElementsTool
Returns the “default value” for a type. Read more
Source§impl Tool for GetClickableElementsTool
impl Tool for GetClickableElementsTool
Source§type Params = GetClickableElementsParams
type Params = GetClickableElementsParams
Associated parameter type for this tool
Source§fn execute_typed(
&self,
_params: GetClickableElementsParams,
context: &mut ToolContext<'_>,
) -> Result<ToolResult>
fn execute_typed( &self, _params: GetClickableElementsParams, 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 GetClickableElementsTool
impl RefUnwindSafe for GetClickableElementsTool
impl Send for GetClickableElementsTool
impl Sync for GetClickableElementsTool
impl Unpin for GetClickableElementsTool
impl UnwindSafe for GetClickableElementsTool
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