pub struct WorkspaceToolSet { /* private fields */ }Expand description
Standard Workspace Tool composition for an Agent Definition.
read_only is suitable for Skill + Workspace agents. read_write adds one
bounded write Tool, and with_command_execution explicitly opts into the
higher-risk process capability. Caller capability filtering remains
authoritative at execution time.
Implementations§
Source§impl WorkspaceToolSet
impl WorkspaceToolSet
pub fn read_only() -> Self
pub fn read_write() -> Self
pub fn with_command_execution(self) -> Self
Auto Trait Implementations§
impl Freeze for WorkspaceToolSet
impl RefUnwindSafe for WorkspaceToolSet
impl Send for WorkspaceToolSet
impl Sync for WorkspaceToolSet
impl Unpin for WorkspaceToolSet
impl UnsafeUnpin for WorkspaceToolSet
impl UnwindSafe for WorkspaceToolSet
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