Run a batch of tasks
run_batchRun many independent browser tasks (up to 100) in one call: pilotfish runs them one after another in its cloud browser, as browser_task would each, and collects their results together. Use it for the same kind of task over a list (each product's price, each company's careers page); for one task that spans several sites, use browser_task. The options here apply to every task unless a task sets its own. Each task is charged as a task when it runs; if credits run out the rest are skipped, never run or charged. Returns the batch's status and each task's result so far; get_batch waits for the rest, cancel_batch 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": {
"tasks": "<tasks>"
},
"name": "run_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | A name for the batch. | |
| wait | No | Wait for the result (default true). false: return the job id at once; check with get_job. | |
| login | No | Which of your accounts on these sites (each keeps its own sign-in, device and IP). | |
| model | No | The model every step runs on: gpt-6-luna (the default), gpt-5-mini or gpt-5-nano (OpenAI). | |
| sites | No | Further sites whose saved logins and profiles the task may use. | |
| solve | No | Let pilotfish clear CAPTCHAs and bot checks by itself. On by default; false sends every check to you. | |
| tasks | Yes | The tasks, in the order to run them: each its words, or {task, start_url?, region?, model?, max_steps?, output_schema?}. | |
| region | No | Exit country for a residential IP, e.g. "us" or "in". Omit: by the site's market and your settings. | |
| stealth | No | Stealth browsing (a stable device fingerprint per site and account). On by default; false turns it off for this run. | |
| accounts | No | Which 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_mode | No | 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. | |
| identity | No | Run as this identity (idn_…, a shared project's end user): its own logins, sessions, residential IP and device. Never the values themselves. | |
| max_steps | No | Browser actions per task. | |
| start_url | No | Open this page first. | |
| credentials | No | The identity's saved logins to use, by id (cred_…). | |
| wait_seconds | No | Longest wait before returning (the job carries on). Default 120, or 50 for a call without a progress token. | |
| output_schema | No | JSON Schema (root type "object") for the answer: the result then gives it as JSON (Data:). |