Skip to main content

Overview

The tools section configures various tools available to the PicoClaw agent:
  • web - Web search providers (Brave, Tavily, DuckDuckGo)
  • cron - Scheduled task settings
  • exec - Command execution controls
  • skills - Skill registry configuration
  • mcp - Model Context Protocol servers
  • media_cleanup - Automatic media file cleanup

Web Search Configuration

Structure

Free Tier: 2,000 queries/month
Get API Key: brave.com/search/api
Environment variables:
  • PICOCLAW_TOOLS_WEB_BRAVE_ENABLED
  • PICOCLAW_TOOLS_WEB_BRAVE_API_KEY
  • PICOCLAW_TOOLS_WEB_BRAVE_MAX_RESULTS
Free Tier: 1,000 queries/month
Get API Key: tavily.com
Environment variables:
  • PICOCLAW_TOOLS_WEB_TAVILY_ENABLED
  • PICOCLAW_TOOLS_WEB_TAVILY_API_KEY
  • PICOCLAW_TOOLS_WEB_TAVILY_BASE_URL
  • PICOCLAW_TOOLS_WEB_TAVILY_MAX_RESULTS
Free: No API key required
Limitations: Rate-limited, less reliable than paid options
Environment variables:
  • PICOCLAW_TOOLS_WEB_DUCKDUCKGO_ENABLED
  • PICOCLAW_TOOLS_WEB_DUCKDUCKGO_MAX_RESULTS

Web Tools Proxy

Configure proxy for all web tools:
Supports: http://, https://, socks5://, socks5h:// Environment: PICOCLAW_TOOLS_WEB_PROXY

Fetch Limit

Maximum bytes to fetch from web pages:
Environment: PICOCLAW_TOOLS_WEB_FETCH_LIMIT_BYTES

Cron Tool Configuration

Configure scheduled task execution:

exec_timeout_minutes

Type: integer
Default: 5
Environment: PICOCLAW_TOOLS_CRON_EXEC_TIMEOUT_MINUTES
Maximum execution time for cron tasks in minutes. Set to 0 for no timeout.
Long-running cron tasks can block other scheduled jobs. Set appropriate timeouts.

File Access Configuration

Control agent access to specific paths outside the workspace:

allow_read_paths

Type: array of strings
Environment: PICOCLAW_TOOLS_ALLOW_READ_PATHS
Paths the agent can read even with restrict_to_workspace: true.

allow_write_paths

Type: array of strings
Environment: PICOCLAW_TOOLS_ALLOW_WRITE_PATHS
Paths the agent can write to even with restrict_to_workspace: true.
Be cautious with allow_write_paths. The agent can modify or delete files in these directories.

Exec Tool Configuration

Control command execution safety:

enable_deny_patterns

Type: boolean
Default: true
Environment: PICOCLAW_TOOLS_EXEC_ENABLE_DENY_PATTERNS
Enables built-in dangerous command patterns:
  • rm -rf, del /f, rmdir /s - Bulk deletion
  • format, mkfs, diskpart - Disk formatting
  • dd if= - Disk imaging
  • Writing to /dev/sd[a-z] - Direct disk writes
  • shutdown, reboot, poweroff - System shutdown
  • Fork bomb :(){ :|:& };:

custom_deny_patterns

Type: array of strings
Environment: PICOCLAW_TOOLS_EXEC_CUSTOM_DENY_PATTERNS
Additional command patterns to block:

custom_allow_patterns

Type: array of strings
Environment: PICOCLAW_TOOLS_EXEC_CUSTOM_ALLOW_PATTERNS
Command patterns to explicitly allow:

Skills Registry Configuration

ClawHub Registry

Environment variables:
  • PICOCLAW_SKILLS_REGISTRIES_CLAWHUB_ENABLED
  • PICOCLAW_SKILLS_REGISTRIES_CLAWHUB_BASE_URL
  • PICOCLAW_SKILLS_REGISTRIES_CLAWHUB_AUTH_TOKEN

MCP Configuration

Configure Model Context Protocol servers:
Environment: PICOCLAW_TOOLS_MCP_ENABLED

Media Cleanup Configuration

Automatic cleanup of old media files:
Environment variables:
  • PICOCLAW_MEDIA_CLEANUP_ENABLED
  • PICOCLAW_MEDIA_CLEANUP_MAX_AGE
  • PICOCLAW_MEDIA_CLEANUP_INTERVAL

Complete Example

Next Steps