Skip to main content

Module tools

Module tools 

Source

Re-exports§

pub use toolproxy::ProxyToolExecutor;
pub use toolproxy::ProxyToolDef;
pub use toolproxy::ProxyMetadata;
pub use toolproxy::ProxyTool;
pub use toolproxy::ProxyToolResponse;
pub use toolproxy::ProxyToolRequest;

Modules§

ask
Ask tool: allow the AI to proactively ask the user for clarification or choice.
bash
Bash command execution tool
browser
浏览器打开工具
codegraph
CodeGraph integration for code symbol indexing and search.
edit
glob
grep
ls
monitor
multi_edit
plan_mode
read
registry
Tool Registry
search
skill
skill tool: loads a named skill’s full instructions into the conversation on demand. Only skills that were discovered at startup are accessible. The tool response contains the skill body plus a listing of the skill’s directory so the model knows what files it can read next.
task
todo_write
toolproxy
Proxy Tool Executor Trait
webfetch
websearch
Web Search Tool
workflow
Workflow Tools
write

Structs§

ToolDefinition

Traits§

Tool

Functions§

all_tools
Default toolset without any skill integration. Kept for callers (and the existing tests) that don’t care about skills.
all_tools_full
Build full toolset with provider and project path.
all_tools_with_arc_provider
Build toolset with Arc Provider (preferred method)
all_tools_with_box_provider
Build toolset with Box Provider (for CLI compatibility - safe implementation) Uses clone_arc to safely convert Box to Arc without unsafe code.
all_tools_with_project_path
Build toolset with project path for CodeGraph integration.
all_tools_with_provider
Build toolset with Provider for AI-powered tools.
all_tools_with_skills
Build the toolset with skill support but without provider.
generate_tools_prompt
Generate tools description for system prompt
generate_tools_prompt_with_path
Generate tools description with optional CodeGraph support

Type Aliases§

BoxedTool
Type alias for boxed tool