pub struct AgentToolAccess {
pub collective_context_tools: Vec<String>,
pub scoped_context_tools: Vec<String>,
pub maintenance_tools: Vec<String>,
pub scoped_memory_write_tools: Vec<String>,
pub collective_memory_write_tools: Vec<String>,
pub action_tools: Vec<String>,
pub coordination_query_tools: Vec<String>,
pub coordination_transfer_tools: Vec<String>,
}Expand description
First-class tool classification owned by the agent boundary surface.
These classes describe how tools should be reasoned about and governed, not whether runtime policy will ultimately allow them. Resolution may make them available to the runtime, but review-safe, approval, budgets, write governance, and communication rules still apply afterwards.
Fields§
§collective_context_tools: Vec<String>§scoped_context_tools: Vec<String>§maintenance_tools: Vec<String>§scoped_memory_write_tools: Vec<String>§collective_memory_write_tools: Vec<String>§action_tools: Vec<String>§coordination_query_tools: Vec<String>§coordination_transfer_tools: Vec<String>Implementations§
Source§impl AgentToolAccess
impl AgentToolAccess
pub fn tool_names(&self) -> Vec<String>
pub fn with_collective_context_tools(self, tools: Vec<String>) -> Self
pub fn with_scoped_context_tools(self, tools: Vec<String>) -> Self
pub fn with_maintenance_tools(self, tools: Vec<String>) -> Self
pub fn with_scoped_memory_write_tools(self, tools: Vec<String>) -> Self
pub fn with_collective_memory_write_tools(self, tools: Vec<String>) -> Self
pub fn with_action_tools(self, tools: Vec<String>) -> Self
pub fn with_coordination_query_tools(self, tools: Vec<String>) -> Self
pub fn with_coordination_transfer_tools(self, tools: Vec<String>) -> Self
pub fn classify_tool(&self, tool_name: &str) -> Option<AgentToolClass>
Trait Implementations§
Source§impl Clone for AgentToolAccess
impl Clone for AgentToolAccess
Source§fn clone(&self) -> AgentToolAccess
fn clone(&self) -> AgentToolAccess
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 AgentToolAccess
impl Debug for AgentToolAccess
Source§impl Default for AgentToolAccess
impl Default for AgentToolAccess
Source§fn default() -> AgentToolAccess
fn default() -> AgentToolAccess
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentToolAccess
impl<'de> Deserialize<'de> for AgentToolAccess
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 AgentToolAccess
impl RefUnwindSafe for AgentToolAccess
impl Send for AgentToolAccess
impl Sync for AgentToolAccess
impl Unpin for AgentToolAccess
impl UnsafeUnpin for AgentToolAccess
impl UnwindSafe for AgentToolAccess
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