Expand description
Pre-built tool providers for common coding agent patterns.
Compose these with CompositeToolProvider to assemble a full tool suite.
Each sub-module builds a StaticToolProvider containing namespaced tools
for a specific domain.
§Provider composition
VFS, LSP, and DAP tool providers live in their respective crates
(synwire-core::vfs, synwire-lsp, synwire-dap) because they require
runtime dependencies (VFS instance, LSP client, DAP client). The
default_tool_provider assembles only the providers that need no external
runtime state; consumers add VFS/LSP/DAP providers at startup.
use synwire_agent::tools::{DefaultToolConfig, default_tool_provider};
let provider = default_tool_provider(DefaultToolConfig::new().with_meta());Modules§
- code
code.*tool provider for semantic code navigation and search.- index
index.*tool provider for semantic indexing operations.- meta
meta.*tool provider for tool discovery and introspection.
Structs§
- Default
Tool Config - Configuration for
default_tool_provider.
Functions§
- default_
tool_ provider - Assemble the default tool suite for a coding agent.