pub struct MonitorTool;Expand description
Monitor tool - placeholder for system monitoring functionality Returns null in TypeScript (feature-gated)
Implementations§
Source§impl MonitorTool
impl MonitorTool
pub fn new() -> Self
pub fn name(&self) -> &str
pub fn description(&self) -> &str
pub fn input_schema(&self) -> ToolInputSchema
pub async fn execute( &self, _input: Value, _context: &ToolContext, ) -> Result<ToolResult, AgentError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MonitorTool
impl RefUnwindSafe for MonitorTool
impl Send for MonitorTool
impl Sync for MonitorTool
impl Unpin for MonitorTool
impl UnsafeUnpin for MonitorTool
impl UnwindSafe for MonitorTool
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