rtrvr.ai logo
rtrvr.ai
Blog
Book Demo
Pricing
API Docs

Getting Started

  • Introduction
  • Quick Start

Capabilities

  • Web Agent
  • Sheets Workflows

API

  • API Overview
  • Agent API
  • Scrape API
  • Browser as API/MCP

Advanced

  • Tool Calling
    • Direct Calls
    • MCP Servers
    • AI Tool Generator
    • Sheets Mapping
    • Custom JS Tools
  • Recordings
  • Webhooks
  • Schedules
DocsTool Calling

Tool Calling

Extend your agent's capabilities with MCP servers, custom JavaScript, and AI-generated integrations.

2 min read

rtrvr.ai agents aren't limited to just browsing. They can be extended with external APIs, databases, and custom logic using the Model Context Protocol (MCP) or secure JavaScript tools.

Direct Tool Calls

When you know exactly which tool to use, you can bypass the AI planner by using the @toolName syntax. This is highly efficient for repetitive tasks.

  • @toolName(args) - Call a specific tool with parameters.
  • @act(action='click submit') - Direct control over specific browser actions.
  • @extractToSheets(prompt='...') - Fast extraction across multiple open tabs.

MCP Servers

Connect to any MCP server via URL. We support both HTTP Streamable (SSE) and OAuth-protected servers. You can add these via the Chrome Extension for local context or via rtrvr.ai/cloud for server-side execution.

OAuth-protected servers require periodic reauthentication. You can manage these sessions directly within the extension or via your cloud dashboard.

AI Tool Generator

Our Tool Generator sub-agent can build integrations on the fly. Point the agent to an API documentation page, and it will generate the necessary code tools for you.

text
// Example Prompt:
"Use the onscreen API docs to create a tool that loads contacts into my HubSpot account."
Tools created via the Chrome Extension can be saved and reused within the rtrvr.ai Cloud environment.

Sheets Tool Mapping

In Sheets Workflows, you can map tool calls to run for every row. The agent can intelligently pull arguments from specific columns to populate tool parameters. Just include details in the prompt, and the agent can intelligently construct tool calls from the row context, ie: 'For each row upload as contact to HubSpot using loadContact tool'

Column A (Input)Column B (Action)
user@example.com@hubspot_lookup(email=A1)
admin@test.org@hubspot_lookup(email=A2)

Custom JavaScript Tools

Power users can write custom JavaScript tools that run securely in the browser. You can store API keys as default parameters; these keys remain local to your machine and are never sent to our servers.

Previous
API Overview
Next
Webhooks

Ready to automate?

Join teams using rtrvr.ai to build playful, powerful web automation workflows.

rtrvr.ai logo
rtrvr.ai

Retrieve, Research, Robotize the Web

By subscribing, you agree to receive marketing emails from rtrvr.ai. You can unsubscribe at any time.

Product

  • API & MCPNEW
  • Browser Extension
  • Cloud Platform
  • WhatsApp Bot

Use Cases

  • Vibe Scraping
  • Lead Enrichment
  • Agentic Form Filling
  • Web Monitoring
  • Social Media
  • Job Applications
  • Data Migration
  • AI Web Context

Compare

  • rtrvr vs Apify
  • rtrvr vs Bardeen
  • rtrvr vs Browserbase
  • rtrvr vs Browser Use
  • rtrvr vs Clay
  • rtrvr vs Claude
  • rtrvr vs Comet
  • rtrvr vs Firecrawl

Resources

  • Documentation
  • Blog
  • Pricing
  • Book Demo
  • Google Cloud Partner

Company

  • Privacy Policy
  • Terms of Service
  • Security Brief
support@rtrvr.ai

© 2026 rtrvr.ai. All rights reserved.

Made withfor the automation community