pub enum ToolOrigin {
Host,
Mcp,
Platform,
Harness,
}Expand description
Runtime ownership surface for a tool.
This is intentionally separate from read/write category. It describes who owns tool availability and scoping so runtimes can rebuild or inherit tools correctly across abilities, domains, and sub-agents.
Variants§
Host
Host/runtime tools such as shell, files, git, web, and memory.
Mcp
External MCP server tools governed by an agent or ability MCP assignment.
Platform
Platform resource tools whose availability is governed by platform scopes.
Harness
Harness orchestration tools such as ability or sub-agent control.
Trait Implementations§
Source§impl Clone for ToolOrigin
impl Clone for ToolOrigin
Source§fn clone(&self) -> ToolOrigin
fn clone(&self) -> ToolOrigin
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 moreimpl Copy for ToolOrigin
Source§impl Debug for ToolOrigin
impl Debug for ToolOrigin
Source§impl Default for ToolOrigin
impl Default for ToolOrigin
Source§fn default() -> ToolOrigin
fn default() -> ToolOrigin
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolOrigin
impl<'de> Deserialize<'de> for ToolOrigin
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
impl Eq for ToolOrigin
Source§impl PartialEq for ToolOrigin
impl PartialEq for ToolOrigin
Source§fn eq(&self, other: &ToolOrigin) -> bool
fn eq(&self, other: &ToolOrigin) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ToolOrigin
impl Serialize for ToolOrigin
impl StructuralPartialEq for ToolOrigin
Auto Trait Implementations§
impl Freeze for ToolOrigin
impl RefUnwindSafe for ToolOrigin
impl Send for ToolOrigin
impl Sync for ToolOrigin
impl Unpin for ToolOrigin
impl UnsafeUnpin for ToolOrigin
impl UnwindSafe for ToolOrigin
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