pub struct TeamDeleteTool;Expand description
TeamDelete tool - delete a team
Implementations§
Source§impl TeamDeleteTool
impl TeamDeleteTool
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 TeamDeleteTool
impl Default for TeamDeleteTool
Source§impl ToolRender for TeamDeleteTool
impl ToolRender for TeamDeleteTool
Auto Trait Implementations§
impl Freeze for TeamDeleteTool
impl RefUnwindSafe for TeamDeleteTool
impl Send for TeamDeleteTool
impl Sync for TeamDeleteTool
impl Unpin for TeamDeleteTool
impl UnsafeUnpin for TeamDeleteTool
impl UnwindSafe for TeamDeleteTool
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