pub struct ToolSchema {
pub name: String,
pub description: String,
pub parameters: Value,
}Expand description
Common tool metadata extracted from AgentTool instances.
Used by adapters to avoid duplicating the name / description /
parameters mapping before wrapping in provider-specific types.
Fields§
§name: String§description: String§parameters: ValueAuto Trait Implementations§
impl Freeze for ToolSchema
impl RefUnwindSafe for ToolSchema
impl Send for ToolSchema
impl Sync for ToolSchema
impl Unpin for ToolSchema
impl UnsafeUnpin for ToolSchema
impl UnwindSafe for ToolSchema
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