pub struct SendUserFileTool;Expand description
SendUserFile tool - placeholder for sending user files Feature-gated (KAIROS) in TypeScript
Implementations§
Source§impl SendUserFileTool
impl SendUserFileTool
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 SendUserFileTool
impl Default for SendUserFileTool
Source§impl ToolRender for SendUserFileTool
impl ToolRender for SendUserFileTool
Auto Trait Implementations§
impl Freeze for SendUserFileTool
impl RefUnwindSafe for SendUserFileTool
impl Send for SendUserFileTool
impl Sync for SendUserFileTool
impl Unpin for SendUserFileTool
impl UnsafeUnpin for SendUserFileTool
impl UnwindSafe for SendUserFileTool
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