Skip to Content

Tools

Tools are the actions your workflow can perform. Each workflow only has access to the tools you explicitly enable.

Tool categories

Email tools

Core email management capabilities.

ToolDescriptionWrite?
read_emailRead the full content of an emailNo
search_emailsSearch for emails using Gmail syntaxNo
search_emails_analyzedAI-enhanced email searchNo
add_labelAdd a label to an emailYes
remove_labelRemove a label from an emailYes
archive_emailArchive an email (remove from inbox)Yes
trash_emailMove an email to trashYes
move_emailMove email to a specific folder/labelYes
create_draftCreate a draft emailYes
send_email_to_userSend an email to the account ownerYes
list_labelsList all available Gmail labelsNo
list_attachmentsList attachments in an emailNo
get_attachment_to_sandboxDownload attachment for processingNo

Write tools modify your email or send messages. In approval-required mode, these require approval.

Email search syntax

The search_emails tool uses Gmail search syntax:

QueryMeaning
from:john@example.comEmails from John
to:meEmails sent to you
subject:meetingSubject contains “meeting”
has:attachmentHas attachments
is:unreadUnread emails
newer_than:7dFrom the last 7 days
in:inboxIn inbox (not archived)

Combine queries: from:john@example.com subject:report newer_than:30d

Calendar tools

Access to Google Calendar with full read and write capabilities.

ToolDescriptionWrite?
list_calendar_eventsGet events within a time rangeNo
get_calendar_eventGet details of a specific eventNo
create_calendar_eventCreate a new event with attendees, reminders, Google MeetYes
edit_calendar_eventEdit an event or RSVP (requires edit permission)Yes
delete_calendar_eventDelete an event (organizer deletes for all)Yes

Delete with caution. If you are the organizer, delete_calendar_event will cancel the event for ALL attendees. If you’re just an attendee, it only removes the event from your calendar.

Research tools

Web search and code execution.

ToolDescription
web_searchSearch the web with AI-analyzed results
run_codeExecute Python code in a sandbox
get_sandbox_fileDownload files from the code sandbox

The run_code tool provides a Python environment for:

  • Calculations and data processing
  • Parsing attachments (PDFs, spreadsheets)
  • Generating reports
  • Any computation the workflow needs

Introspection tools

Monitor and query other workflows.

ToolDescription
query_session_historySearch messages and tool calls in a session
query_session_summaryAI-analyzed session history summary
list_agentsList all your workflows
get_agent_sessionsGet recent sessions for workflows

These tools let workflows:

  • Report on other workflows’ activities
  • Detect patterns in behavior
  • Answer questions about what happened

Analytics tools

Access usage and performance data.

ToolDescription
get_analyticsRaw analytics data (JSON)
get_analytics_summaryFormatted summary (Markdown)

Profile tools

Manage user profile information.

ToolDescriptionWrite?
update_user_mdUpdate the user’s profile documentYes

The user profile helps your assistant understand context about you.

See Memory for the memory system (storing preferences across runs).

Integration tools

Available when you connect external services.

GitHub tools

ToolDescription
github_list_reposList accessible repositories
github_get_fileRead files from a repo
github_create_or_update_fileCreate or update files
github_list_commitsList recent commits
github_list_pull_requestsList pull requests
github_create_pull_requestCreate a new PR

Slack tools

ToolDescription
slack_dm_userSend a direct message to yourself

Linear tools

ToolDescription
linear_list_issuesList issues with filters
linear_get_issueGet specific issue details
linear_create_issueCreate a new issue
linear_list_teamsList available teams
linear_list_workflow_statesList workflow states

Notion tools

ToolDescription
notion_searchSearch pages and databases
notion_query_databaseQuery a database with filters
notion_get_pageGet page content
notion_create_pageCreate a new page
notion_add_database_entryAdd entry to a database

HubSpot tools

ToolDescription
hubspot_read_contactGet contact details
hubspot_update_contactUpdate contact properties
hubspot_read_dealGet deal details
hubspot_update_dealUpdate deal properties
hubspot_read_companyGet company details
hubspot_update_companyUpdate company properties

Integration tools only appear when you’ve connected the corresponding service in Integrations.

Analyzed vs. standard tools

Some tools have “analyzed” variants:

StandardAnalyzed
search_emailssearch_emails_analyzed
query_session_historyquery_session_summary

Note: web_search now uses AI-analyzed results by default for token efficiency.

Analyzed tools use an AI sub-agent to:

  • Filter and summarize results
  • Extract key information
  • Reduce context size

Use analyzed tools when:

  • You need summarized information, not raw data
  • Results might be large or noisy
  • You’re doing research-style queries

Use standard tools when:

  • You need exact data
  • You’ll process results yourself
  • Token efficiency isn’t a concern

Tool selection best practices

Minimum viable toolset. Only enable tools your workflow actually needs. More tools = larger context = higher cost.

Prefer read tools for new workflows. Start with read-only tools, add write tools after testing.

Use send_email_to_user for notifications. It sends to your own email address, ensuring workflows communicate with you directly.

Pair run_code with attachment tools. If processing attachments, you’ll need both get_attachment_to_sandbox and run_code.

Tool modes (advanced)

In the configuration, tools can have per-tool modes:

{ "tools": [ { "toolId": "read_email" }, { "toolId": "archive_email", "mode": "hitl" } ] }

This would make archive_email require approval even if the workflow’s default mode is autonomous.

Last updated on