pub struct SkillInvokedRefData {
pub allowed_tools: Option<Vec<String>>,
pub content_id: String,
pub content_length: i64,
pub description: Option<String>,
pub disable_model_invocation: Option<bool>,
pub model: Option<String>,
pub name: String,
pub path: String,
pub plugin_name: Option<String>,
pub plugin_version: Option<String>,
pub source: Option<String>,
pub trigger: Option<SkillInvokedTrigger>,
}Expand description
Session event “skill.invoked_ref”. Internal durable skill invocation receipt whose content resolves from an earlier inline skill event in the same session.
Fields§
§allowed_tools: Option<Vec<String>>Tool names that should be auto-approved when this skill is active
content_id: StringContent identifier of an earlier inline skill event in this session, in the prefixed form sha256:<lowercase hex digest> over the UTF-8 bytes of that event’s content
content_length: i64UTF-16 code unit length of the referenced skill content. Derived from the referenced body and validated against it when the reference is expanded; a reference whose length disagrees with the body it names is rejected instead of expanded
description: Option<String>Description of the skill from its SKILL.md frontmatter
disable_model_invocation: Option<bool>Whether model invocation is disabled for this skill
model: Option<String>Model identifier active when the skill was invoked, when known
name: StringName of the invoked skill
path: StringFile path to the SKILL.md definition, or an empty string for an SDK-provided skill without a filesystem identity
plugin_name: Option<String>Name of the plugin this skill originated from, when applicable
plugin_version: Option<String>Version of the plugin this skill originated from, when applicable
source: Option<String>Source identifier for where the skill was discovered
trigger: Option<SkillInvokedTrigger>What triggered the skill invocation
Trait Implementations§
Source§impl Clone for SkillInvokedRefData
impl Clone for SkillInvokedRefData
Source§fn clone(&self) -> SkillInvokedRefData
fn clone(&self) -> SkillInvokedRefData
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more