You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -344,14 +344,14 @@ Use this guide to select the right tool for your task:
344
344
-**If you want to search the web for info:** use **search**
345
345
-**If you need complex research across multiple unknown sources:** use **agent**
346
346
-**If you want to analyze a whole site or section:** use **crawl** (with limits!)
347
-
-**If you need interactive browser automation** (click, type, navigate): use **scrape** + **interact**
347
+
-**If you need interactive browser automation** (click, type, navigate): use **interact** with a URL for a fresh page, or **scrape** + **interact** when you already scraped the page or need tighter scrape control
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "firecrawl-mcp",
3
-
"version": "3.21.4",
3
+
"version": "3.22.0",
4
4
"description": "MCP server for Firecrawl — search, scrape, and interact with the web. Supports both cloud and self-hosted instances. Features include web search, scraping, page interaction, batch processing, and LLM-powered content analysis.",
Copy file name to clipboardExpand all lines: src/index.ts
+72-13Lines changed: 72 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -2192,24 +2192,28 @@ server.addTool({
2192
2192
destructiveHint: false,// Transient page interactions only; does not delete monitors, jobs, or external sites.
2193
2193
},
2194
2194
description: `
2195
-
Interact with a previously scraped page in a live browser session. Scrape a page first with firecrawl_scrape, then use the returned scrapeId to click buttons, fill forms, extract dynamic content, or navigate deeper.
2195
+
Interact with a page in a live browser session: click buttons, fill forms, extract dynamic content, or navigate deeper.
2196
2196
2197
2197
**Best for:** Multi-step workflows on a single page — searching a site, clicking through results, filling forms, extracting data that requires interaction.
2198
-
**Requires:** A scrapeId from a previous firecrawl_scrape call (found in the metadata of the scrape response).
2198
+
**Two ways to target a page:**
2199
+
- Pass a \`url\` to interact directly. The session is opened for you in one call (use this for a fresh page).
2200
+
- Pass a \`scrapeId\` from a previous firecrawl_scrape to reuse that already-loaded page (cheaper when you just scraped it).
2199
2201
2200
2202
**Arguments:**
2201
-
- scrapeId: The scrape job ID from a previous scrape (required)
2203
+
- url: Page to interact with; opens a session for you (use this OR scrapeId)
2204
+
- scrapeId: Scrape job ID from a previous scrape, found in its metadata (use this OR url)
2202
2205
- prompt: Natural language instruction describing the action to take (use this OR code)
2203
2206
- code: Code to execute in the browser session (use this OR prompt)
2204
2207
- language: "bash", "python", or "node" (optional, defaults to "node", only used with code)
2205
-
- timeout: Execution timeout in seconds, 1-300 (optional, defaults to 30)
2208
+
- timeout: Interact execution timeout in seconds, 1-300 (optional, defaults to 30)
2209
+
- scrapeOptions: Optional scrape controls used only with url mode, such as waitFor, maxAge, proxy, or zeroDataRetention
2206
2210
2207
-
**Usage Example (prompt):**
2211
+
**Usage Example (prompt, direct via url):**
2208
2212
\`\`\`json
2209
2213
{
2210
2214
"name": "firecrawl_interact",
2211
2215
"arguments": {
2212
-
"scrapeId": "scrape-id-from-previous-scrape",
2216
+
"url": "https://example.com/products",
2213
2217
"prompt": "Click on the first product and tell me its price"
2214
2218
}
2215
2219
}
@@ -2230,31 +2234,86 @@ Interact with a previously scraped page in a live browser session. Scrape a page
0 commit comments