pub struct ToolEntry {
pub name: String,
pub category: String,
pub description: String,
pub skill_path: Option<String>,
pub command: Option<String>,
}Expand description
A searchable entry in the tool index.
Each entry describes a single capability that the agent OS exposes, such as a built-in execution tool, an installed program, an OS service, or an MCP bridge.
Fields§
§name: StringUnique capability name (e.g. "exec", "git-helper", "mcp:github").
category: StringCategory of the capability.
One of: "os-tool", "program", "os-service", "mcp".
description: StringHuman-readable description used both for indexing and for the capability index presented to agents.
skill_path: Option<String>Path to the SKILL.md instruction file, if this is a program.
command: Option<String>Invocation command, if this is a program that can be called directly.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ToolEntry
impl<'de> Deserialize<'de> for ToolEntry
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 ToolEntry
impl RefUnwindSafe for ToolEntry
impl Send for ToolEntry
impl Sync for ToolEntry
impl Unpin for ToolEntry
impl UnsafeUnpin for ToolEntry
impl UnwindSafe for ToolEntry
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