SAM Tools Reference
April 11, 2026 ยท View on GitHub
What SAM can do autonomously with its built-in tool system.
Overview
SAM uses a consolidated tool system that lets the model take action instead of only replying with text. When a request requires external capabilities, SAM can call the appropriate tool, inspect the result, and continue working.
You see this activity through tool cards in the conversation UI.
How Tools Work
- You ask SAM to do something
- SAM decides which tool or tools are needed
- The tool runs with structured parameters
- SAM reads the result and either responds or continues the workflow
For multi-step work, SAM can chain tool calls together and track progress with a dedicated todo list.
Current Tool Surface
The current built-in tool set includes:
user_collaborationmemory_operationstodo_operationsweb_operationsdocument_operationsfile_operationsmath_operationscalendar_operationscontacts_operationsnotes_operationsspotlight_searchweather_operationsimage_generation
Some tools are always present, while others depend on configuration or service availability.
For example, image_generation only becomes available when an ALICE server is configured and reachable.
Collaboration and Planning
user_collaboration
Used when SAM needs to pause and ask you something directly.
Typical uses
- Clarifying ambiguous requests
- Asking for approval before destructive actions
- Requesting information only you know
- Reporting blockers and asking how to proceed
todo_operations
Used for multi-step tasks so SAM can plan, track, and surface progress.
Operations
readwriteupdateadd
This is how SAM keeps structured progress visible during longer workflows.
Memory and Context
memory_operations
SAM's memory tool covers both per-conversation memory and longer-lived memory features.
Session memory operations
search_memorystore_memoryrecall_historylist_collections
Key-value working memory
storeretrievesearch_kvlist_keysdelete_key
Long-term memory operations
add_discoveryadd_solutionadd_patternltm_statsprune_ltm
This allows SAM to preserve conversational context, working notes, and learned patterns over time.
File and Document Work
file_operations
Used for reading, searching, and managing files.
Read operations
read_filelist_dirget_file_infoget_errorsread_tool_result
Search operations
file_searchgrep_searchsemantic_searchlist_usages
Write and management operations
create_filereplace_stringmulti_replace_stringinsert_editrename_filedelete_file
Authorization model
- Inside the working directory: auto-approved
- Outside the working directory: requires authorization
document_operations
Used for document import, document creation, and document inventory.
Operations
document_importdocument_createget_doc_info
Current document creation formats
docxpdftxtmarkdownpptxrtfxlsx
Document import is designed to feed content into conversation memory and semantic retrieval.
Web and Research
web_operations
Used for web search, retrieval, and structured research.
Operations
researchretrieveweb_searchscrapefetchserpapiwhen SerpAPI is configured and available
Typical uses
- Current events and live information
- Documentation lookup
- Product and recommendation research
- Pulling content from specific URLs
The research flow is the most comprehensive path and is designed for synthesis across multiple sources.
Computation and Images
math_operations
Used for real math, conversions, and structured formulas.
Operations
calculatecomputeconvertformula
This tool uses Python-backed computation rather than model guesswork.
image_generation
Used for generating images through ALICE.
Operations
generatelist_models
This tool requires a working ALICE server and becomes available only when the service is configured and reachable.
macOS Integration Tools
calendar_operations
Uses EventKit to work with calendars and reminders.
Calendar operations
list_eventscreate_eventsearch_eventsdelete_event
Reminder operations
list_reminderscreate_remindercomplete_reminderdelete_reminderlist_reminder_lists
contacts_operations
Uses the Contacts framework.
Operations
searchget_contactcreate_contactupdate_contactlist_groupssearch_group
notes_operations
Works with Apple Notes.
Operations
searchget_notecreate_notelist_folderslist_notesappend_note
spotlight_search
Uses macOS Spotlight for file and metadata search.
Operations
searchsearch_contentsearch_metadatafile_inforecent_files
weather_operations
Uses Open-Meteo and SAM's configured location information.
Operations
currentforecasthourly
Tool Cards in the UI
When SAM runs a tool, the conversation shows a tool card with:
- Tool name
- Operation
- Parameters
- Status
- Result or failure output
This keeps autonomous behavior visible and inspectable.
Safety Model
Tool use is constrained by:
- File authorization boundaries
- User collaboration checkpoints for sensitive work
- Preferences-controlled capabilities
- Service availability for optional integrations
That means SAM can be useful without silently overreaching.