pub struct ToolSpec {Show 13 fields
pub name: String,
pub aliases: Vec<String>,
pub category: Option<String>,
pub subcategory: Option<String>,
pub tags: Vec<String>,
pub summary: Option<String>,
pub description: Option<String>,
pub params: Vec<ParamSpec>,
pub returns: Option<ReturnSpec>,
pub examples: Vec<ExampleSpec>,
pub related: Vec<String>,
pub since: Option<String>,
pub stability: Option<String>,
}Expand description
Tool specification
Fields§
§name: StringTool name (required)
aliases: Vec<String>Alternative names/aliases
category: Option<String>Primary category
subcategory: Option<String>Subcategory within the primary category
Tags for filtering and search
summary: Option<String>Short summary (for search results)
description: Option<String>Full description
params: Vec<ParamSpec>Parameter definitions
returns: Option<ReturnSpec>Return type information
examples: Vec<ExampleSpec>Usage examples
Related tools (author-declared relationships)
since: Option<String>Version when tool was added
stability: Option<String>Stability level (stable, beta, deprecated)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ToolSpec
impl<'de> Deserialize<'de> for ToolSpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ToolSpec
impl RefUnwindSafe for ToolSpec
impl Send for ToolSpec
impl Sync for ToolSpec
impl Unpin for ToolSpec
impl UnwindSafe for ToolSpec
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more