pub struct GenerateSkillResult {
pub server_id: String,
pub skill_name: String,
pub server_description: Option<String>,
pub categories: Vec<SkillCategory>,
pub tool_count: usize,
pub example_tools: Vec<ToolExample>,
pub generation_prompt: String,
pub output_path: String,
}Expand description
Result from generate_skill tool.
Contains all context Claude needs to generate optimal SKILL.md content.
Fields§
§server_id: StringServer identifier.
skill_name: StringSuggested skill name.
server_description: Option<String>Server description (inferred from tools).
categories: Vec<SkillCategory>Tools grouped by category.
tool_count: usizeTotal tool count.
example_tools: Vec<ToolExample>Example tool usages (for documentation).
generation_prompt: StringPrompt template for skill generation.
Claude uses this prompt to generate SKILL.md content.
output_path: StringOutput path for the skill file.
Trait Implementations§
Source§impl Clone for GenerateSkillResult
impl Clone for GenerateSkillResult
Source§fn clone(&self) -> GenerateSkillResult
fn clone(&self) -> GenerateSkillResult
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 moreSource§impl Debug for GenerateSkillResult
impl Debug for GenerateSkillResult
Source§impl JsonSchema for GenerateSkillResult
impl JsonSchema for GenerateSkillResult
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Serialize for GenerateSkillResult
impl Serialize for GenerateSkillResult
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for GenerateSkillResult
impl RefUnwindSafe for GenerateSkillResult
impl Send for GenerateSkillResult
impl Sync for GenerateSkillResult
impl Unpin for GenerateSkillResult
impl UnwindSafe for GenerateSkillResult
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