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.
Overview
Memory tools provide access to persistent, database-backed workspace storage. This is separate from the local filesystem and designed for agent memory, decisions, context, and long-term knowledge.Use
memory_* tools for workspace storage (HEARTBEAT.md, MEMORY.md, daily logs, etc.).
Use read_file/write_file for local filesystem operations.Tools
memory_search
Search past memories, decisions, and context using hybrid search (full-text + semantic). Returns relevant snippets with relevance scores. Input ParametersThe search query. Use natural language to describe what you’re looking for.
Maximum number of results to return (min: 1, max: 20)
The original search query
Array of search results with content, score, document ID, and match type
Number of results returned
Relevant snippet from the document
Relevance score (higher is more relevant)
UUID of the source document
True if both full-text and semantic search matched
memory_write
Write to persistent memory (database-backed storage). Use for important facts, decisions, preferences, or lessons learned that should be remembered across sessions. Input ParametersThe content to write to memory. Be concise but include relevant context.
Where to write:
memory- MEMORY.md (curated long-term facts)daily_log- today’s timestamped logheartbeat- HEARTBEAT.md checklist- Custom path like
projects/alpha/notes.md
If true, append to existing content. If false, replace entirely.
Always “written” on success
Path where content was written
Whether content was appended (true) or replaced (false)
Number of bytes written
- Content cannot be empty
- Rate limited: 20 calls per minute, 200 per hour
- Identity files are protected from modification
memory_read
Read a file from workspace memory (database-backed storage). Use this to read files shown bymemory_tree.
Input Parameters
Path to the file (e.g.,
MEMORY.md, daily/2024-01-15.md, projects/alpha/notes.md)Path to the file that was read
File content
Number of words in the content
RFC3339 timestamp of last update
ExecutionFailed: File not found or read failed
memory_tree
View the workspace memory structure as a tree. Returns a hierarchical view of files and directories.The workspace is separate from the local filesystem. Use
memory_read to read files shown here, not read_file.Root path to start from (empty string for workspace root)
Maximum depth to traverse (1 = immediate children only, max: 10)
/ and may have children.
Example
- Maximum depth: 10 levels
- Directories shown with trailing
/ - Files shown without trailing slash
- Empty directories shown as simple strings