ToolEntryTrait

Trait ToolEntryTrait 

Source
pub trait ToolEntryTrait:
    Send
    + Sync
    + 'static {
    // Required methods
    fn name(&self) -> &str;
    fn to_tool_kind(&self) -> ToolKind;
}
Expand description

Trait for tool entries that can provide a name (for dedup/inspection).

Required Methods§

Source

fn name(&self) -> &str

The tool’s registered name.

Source

fn to_tool_kind(&self) -> ToolKind

Convert this entry into the runtime ToolKind variant for dispatch.

Implementors§