跳转到内容

Tools Overview

此内容尚不支持你的语言。

Tools extend Claude’s capabilities within Clawdbot, allowing the AI to:

  • Fetch real-time data
  • Execute actions
  • Interact with external services

Web Search

Search the web for current information

Calculator

Perform mathematical calculations

File Reader

Read and analyze files you share

Code Executor

Run code snippets safely

from clawdbot import tool
@tool("get_stock_price")
async def stock_price(symbol: str) -> dict:
"""Get current stock price.
Args:
symbol: Stock ticker symbol (e.g., AAPL)
Returns:
Current price and change
"""
# Implementation here
return {"symbol": symbol, "price": 150.00}
Terminal window
# Enable specific tools
TOOLS_ENABLED=web_search,calculator
# Or enable all
TOOLS_ENABLED=all
# Disable specific tools
TOOLS_DISABLED=code_executor