---
name: "xpay-firecrawl-firecrawl-interact"
description: "
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.

**Best for:** Multi-step workflows on a single page — searching a site, clicking through results, filling forms, extracting data that requires interaction.
**Requires:** A scrapeId from a previous firecrawl_scrape call (found in the metadata of the scrape response).

**Arguments:**
- scrapeId: The scrape job ID from a previous scrape (required)
- prompt: Natural language instruction describing the action to take (use this OR code)
- code: Code to execute in the browser session (use this OR prompt)
- language: \"bash\", \"python\", or \"node\" (optional, defaults to \"node\", only used with code)
- timeout: Execution timeout in seconds, 1-300 (optional, defaults to 30)

**Usage Example (prompt):**
```json
{
  \"name\": \"firecrawl_interact\",
  \"arguments\": {
    \"scrapeId\": \"scrape-id-from-previous-scrape\",
    \"prompt\": \"Click on the first product and tell me its price\"
  }
}
```

**Usage Example (code):**
```json
{
  \"name\": \"firecrawl_interact\",
  \"arguments\": {
    \"scrapeId\": \"scrape-id-from-previous-scrape\",
    \"code\": \"agent-browser click @e5\",
    \"language\": \"bash\"
  }
}
```
**Returns:** Execution result including output, stdout, stderr, exit code, and live view URLs.
"
version: "1.0.0"
price: "$0.03/call"
provider: "Firecrawl"
---

# Firecrawl Interact


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.

**Best for:** Multi-step workflows on a single page — searching a site, clicking through results, filling forms, extracting data that requires interaction.
**Requires:** A scrapeId from a previous firecrawl_scrape call (found in the metadata of the scrape response).

**Arguments:**
- scrapeId: The scrape job ID from a previous scrape (required)
- prompt: Natural language instruction describing the action to take (use this OR code)
- code: Code to execute in the browser session (use this OR prompt)
- language: "bash", "python", or "node" (optional, defaults to "node", only used with code)
- timeout: Execution timeout in seconds, 1-300 (optional, defaults to 30)

**Usage Example (prompt):**
```json
{
  "name": "firecrawl_interact",
  "arguments": {
    "scrapeId": "scrape-id-from-previous-scrape",
    "prompt": "Click on the first product and tell me its price"
  }
}
```

**Usage Example (code):**
```json
{
  "name": "firecrawl_interact",
  "arguments": {
    "scrapeId": "scrape-id-from-previous-scrape",
    "code": "agent-browser click @e5",
    "language": "bash"
  }
}
```
**Returns:** Execution result including output, stdout, stderr, exit code, and live view URLs.


**Provider:** Firecrawl
**Price:** $0.03/call
**Pricing model:** Flat rate per call

## When to Use

Use this tool when you need to 
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.

**best for:** multi-step workflows on a single page — searching a site, clicking through results, filling forms, extracting data that requires interaction.
**requires:** a scrapeid from a previous firecrawl_scrape call (found in the metadata of the scrape response).

**arguments:**
- scrapeid: the scrape job id from a previous scrape (required)
- prompt: natural language instruction describing the action to take (use this or code)
- code: code to execute in the browser session (use this or prompt)
- language: "bash", "python", or "node" (optional, defaults to "node", only used with code)
- timeout: execution timeout in seconds, 1-300 (optional, defaults to 30)

**usage example (prompt):**
```json
{
  "name": "firecrawl_interact",
  "arguments": {
    "scrapeid": "scrape-id-from-previous-scrape",
    "prompt": "click on the first product and tell me its price"
  }
}
```

**usage example (code):**
```json
{
  "name": "firecrawl_interact",
  "arguments": {
    "scrapeid": "scrape-id-from-previous-scrape",
    "code": "agent-browser click @e5",
    "language": "bash"
  }
}
```
**returns:** execution result including output, stdout, stderr, exit code, and live view urls.
. This is part of the Firecrawl provider on xpay✦.

## MCP Connection

Connect to xpay✦ to access this tool (and 12+ others):

```json
{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}
```

For Claude Code:
```bash
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
```

## How to Execute

Use the xpay✦ meta-tools to run this tool:

1. **`xpay_details`** — Get full input schema: `xpay_details("firecrawl/firecrawl_interact")`
2. **`xpay_run`** — Execute: `xpay_run("firecrawl/firecrawl_interact", { ...inputs })`

## Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `language` | string | No |  |
| `code` | string | No |  |
| `scrapeId` | string | Yes |  |
| `prompt` | string | No |  |
| `timeout` | number | No |  |

## Pricing

- **Cost:** $0.03/call
- **Balance check:** Use `xpay_balance` to check remaining credits
- Get your API key at [xpay.tools](https://xpay.tools/account/settings/api-keys/) — $5 free credits included

## Related Skills

- [Firecrawl (all tools)](https://xpay.tools/skills/firecrawl/SKILL.md) — 13 tools
- [Firecrawl Scrape](https://xpay.tools/skills/firecrawl/firecrawl-scrape/SKILL.md) — $0.03/call
- [Firecrawl Map](https://xpay.tools/skills/firecrawl/firecrawl-map/SKILL.md) — $0.02/call
- [Firecrawl Search](https://xpay.tools/skills/firecrawl/firecrawl-search/SKILL.md) — $0.03/call
- [Firecrawl Crawl](https://xpay.tools/skills/firecrawl/firecrawl-crawl/SKILL.md) — $0.05/call
- [Firecrawl Check Crawl Status](https://xpay.tools/skills/firecrawl/firecrawl-check-crawl-status/SKILL.md) — $0.03/call

## Links

- Tool page: https://xpay.tools/firecrawl/firecrawl-interact/
- Provider: https://xpay.tools/firecrawl/
- All tools: https://xpay.tools/explore
