pub struct RunSkillScript { /* private fields */ }Expand description
Tool to run a script from a skill’s scripts/ directory.
Implementations§
Trait Implementations§
Source§impl Tool for RunSkillScript
impl Tool for RunSkillScript
fn spec(&self) -> ToolSpec
fn execute<'life0, 'async_trait>(
&'life0 self,
arguments: Value,
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn is_readonly(&self) -> bool
fn is_readonly(&self) -> bool
Whether this tool only reads data without side effects.
Default: false (conservative). Override to true for read-only tools.
Auto Trait Implementations§
impl Freeze for RunSkillScript
impl RefUnwindSafe for RunSkillScript
impl Send for RunSkillScript
impl Sync for RunSkillScript
impl Unpin for RunSkillScript
impl UnsafeUnpin for RunSkillScript
impl UnwindSafe for RunSkillScript
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