Module tools

Module tools 

Source
Expand description

Built-in tools for the agent.

Re-exports§

pub use mcp::McpToolWrapper;
pub use mcp::create_mcp_tools;
pub use search::PreparedTools;
pub use search::SearchMode;
pub use search::ToolSearchConfig;
pub use search::ToolSearchManager;
pub use crate::security::sandbox::DomainCheck;
pub use crate::security::sandbox::NetworkSandbox;
pub use crate::types::ToolOutput;
pub use crate::types::ToolResult;
pub use crate::types::ToolSearchTool;
pub use crate::types::WebFetchTool;
pub use crate::types::WebSearchTool;

Modules§

mcp
MCP tool wrapper for seamless integration with ToolRegistry.
search
Tool search functionality for progressive disclosure.

Structs§

BashTool
EditTool
ExecutionContext
GlobTool
GrepTool
KillShellTool
PlanTool
ProcessInfo
Information about a running process.
ProcessManager
Manager for background shell processes.
ReadTool
TodoWriteTool
ToolExecutionEnv
Execution environment for tools including security context and shared state.
ToolRegistry
ToolRegistryBuilder
WriteTool

Enums§

ToolAccess
Controls which tools are available to the agent.

Traits§

SchemaTool
Schema-based tool trait with automatic JSON schema generation.
Tool
Core tool trait for all tool implementations.

Functions§

is_tool_allowed
Checks if a tool is allowed based on a list of allowed patterns.
matches_tool_pattern
Checks if a tool name matches an allowed tool pattern.

Type Aliases§

ProcessId
Unique identifier for a managed process.