pub struct CallableTool {
pub name: String,
pub description: String,
pub input_schema: Value,
pub result: Option<String>,
}Expand description
A tool another tool can call by name.
Fields§
§name: String§description: String§input_schema: Value§result: Option<String>See ToolSpec::code_result.
Trait Implementations§
Source§impl Clone for CallableTool
impl Clone for CallableTool
Auto Trait Implementations§
impl Forget for CallableTool
impl Freeze for CallableTool
impl Move for CallableTool
impl RefUnwindSafe for CallableTool
impl Send for CallableTool
impl Sync for CallableTool
impl Unpin for CallableTool
impl UnsafeUnpin for CallableTool
impl UnwindSafe for CallableTool
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