Skip to content

Built-in Tools ​

Iris comes with tools for truths, memory management, calendar operations, follow-up scheduling, image generation, weather, skills, and web access, plus optional shell, filesystem, and task delegation tools. This reference documents each tool's parameters and typical usage.

Truth Tools ​

Truths are stable, core facts about the user - more permanent than memories. These tools let Iris manage Truths during conversation.

store_truth ​

Store a core truth about the user - fundamental facts that define who they are.

ParameterTypeRequiredDescription
truthContentstringYesComplete, self-contained statement about the user
categorystringNopersonal, professional, hobbies, health, relationships, preferences, goals
isPinnedbooleanNoPin to always include regardless of conversation topic (default: false)

Usage example:

"My name is Sam and I'm a software engineer in NYC - that's important to remember"

Iris calls:

store_truth(
  truthContent: "Sam is a software engineer based in New York City",
  category: "professional",
  isPinned: false
)

Returns: Confirmation with truth ID and pin status.

TIP

Use Truths for stable identity facts (name, career, location, core relationships). Use memories for contextual or time-bound information.

search_truth ​

Search existing truths semantically. Iris also uses it before storing a truth, to avoid duplicates.

ParameterTypeRequiredDescription
searchQuerystringYesQuestion or topic to search for
categorystringNoFilter: personal, professional, hobbies, health, relationships, preferences, goals
limitnumberNoMax results 1-10 (default: 5)

Usage example:

"What core facts do you know about me?"

search_truth(searchQuery: "identity career location relationships")

Returns: List of matching truths, each with its ID, content, source, pin status, and similarity.

update_truth ​

Modify an existing truth when core facts change.

ParameterTypeRequiredDescription
truthIdnumberYesID from the Core Truths in Iris's context or from search_truth results
updatedContentstringYesNew content (replaces old)

Usage example:

"I got promoted to tech lead - update my job title"

update_truth(
  truthId: 5,
  updatedContent: "Sam is a tech lead at a fintech company in New York City"
)

Iris doesn't need to search first: every truth in her context is listed with its ID and the date it was first recorded.

Returns: The old and new content.

delete_truth ​

Remove a truth. The row is soft-deleted: it's gone from Iris's context, but distillation still finds it (see the note below).

ParameterTypeRequiredDescription
truthIdnumberYesID from the Core Truths in Iris's context or from search_truth results

Usage example:

"Forget that fact about my old job"

Returns: Confirmation of deletion.

NOTE

When you delete a truth, similar memories won't be promoted to replace it - the system respects your explicit deletion.

Memory Tools ​

These tools let Iris manage persistent memories during conversation. They complement automatic extraction, which already captures most events, plans, and preferences, so Iris stores in-turn only what extraction won't catch. See How Iris Uses Memory Tools.

store_memory ​

Store a new memory about the user.

ParameterTypeRequiredDescription
memoryContentstringYesComplete, self-contained fact with context
memoryTypestringNofact, preference, goal, event, skill, relationship, habit, context (default: fact)
tagsarrayNoOrganization tags
categorystringNopersonal, professional, hobbies, health, etc.
contextstringNoWhen or why it was learned
confirmedNewbooleanNoStore even though close matches exist. Only for a retry after a hold.

Usage example:

"Remember that I want book club picks to stay under 400 pages"

Iris calls:

store_memory(
  memoryContent: "User wants book club picks to stay under 400 pages",
  memoryType: "preference",
  category: "hobbies"
)

Returns: The new memory's ID, plus up to three related existing memories (similarity of at least memory.store_related_threshold, default 0.75) with their IDs and dates. If the new memory makes one of them outdated, Iris fixes it with update_memory.

text
Memory stored (ID: 1342) (type: preference, category: hobbies)
Related existing memories. If what you just stored makes one of these outdated, fix it with update_memory, or delete_memory if the new memory fully replaces it:
[1287] (Mar 4, 2026) User joined a Saturday book club that meets at the library

Near-duplicate hold ​

Before storing, the tool compares the new memory with your existing ones. If any is at least memory.store_duplicate_threshold (default: 0.85) similar, nothing is stored. The tool returns the close matches instead:

text
Not stored: existing memories are very close to this one.
[1290] (Mar 5, 2026) User prefers book club picks under 400 pages (similarity: 0.91)
If one of these already covers it, or the new info corrects or updates one, call update_memory with that ID. If it is genuinely different from all of them, call store_memory again with confirmedNew: true.

