Skip to main content
Glama

Run a browser task

browser_task
Destructive

Run a whole web task in pilotfish's cloud browser as you (your saved logins and site profiles, authorised sites, connected mailbox, residential IP, stealth and CAPTCHA settings). One task may span several sites and steps that depend on each other: pilotfish plans the parts itself. A task that names no site ("the best free course on X", "research Y") may be answered from a web search, with its links, and no browser; prices or availability for particular dates always come from the site. Returns the result. If the task needs you (a code, a CAPTCHA, a sign-in, a yes to a payment), you are sent to pilotfish's answer page; the task continues as soon as it is handled. A call that is cancelled or times out leaves the task running: get_job (list_jobs has its id) gets it, cancel_job stops it.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "task": "<task>"
    },
    "name": "browser_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskYesWhat to do, with every value that matters (dates, quantities, filters, what to report back).
waitNoWait for the result (default true). false: return the job id at once; check with get_job.
filesNoFiles the task may upload or read (the app's Attach files).
loginNoWhich of your accounts on these sites (each keeps its own sign-in, device and IP).
modelNoThe model every step runs on: gpt-6-luna (the default), gpt-5-mini or gpt-5-nano (OpenAI).
sitesNoFurther sites whose saved logins and profiles the task may use.
solveNoLet pilotfish clear CAPTCHAs and bot checks by itself. On by default; false sends every check to you.
regionNoExit country for a residential IP, e.g. "us" or "in". Omit: by the site's market and your settings.
stealthNoStealth browsing (a stable device fingerprint per site and account). On by default; false turns it off for this run.
accountsNoWhich saved account on each site, e.g. {"linkedin.com":"work"} ("" the main one). Omitted: the task's words, the site's default, else pilotfish asks.
ask_modeNoHow much the task asks the person: auto (default) only what it can't do without them; manual also every choice the task leaves open; accept_all decides every choice itself from the task, the session and the site. Sign-ins, codes and unapproved final steps are the person's in every mode.
identityNoRun as this identity (idn_…, a shared project's end user): its own logins, sessions, residential IP and device. Never the values themselves.
max_stepsNoBrowser actions across the whole run.
start_urlNoOpen this page first.
credentialsNoThe identity's saved logins to use, by id (cred_…).
pre_approvedNoOnly with the user's explicit say-so: irreversible steps that run without asking.
wait_secondsNoLongest wait before returning (the job carries on). Default 120, or 50 for a call without a progress token.
output_schemaNoJSON Schema (root type "object") for the answer: the result then gives it as JSON (Data:).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / ask_mode
      Added value: +{
      +  "description": "How much the task asks the person: auto (default) only what it can't do without them; manual also every choice the task leaves open; accept_all decides every choice itself from the task, the session and the site. Sign-ins, codes and unapproved final steps are the person's in every mode.",
      +  "enum": [
      +    "auto",
      +    "manual",
      +    "accept_all"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / output_schema
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "JSON Schema (root type \"object\") for the answer: the result then gives it as JSON (Data:).",
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
  3. Changed3 schema fields changed
    • changedInput schema / properties / model / description
      Previous value: -"gpt-6-luna (the default when neither model nor quality is given): every step on OpenAI's GPT-6 Luna. auto: Haiku does the task and Sonnet checks the answer. opus, sonnet or haiku (Claude), or gpt-5-mini or gpt-5-nano (OpenAI): every step of the task on that one model."New value: +"The model every step runs on: gpt-6-luna (the default), gpt-5-mini or gpt-5-nano (OpenAI)."
    • changedInput schema / properties / model / enum
      Previous value: -[
      -  "auto",
      -  "opus",
      -  "sonnet",
      -  "haiku",
      -  "gpt-6-luna",
      -  "gpt-5-mini",
      -  "gpt-5-nano"
      -]New value: +[
      +  "gpt-6-luna",
      +  "gpt-5-mini",
      +  "gpt-5-nano"
      +]
    • removedInput schema / properties / quality
      Removed value: -{
      -  "description": "Instead of one model: auto (Haiku does the task and Sonnet checks the answer), accurate (Opus throughout) or economy (Haiku with Opus above it). model, when given, wins.",
      -  "enum": [
      -    "auto",
      -    "economy",
      -    "accurate"
      -  ],
      -  "type": "string"
      -}
  4. First observed

TDQS

A4.3/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already flag open-world and destructive operation. The description adds substantial behavior: identity/login context, autonomous planning, human-in-the-loop answer page, async continuation after cancellation/timeout, and handling of payment confirmations, which is well beyond what the annotations convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single dense paragraph but is front-loaded with the core action and every sentence conveys operational context. It could be easier to scan with structure, but there is little filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex 18-parameter tool with no fixed output schema, the description covers the key operational model: multi-site planning, search fallback, HITL, async job recovery, and wait behavior. It stops short of explaining result shape or naming starting alternatives, but the rich schema and annotations fill most gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents all 18 parameters. The description only reinforces the wait/job-id behavior and does not add independent syntax or semantics for most parameters; the baseline 3 for high coverage is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb-and-resource ('Run a whole web task') and scopes it to multi-site, dependent-step tasks in pilotfish's cloud browser. It also distinguishes the no-site case that may be answered by web search without a browser, so an agent can tell what this tool is for.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear context for use: whole tasks spanning sites, tasks with no named site, and continuation after cancellation or timeout. However, it does not explicitly compare browser_task with starting alternatives such as run_saved_task or run_batch, leaving that routing to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.