pub struct ToolDisplay {
pub name: String,
pub description: String,
pub input_schema: Option<Value>,
pub output_schema: Option<Value>,
}Expand description
Tool information formatted for CLI display.
Contains tool information with optional schema details when detailed output is requested.
Fields§
§name: StringTool name
description: StringTool description
input_schema: Option<Value>Input schema (only included when detailed mode is enabled)
output_schema: Option<Value>Output schema (only included when detailed mode is enabled and available)
Trait Implementations§
Source§impl Clone for ToolDisplay
impl Clone for ToolDisplay
Source§fn clone(&self) -> ToolDisplay
fn clone(&self) -> ToolDisplay
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ToolDisplay
impl Debug for ToolDisplay
Auto Trait Implementations§
impl Freeze for ToolDisplay
impl RefUnwindSafe for ToolDisplay
impl Send for ToolDisplay
impl Sync for ToolDisplay
impl Unpin for ToolDisplay
impl UnsafeUnpin for ToolDisplay
impl UnwindSafe for ToolDisplay
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