From there Iris either updates the matching memory or, if the new information really is different, calls store_memory again with confirmedNew: true.

TIP

The memoryContent should be self-contained - it should make sense without the conversation context. "Wants book club picks under 400 pages" is better than "Wants the shorter ones we discussed."

search_memory ​

Search stored memories semantically. Iris uses it before saying it doesn't know something you refer to, because automatic recall only shows a partial selection.

ParameterTypeRequiredDescription
searchQuerystringYesQuestion or topic to search for
memoryTypestringNoFilter by type
tagsarrayNoFilter by tags
categorystringNoFilter by category
limitnumberNoMax results 1-20 (default: 5)

Usage example:

"When does my lease end again?"

Iris calls:

search_memory(
  searchQuery: "apartment lease end date",
  limit: 5
)

Returns: Matching memories, each with its ID, the date it was recorded, content, type, and similarity:

text
Found 1 memories (dates are when each was recorded):
[1301] (Mar 9, 2026) User's apartment lease ends at the end of June (fact, similarity: 0.72)

The IDs are what Iris passes to update_memory and delete_memory.

update_memory ​

Correct or update an existing memory. Useful when information changes or was recorded incorrectly.

ParameterTypeRequiredDescription
memoryIdnumberYesID from recalled context or search results
updatedContentstringYesNew complete content (replaces old)

Usage example:

"Actually, I moved to Chicago last month. Update my location."

Iris takes the location memory's ID from its recalled context (or searches for it), then calls:

update_memory(
  memoryId: 42,
  updatedContent: "User lives in Chicago (moved from Seattle in December 2025)"
)

Returns: The new memory ID, along with the previous and new content:

text
Memory updated. New ID: 1350 (replaces 42; use 1350 for any further changes).
Previous: "User lives in Seattle"
New: "User lives in Chicago (moved from Seattle in December 2025)"

Updating doesn't edit the memory in place. It supersedes it: the corrected content becomes a new memory with a fresh embedding and date, and the old one is soft-deleted and points to its replacement. If Iris later passes the old ID, the tool tells it which memory replaced it.

delete_memory ​

Remove a memory. Iris can't undo this. The row is soft-deleted, so it no longer shows up in recall or search, and any truth built from it is flagged for review in the next nightly distillation run.

ParameterTypeRequiredDescription
memoryIdnumberYesID of memory to delete

Usage example:

"Forget that I like pineapple on pizza -I changed my mind."

Returns: Confirmation of deletion.

Calendar Tools ​

These tools interact with Google Calendar. They require a connected Google account.

list_calendar_events ​

Fetch events with the IDs the update and delete tools need. The calendar in Iris's context shows titles and times only, so she calls this first when you ask her to change or remove an event.

ParameterTypeRequiredDescription
daysnumberNoDays ahead, 1-30 (default: 7)
pastDaysnumberNoPast days to include, 0-30 (default: 0), for an event that already happened
calendarIdstringNoSpecific calendar to filter by

Usage example:

"What's on my calendar next week?"

list_calendar_events(days: 7)

Returns: Each event's title, time, location, date, event ID, and calendar ID.

Error responses:

  • "Google Calendar is not connected" - User needs to connect in Settings
  • "No events found" - Calendar is empty for the requested period

create_calendar_event ​

Create a new calendar event.

ParameterTypeRequiredDescription
titlestringYesEvent title
startDateTimestringYesISO 8601 format with timezone
endDateTimestringYesISO 8601 format with timezone
descriptionstringNoEvent notes
locationstringNoAddress or meeting link
calendarIdstringNoCalendar to create the event on (default: your default calendar)
isAllDaybooleanNoAll-day event; only the date part of start and end is used
addMeetLinkbooleanNoAdd Google Meet link

Usage example:

"Schedule a team sync tomorrow at 10am for 30 minutes"

create_calendar_event(
  title: "Team Sync",
  startDateTime: "2026-01-29T10:00:00-05:00",
  endDateTime: "2026-01-29T10:30:00-05:00",
  addMeetLink: true
)

Returns: Event ID and confirmation with Meet link if requested.

IMPORTANT

DateTime must be ISO 8601 format with timezone. Iris handles the conversion from natural language.

update_calendar_event ​

Modify an existing event.

