Skip to main content

default_tool_provider

Function default_tool_provider 

Source
pub fn default_tool_provider(
    config: DefaultToolConfig,
) -> Result<CompositeToolProvider, SynwireError>
Expand description

Assemble the default tool suite for a coding agent.

Includes code.* and index.* tool providers. Optionally includes meta.* tools when DefaultToolConfig::include_meta is set.

VFS, LSP, and DAP providers are not included because they require runtime dependencies. Add them via CompositeToolProvider at startup.

ยงErrors

Returns synwire_core::error::SynwireError if any tool fails validation.