pub struct SkillsInvokedSkill {
pub allowed_tools: Option<Vec<String>>,
pub content: String,
pub invoked_at_turn: i64,
pub name: String,
pub path: String,
}Expand description
Schema for the SkillsInvokedSkill type.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§allowed_tools: Option<Vec<String>>Tools that should be auto-approved when this skill is active, captured at invocation time
content: StringFull content of the skill file
invoked_at_turn: i64Turn number when the skill was invoked
name: StringUnique identifier for the skill
path: StringPath to the SKILL.md file
Trait Implementations§
Source§impl Clone for SkillsInvokedSkill
impl Clone for SkillsInvokedSkill
Source§fn clone(&self) -> SkillsInvokedSkill
fn clone(&self) -> SkillsInvokedSkill
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 SkillsInvokedSkill
impl Debug for SkillsInvokedSkill
Source§impl Default for SkillsInvokedSkill
impl Default for SkillsInvokedSkill
Source§fn default() -> SkillsInvokedSkill
fn default() -> SkillsInvokedSkill
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SkillsInvokedSkill
impl<'de> Deserialize<'de> for SkillsInvokedSkill
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 SkillsInvokedSkill
impl RefUnwindSafe for SkillsInvokedSkill
impl Send for SkillsInvokedSkill
impl Sync for SkillsInvokedSkill
impl Unpin for SkillsInvokedSkill
impl UnsafeUnpin for SkillsInvokedSkill
impl UnwindSafe for SkillsInvokedSkill
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