ParameterTypeRequiredDescription
eventIdstringYesEvent to update (from list_calendar_events or event creation)
calendarIdstringYesCalendar the event is on
titlestringNoNew title
startDateTimestringNoNew start time
endDateTimestringNoNew end time
descriptionstringNoNew description (empty string clears it)
locationstringNoNew location (empty string clears it)
isAllDaybooleanNoMake it an all-day event; only used when start and end are also given

Usage example:

"Move my dentist appointment to 3pm"

Iris finds the event, then calls:

update_calendar_event(
  eventId: "abc123",
  calendarId: "primary",
  startDateTime: "2026-01-29T15:00:00-05:00",
  endDateTime: "2026-01-29T16:00:00-05:00"
)

delete_calendar_event ​

Remove an event from the calendar.

ParameterTypeRequiredDescription
eventIdstringYesEvent to delete
calendarIdstringYesCalendar the event is on

Returns: Confirmation of deletion.

Follow-up Tools ​

These tools let Iris schedule and manage future check-ins during conversation. When Iris says "I'll check in on that later," these tools make it real.

schedule_followup ​

Schedule a future check-in with the user.

ParameterTypeRequiredDescription
contextstringYesA self-contained Markdown briefing for when the follow-up fires: ## Context, ## Intent, ## Tone, and an optional ## Draft
minutes_from_nownumberYesHow many minutes from now to follow up

When the follow-up fires, Iris has no chat history, only this briefing plus memories, calendar, and your guidance, so the tool asks her to write it as if she won't remember the conversation. A ## Draft section is sent word for word without another model call.

Usage example:

"I have a job interview in an hour, wish me luck!"

Iris calls:

schedule_followup(
  context: "## Context\nSam has a job interview at 2pm for a product designer role and is nervous about the portfolio review.\n\n## Intent\nAsk how the interview went.\n\n## Tone\ngentle, non-pushy",
  minutes_from_now: 90
)

Returns: Confirmation with follow-up ID and scheduled time.

IMPORTANT

Follow-ups are delivered by the proactive messages system. While proactive messages are turned off in Settings, schedule_followup stores nothing and returns an error telling Iris to say so and offer an alternative, such as a calendar event.

list_followups ​

List scheduled follow-ups.

ParameterTypeRequiredDescription
statusstringNopending (default), completed, or all
limitnumberNoMax results 1-50 (default: 10)

Usage example:

"What follow-ups do you have scheduled?"

list_followups(status: "pending")

Returns: List of follow-ups with ID, context, status (Pending, or the outcome: Sent, Skipped, Expired, Failed, Cancelled), and scheduled time.

update_followup ​

Update the context or reschedule a pending follow-up.

ParameterTypeRequiredDescription
followup_idnumberYesID of follow-up to update
contextstringNoNew briefing, same structure as schedule_followup (replaces old)
minutes_from_nownumberNoReschedule to this many minutes from now

At least one of context or minutes_from_now must be provided.

Usage example:

"Actually, push that check-in back another hour"

update_followup(
  followup_id: 12,
  minutes_from_now: 120
)

Returns: Confirmation with updated details.

Error responses:

  • Proactive messages are off - nothing is changed, same as schedule_followup
  • "not found" - Follow-up doesn't exist or belongs to another user
  • "already completed" - Can't update a completed follow-up
  • "being delivered right now" - The follow-up is in flight and can't be changed

cancel_followup ​

Cancel a pending follow-up.

ParameterTypeRequiredDescription
followup_idnumberYesID of follow-up to cancel
reasonstringNoReason for cancellation

Usage example:

"Never mind about that check-in, it's resolved"

cancel_followup(
  followup_id: 12,
  reason: "Issue resolved during conversation"
)

Returns: Confirmation of cancellation. The follow-up isn't deleted: it stays on the Follow-ups page with a Cancelled outcome and the reason. Cancelling works even while proactive messages are off.

Image Generation ​

generate_image ​

Generate an image from a text description using OpenAI's gpt-image-1.5 model.

ParameterTypeRequiredDescription
descriptionstringYesDetailed image description
sizestringNo1024x1024, 1536x1024, or 1024x1536 (default: 1024x1024)

Usage example:

"Create an image of a cozy coffee shop"

generate_image(
  description: "A cozy coffee shop with warm lighting, wooden tables,
    plants on windowsills, and a cat sleeping on a cushioned chair",
  size: "1536x1024"
)

