Skip to main content

Crate zeroclaw_tools

Crate zeroclaw_tools 

Expand description

Tool implementations for agent-callable capabilities.

Modules§

ask_user
Interactive user prompting tool for cross-channel confirmations.
attribution
Centralized Attributable impls for every concrete Tool in this crate. Each invocation surfaces Role::Tool(ToolKind::*) and uses the tool’s name() as its alias so log emissions can attribute tool activity with the same <kind>.<alias> composite the rest of
backup_tool
browser
Browser automation tool with pluggable backends.
browser_delegate
Browser delegation tool.
browser_open
calculator
canvas
Live Canvas (A2UI) tool — push rendered content to a web canvas in real time.
channel_room
Channel room-management tool.
claude_code
claude_code_runner
cli_discovery
CLI tool auto-discovery — scans PATH for known CLI tools. Zero external dependencies (uses std::process::Command + std::env).
cloud_ops
Cloud operations advisory tool for cloud transformation analysis.
cloud_patterns
Cloud pattern library for recommending cloud-native architectural patterns. Provides a built-in set of cloud migration and modernization patterns, with pattern matching against workload descriptions.
codex_cli
composio
content_search
data_management
discord_search
email_imap
email_read
email_search
escalate
Human escalation tool with urgency-aware routing.
file_download
file_edit
file_upload
file_upload_bundle
file_write
gemini_cli
git_forge
Unified forge operations tool routed through a forge-backed channel.
git_operations
glob_search
google_workspace
hardware_board_info
Hardware board info tool — returns chip name, architecture, memory map for Telegram/agent. Use when user asks “what board do I have?”, “board info”, “connected hardware”, etc. Uses probe-rs for Nucleo when available; otherwise static datasheet info.
hardware_memory_map
Hardware memory map tool — returns flash/RAM address ranges for connected boards.
hardware_memory_read
Hardware memory read tool — read actual memory/register values from Nucleo via probe-rs. Use when user asks to “read register values”, “read memory at address”, “dump lower memory”, etc. Requires probe feature and Nucleo connected via USB.
helpers
http_request
image_gen
image_info
jira_tool
knowledge_tool
Knowledge management tool for capturing, searching, and reusing expertise. Exposes the knowledge graph to the agent via the Tool trait.
linkedin
linkedin_client
llm_task
Lightweight LLM task tool for structured JSON-only sub-calls.
mcp_client
MCP (Model Context Protocol) client — connects to external tool servers. Supports multiple transports: stdio (spawn local process), HTTP, and SSE.
mcp_context
Helpers that format MCP resource/prompt content for safe injection into the model context. All server-origin content is wrapped with an trust="untrusted-external" provenance marker and run through the existing secret-scrubbing/length-bounding used elsewhere for server-controlled text.
mcp_deferred
Deferred MCP tool loading — stubs and activated-tool tracking.
mcp_prompt
MCP prompt protocol types (prompts/list, prompts/get).
mcp_prompts_tool
Built-in tool exposing MCP prompts (list / get) across all servers.
mcp_protocol
MCP (Model Context Protocol) JSON-RPC 2.0 protocol types. Protocol version: 2024-11-05 Adapted from ops-mcp-server/src/protocol.rs for client use. Both Serialize and Deserialize are derived — the client both sends (Serialize)
mcp_resource
MCP resource protocol types (resources/list, resources/read).
mcp_resources_tool
Built-in tool exposing MCP resources (list / read) across all servers.
mcp_tool
Wraps a discovered MCP tool as a zeroclaw Tool so it is dispatched through the existing tool registry and agent loop without modification.
mcp_transport
MCP transport abstraction — supports stdio, SSE, and HTTP transports.
memory_export
memory_forget
memory_purge
memory_recall
memory_store
microsoft365
Microsoft 365 integration tool — Graph API access for Mail, Teams, Calendar, OneDrive, and SharePoint via a single action-dispatched tool surface.
model_routing_config
node_capabilities
Standard node capability definitions for device nodes. These define the expected schemas that camera, screen, location, and notification nodes should advertise when they connect via WebSocket.
notion_tool
opencode_cli
pipeline
poll
project_intel
Project delivery intelligence tool.
proxy_config
pushover
reaction
Emoji reaction tool for cross-channel message reactions.
report_template_tool
Report template tool — standalone access to template engine. Exposes the report template engine directly so agents can render templates with custom variable maps without going through ProjectIntelTool.
report_templates
Report template engine for project delivery intelligence. Provides built-in templates for weekly status, sprint review, risk register, and milestone reports with multi-language support (EN, DE, FR, IT).
screenshot
send_via
Per-turn output routing tool (send_via).
sessions
Session-to-session messaging tools for inter-agent communication.
text_browser
tool_search
Built-in tool_search tool for on-demand MCP tool schema loading.
util_helpers
weather_tool
Weather tool — fetches current conditions and forecast via wttr.in.
web_fetch
web_search_provider_routing
web_search_tool
wrappers
Generic tool wrappers for crosscutting concerns.

Constants§

MEMORY_TOOL_NAMES