pub struct MonitorTool;Expand description
Monitor tool - placeholder for system monitoring functionality TypeScript exports null (feature-gated/not implemented)
Implementations§
Source§impl MonitorTool
impl MonitorTool
pub fn new() -> Self
pub fn name(&self) -> &str
pub fn description(&self) -> &str
pub fn user_facing_name(&self, _input: Option<&Value>) -> String
pub fn get_tool_use_summary(&self, _input: Option<&Value>) -> Option<String>
pub fn render_tool_result_message(&self, content: &Value) -> Option<String>
pub fn input_schema(&self) -> ToolInputSchema
pub async fn execute( &self, _input: Value, _context: &ToolContext, ) -> Result<ToolResult, AgentError>
Trait Implementations§
Source§impl Default for MonitorTool
impl Default for MonitorTool
Source§impl ToolRender for MonitorTool
impl ToolRender for MonitorTool
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