Returns: The generated image displayed inline in chat as an artifact. Iris gets back a short JSON confirmation with the artifact ID, not the image itself.

Error responses: Error generating image: followed by the provider's message, for example when OPENAI_API_KEY is missing or OpenAI's safety filters reject the prompt. The request gives up after 90 seconds.

See Image Generation for more details on prompt strategies and limitations.

Weather ​

get_weather ​

Get current conditions or a forecast from tomorrow.io. Requires IRIS_WEATHER_ENABLED=true and an API key; see Weather.

ParameterTypeRequiredDescription
locationstringNoCity name, zip code, or lat,lon (default: the location saved in your weather settings)
forecast_typestringNorealtime, hourly (next 120 hours), or daily (next 5 days) (default: hourly)

Usage example:

"Do I need an umbrella in Portland this weekend?"

get_weather(location: "Portland, OR", forecast_type: "daily")

Returns: Conditions in your preferred units and timezone, or a message asking for a location if none is given or saved.

Skill Tools ​

These tools load Agent Skills into a thread.

activate_skill ​

Load a skill's full instructions and pin the skill to the current thread, so its content is part of the system prompt for every later message there.

ParameterTypeRequiredDescription
skillNamestringYesName of an installed skill

Returns: The skill's instructions, so Iris can use them in the same turn.

deactivate_skill ​

Unpin a skill from the current thread, removing its instructions from the system prompt.

ParameterTypeRequiredDescription
skillNamestringYesName of the skill to remove

Provider Tools ​

Provider tools are built into Anthropic's API and run on their infrastructure:

php
// config/iris.php
'provider_tools' => [
    ['type' => 'web_fetch_20250910', 'name' => 'web_fetch'],
    ['type' => 'web_search_20250305', 'name' => 'web_search'],
],

Search the web for current information. Anthropic handles the search on their servers.

Usage example:

"What's the latest news about Laravel?"

Iris calls web_search internally, receives results, and synthesizes a response.

Best for:

  • Recent news and events
  • Current documentation
  • Fact-checking information
  • Researching topics

web_fetch ​

Retrieve content from a specific URL.

Usage example:

"Read this article: https://example.com/blog/post"

Best for:

  • Reading specific articles or documentation
  • Fetching content from URLs the user provides
  • Accessing public APIs

Limitations:

  • Some sites block automated access
  • Very large pages may be truncated
  • JavaScript-rendered content may not be accessible

TIP

To disable provider tools entirely, set provider_tools to an empty array in config/iris-custom.php.

Shell Commands ​

WARNING

Shell command execution is disabled by default. Set IRIS_SHELL_ENABLED=true in your .env to enable. Only administrators (IRIS_ADMIN_EMAILS) can use it, in every environment; other users' Iris isn't offered the tool.

Execute shell commands for file operations, system queries, and CLI tasks. See the Shell Commands guide for full details.

run_shell_command ​

Execute a shell command on the host operating system.

ParameterTypeRequiredDescription
commandstringYesThe shell command to execute
workingDirectorystringNoDirectory for command execution
timeoutnumberNoTimeout in seconds (default: 30, max: 300)

Usage example:

"Show me the git log for my project at ~/code/myapp"

Iris calls:

run_shell_command(
  command: "git log --oneline -10",
  workingDirectory: "/Users/you/code/myapp"
)

Returns: Command output with exit code, stdout, and stderr.

NOTE

Privilege escalation commands (sudo, su) and dangerous patterns are blocked. Commands only receive the environment variables listed in shell.inherit_env_vars, so API keys in Iris's environment aren't passed along. This isn't a sandbox: commands run as the same operating system user as Iris and can read anything it can, including .env. See Shell Commands.

Filesystem (Beta) ​

WARNING

Filesystem tools are disabled by default. Set IRIS_FILESYSTEM_ENABLED=true in your .env to enable. Only administrators (IRIS_ADMIN_EMAILS) can use them, in every environment, and they share one workspace; other users' Iris isn't offered the tools.

Read, write, search, and navigate files within a scoped workspace directory. This is an initial implementation - the API may change or be removed in future releases. See the Filesystem Tools guide for full setup, parameter tables, the containment model, and denylist configuration.

read_file ​

Read the contents of a file inside the workspace. Implemented by App\Tools\Filesystem\ReadFileTool.

ParameterTypeRequiredDescription
pathstringYesWorkspace-relative path to read
offsetnumberNoLine number to start reading from
limitnumberNoMaximum number of lines to return

