pub struct HttpRequestTool;Expand description
HTTP request tool for making API calls
Implementations§
Trait Implementations§
Source§impl Default for HttpRequestTool
impl Default for HttpRequestTool
Source§impl Tool for HttpRequestTool
impl Tool for HttpRequestTool
Source§fn description(&self) -> &str
fn description(&self) -> &str
Tool description
Source§fn parameters_schema(&self) -> Value
fn parameters_schema(&self) -> Value
JSON schema for tool parameters
Source§fn requires_network(&self) -> bool
fn requires_network(&self) -> bool
Whether this tool requires network access.
Default is
true (conservative).
Override to false for local-only tools (e.g., file, calculator).Auto Trait Implementations§
impl Freeze for HttpRequestTool
impl RefUnwindSafe for HttpRequestTool
impl Send for HttpRequestTool
impl Sync for HttpRequestTool
impl Unpin for HttpRequestTool
impl UnsafeUnpin for HttpRequestTool
impl UnwindSafe for HttpRequestTool
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