pub struct ExecuteSkillRequest {Show 13 fields
pub skill: String,
pub tool: String,
pub instance: String,
pub args: HashMap<String, Value>,
pub max_output: Option<usize>,
pub truncate: Option<String>,
pub grep: Option<String>,
pub grep_invert: Option<bool>,
pub head: Option<usize>,
pub tail: Option<usize>,
pub format: Option<String>,
pub jq: Option<String>,
pub include_metadata: Option<bool>,
}Expand description
Request to execute a skill tool with context engineering features
Fields§
§skill: StringThe skill name (e.g., “kubernetes”, “aws”)
tool: StringThe tool name within the skill (e.g., “get”, “describe”)
instance: StringInstance name (default: “default”)
args: HashMap<String, Value>Tool arguments as JSON object
max_output: Option<usize>Maximum tokens/characters in output (default: unlimited) Use this to prevent context overflow from large outputs
truncate: Option<String>Truncation strategy when max_output is exceeded
grep: Option<String>Grep/filter pattern to extract relevant lines from output
grep_invert: Option<bool>Invert grep match (like grep -v)
head: Option<usize>Return only first N lines (like head -n)
tail: Option<usize>Return only last N lines (like tail -n)
format: Option<String>Output format transformation
jq: Option<String>JSON path to extract (when output is JSON)
include_metadata: Option<bool>Include metadata about the execution
Trait Implementations§
Source§impl Debug for ExecuteSkillRequest
impl Debug for ExecuteSkillRequest
Source§impl<'de> Deserialize<'de> for ExecuteSkillRequest
impl<'de> Deserialize<'de> for ExecuteSkillRequest
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
Source§impl JsonSchema for ExecuteSkillRequest
impl JsonSchema for ExecuteSkillRequest
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 moreAuto Trait Implementations§
impl Freeze for ExecuteSkillRequest
impl RefUnwindSafe for ExecuteSkillRequest
impl Send for ExecuteSkillRequest
impl Sync for ExecuteSkillRequest
impl Unpin for ExecuteSkillRequest
impl UnwindSafe for ExecuteSkillRequest
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> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
Source§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self file descriptor.Source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
Source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
Set the “status” flags for the
self file descriptor. Read moreSource§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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