Built-in tools are implemented in Rust and compiled directly into IronClaw. They provide core functionality for agent operations. Location:Documentation Index
Fetch the complete documentation index at: https://mintlify.com/nearai/ironclaw/llms.txt
Use this file to discover all available pages before exploring further.
src/tools/builtin/
Core Utility Tools
echo
Location:src/tools/builtin/echo.rs
Echoes back the input message. Useful for testing.
Approval: Never
Rate Limit: None
time
Location:src/tools/builtin/time.rs
Returns current timestamp and timezone information.
Approval: Never
Rate Limit: None
json
Location:src/tools/builtin/json.rs
Validates and formats JSON data.
Approval: Never
Rate Limit: None
HTTP & Web Tools
http
Location:src/tools/builtin/http.rs
Make HTTP requests with credential injection support.
- Credential placeholder injection (
{SECRET_NAME}) - Automatic host-based credential matching
- Integrates with WASM tool credential registry
- Leak detection on responses
Approval: UnlessAutoApproved
Rate Limit: 60/min, 1000/hour Location:
src/tools/builtin/http.rs:28-467
web_fetch
Location:src/tools/builtin/web_fetch.rs
Fetch web pages and convert HTML to clean markdown.
- HTML to Markdown conversion via
html2md - Link preservation
- Configurable timeouts
- User-Agent spoofing
Approval: UnlessAutoApproved
Rate Limit: 30/min, 500/hour
File Operations (Container Domain)
read_file
Location:src/tools/builtin/file.rs:26-160
Read file contents from the workspace.
Approval: Never
Rate Limit: None
write_file
Location:src/tools/builtin/file.rs:162-322
Write content to a file in the workspace.
Approval: UnlessAutoApproved
Rate Limit: 30/min, 500/hour
list_dir
Location:src/tools/builtin/file.rs:324-466
List directory contents with metadata.
Approval: Never
Rate Limit: None
apply_patch
Location:src/tools/builtin/file.rs:468-693
Apply unified diff patches to files.
Approval: UnlessAutoApproved
Rate Limit: 20/min, 300/hour
Shell Execution
shell
Location:src/tools/builtin/shell.rs
Execute shell commands in the workspace.
- Destructive commands require
ApprovalRequirement::Always - Non-destructive commands use
ApprovalRequirement::UnlessAutoApproved - Configurable timeout (default 60s, max 600s)
- Output sanitization
Approval: Conditional (based on command)
Rate Limit: 30/min, 500/hour Location:
src/tools/builtin/shell.rs:49-500
Memory System
Memory tools provide persistent key-value storage for agents.memory_write
Location:src/tools/builtin/memory.rs:28-152
Write data to long-term memory.
Approval: Never
Rate Limit: 30/min, 1000/hour
memory_read
Location:src/tools/builtin/memory.rs:154-238
Read data from long-term memory.
Approval: Never
Rate Limit: None
memory_search
Location:src/tools/builtin/memory.rs:240-357
Search memory entries by tags or key patterns.
Approval: Never
Rate Limit: None
memory_tree
Location:src/tools/builtin/memory.rs:359-446
List all memory keys in a tree structure.
Approval: Never
Rate Limit: None
Job Management
Job tools allow agents to create and manage sub-tasks.create_job
Location:src/tools/builtin/job.rs:64-768
Create a new job (sub-task) for execution.
- Creates isolated job context
- Optional Docker container execution
- Job monitoring and event streaming
- Integration with scheduler
Approval: UnlessAutoApproved
Rate Limit: 10/min, 100/hour
list_jobs
Location:src/tools/builtin/job.rs:770-863
List all jobs with status.
Approval: Never
Rate Limit: None
job_status
Location:src/tools/builtin/job.rs:865-950
Get detailed status of a specific job.
Approval: Never
Rate Limit: None
cancel_job
Location:src/tools/builtin/job.rs:952-1034
Cancel a running job.
Approval: Never
Rate Limit: None
Extension Management
Extension tools allow agents to install and manage WASM tools and MCP servers.tool_search
Location:src/tools/builtin/extension_tools.rs:28-150
Search for available tools in the marketplace.
tool_install
Location:src/tools/builtin/extension_tools.rs:152-320
Install a WASM tool or MCP server.
tool_auth
Location:src/tools/builtin/extension_tools.rs:322-450
Authenticate a tool (OAuth or manual token entry).
tool_activate
Location:src/tools/builtin/extension_tools.rs:452-520
Activate an installed tool.
tool_list
Location:src/tools/builtin/extension_tools.rs:522-600
List all installed tools.
tool_remove
Location:src/tools/builtin/extension_tools.rs:602-680
Remove an installed tool.
Skill Management
Skill tools manage prompt-level skills (specialized agent behaviors).skill_list
Location:src/tools/builtin/skill_tools.rs:28-120
List installed skills.
skill_search
Location:src/tools/builtin/skill_tools.rs:122-230
Search for available skills.
skill_install
Location:src/tools/builtin/skill_tools.rs:232-350
Install a skill from the catalog.
skill_remove
Location:src/tools/builtin/skill_tools.rs:352-420
Remove an installed skill.
Routine Management
Routine tools manage scheduled and event-driven tasks.routine_create
Location:src/tools/builtin/routine.rs:28-200
Create a new routine.
routine_list
Location:src/tools/builtin/routine.rs:202-280
List all routines.
routine_update
Location:src/tools/builtin/routine.rs:282-400
Update a routine configuration.
routine_delete
Location:src/tools/builtin/routine.rs:402-470
Delete a routine.
routine_history
Location:src/tools/builtin/routine.rs:472-550
View routine execution history.
Message Tool
message
Location:src/tools/builtin/message.rs
Send messages to communication channels.
- Per-turn context setting (default channel/target)
- Multi-channel support
- Metadata attachment
Approval: UnlessAutoApproved
Rate Limit: 30/min, 500/hour
Software Builder
build_software
Location:src/tools/builder/core.rs
Build software using LLM-driven code generation.
wasm_tool- Sandboxed WASM toolscli_app- Command-line applicationslibrary- Reusable librariesscript- Single-file scripts
Approval: Always
Rate Limit: 5/min, 20/hour
Helper Functions
Thetool module provides helper functions for parameter extraction:
src/tools/tool.rs:268-288
Example usage:
Next Steps
WASM Tools
Build sandboxed tools with WebAssembly
MCP Integration
Connect external tool servers