Usage example:

"Show me the contents of src/config.php"

Iris calls:

read_file(path: "src/config.php")

Returns: File contents with line numbers, cut off at 500 lines or 30,000 characters. Files over 1 MB return an error unless offset or limit is supplied.

write_file ​

Write content to a file inside the workspace, creating it or overwriting an existing one. Implemented by App\Tools\Filesystem\WriteFileTool.

ParameterTypeRequiredDescription
pathstringYesWorkspace-relative path to write
contentstringYesFull content to write to the file

Usage example:

"Create a new file called notes.md with a placeholder header"

Iris calls:

write_file(
  path: "notes.md",
  content: "# Notes\n"
)

Returns: Confirmation with relative path and bytes written.

NOTE

Overwriting an existing file requires that file to have been read via read_file in the same session. New (non-existent) files can be written without a prior read.

edit_file ​

Replace a specific string inside an existing file. Implemented by App\Tools\Filesystem\EditFileTool.

ParameterTypeRequiredDescription
pathstringYesWorkspace-relative path to edit
old_stringstringYesExact string to find and replace
new_stringstringYesReplacement string
replace_allbooleanNoReplace every occurrence instead of requiring exactly one (default: false)

Usage example:

"Change the function name from getUser to findUser in app/Services/UserService.php"

Iris calls:

edit_file(
  path: "app/Services/UserService.php",
  old_string: "function getUser(",
  new_string: "function findUser("
)

Returns: Confirmation with the number of replacements made.

NOTE

edit_file requires the target file to have been read via read_file in the same session. If old_string matches more than once and replace_all is false, the edit is rejected.

grep ​

Search file contents for a pattern across the workspace. Implemented by App\Tools\Filesystem\GrepTool.

ParameterTypeRequiredDescription
patternstringYesRegular expression to search for
pathstringNoWorkspace-relative subdirectory to limit the search
globstringNoGlob pattern to filter files (e.g. *.php)
output_modestringNofiles_with_matches (default), content, or count

Usage example:

"Find all files that reference the UserService class"

Iris calls:

grep(
  pattern: "UserService",
  glob: "*.php"
)

Returns: Matching file paths, path:line: content lines when output_mode is content, or match counts per file when output_mode is count.

glob ​

List files matching a glob pattern inside the workspace. Implemented by App\Tools\Filesystem\GlobTool.

ParameterTypeRequiredDescription
patternstringYesGlob pattern relative to the workspace root (e.g. src/**/*.ts)
pathstringNoWorkspace-relative directory to search within (default: the workspace root)

Usage example:

"List all PHP test files in the tests directory"

Iris calls:

glob(pattern: "tests/**/*.php")

Returns: Workspace-relative paths of all matching files, sorted alphabetically.

Task Delegation (Beta) ​

WARNING

Task delegation is disabled by default. Set IRIS_SUBAGENT_ENABLED=true in your .env to enable. The sub-agent gets the shell (IRIS_SHELL_ENABLED=true) only when the user who delegated the task is an administrator.

Delegate complex, multi-step tasks to an autonomous sub-agent. This is an initial implementation - the API may change or be removed in future releases. See the Task Delegation guide for full details.

delegate_task ​

Delegate a complex task to a sub-agent for autonomous execution.

ParameterTypeRequiredDescription
descriptionstringYesClear description of what needs to be done
successCriteriaarrayNoVerifiable conditions that define completion
contextFilesarrayNoFile paths relevant to the task. Offered only to users who have the shell or filesystem tools
workingDirectorystringNoDirectory for task execution. Offered only to users who have the shell tool
timeoutnumberNoTimeout in seconds (default: 300, min: 60, max: 600; values outside the range are clamped). The task is stopped when it runs out

Usage example:

"Set up a new Laravel project with Breeze authentication"

Iris calls:

delegate_task(
  description: "Create Laravel project with Breeze auth scaffolding",
  successCriteria: [
    "Laravel project created",
    "Breeze installed and configured",
    "Migrations run successfully"
  ],
  workingDirectory: "/home/user/projects"
)

Returns: Right away, a confirmation that the task is queued, with its ID and timeout. The sub-agent runs in the background (in the iris:agent daemon), and its result arrives later as a message in the thread.

NOTE

Each user can only have one active delegated task at a time. The sub-agent inherits all shell security settings.