pub struct ConfigTool;Expand description
Config tool - read and update dynamic configuration
Implementations§
Source§impl ConfigTool
impl ConfigTool
pub fn new() -> Self
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 ConfigTool
impl RefUnwindSafe for ConfigTool
impl Send for ConfigTool
impl Sync for ConfigTool
impl Unpin for ConfigTool
impl UnsafeUnpin for ConfigTool
impl UnwindSafe for ConfigTool
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