pub struct ParsedToolFile {
pub name: String,
pub typescript_name: String,
pub server_id: String,
pub category: Option<String>,
pub keywords: Vec<String>,
pub description: Option<String>,
pub parameters: Vec<ParsedParameter>,
}Expand description
Parsed metadata from a TypeScript tool file.
Fields§
§name: StringOriginal MCP tool name (from @tool tag).
typescript_name: StringTypeScript function name (PascalCase filename).
server_id: StringServer identifier (from @server tag).
category: Option<String>Category for grouping (from @category tag).
keywords: Vec<String>Keywords for discovery (from @keywords tag).
description: Option<String>Tool description (from @description tag).
parameters: Vec<ParsedParameter>Parsed parameters from TypeScript interface.
Trait Implementations§
Source§impl Clone for ParsedToolFile
impl Clone for ParsedToolFile
Source§fn clone(&self) -> ParsedToolFile
fn clone(&self) -> ParsedToolFile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ParsedToolFile
impl RefUnwindSafe for ParsedToolFile
impl Send for ParsedToolFile
impl Sync for ParsedToolFile
impl Unpin for ParsedToolFile
impl UnwindSafe for ParsedToolFile
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