Skip to main content

ToolSetProvider

Trait ToolSetProvider 

Source
pub trait ToolSetProvider:
    Send
    + Sync
    + 'static {
    // Required methods
    fn build_registry(&self) -> ToolRegistry;
    fn sandbox_mode(&self) -> SandboxMode;
}
Expand description

Provides the ToolRegistry for a given runtime mode.

The local implementation returns the standard registry with direct execution. Cloud implementations wrap tools with sandbox adapters, injecting container/microVM transport layers transparently.

Required Methods§

Source

fn build_registry(&self) -> ToolRegistry

Build and return the tool registry for this provider.

Source

fn sandbox_mode(&self) -> SandboxMode

Report the sandbox level this provider operates at.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§