The Apify MCP connector routes your AI agent's tool calls to Apify's own MCP server through Scalekit. Each user connects their own Apify access token once, and Scalekit sends it with every call, so your agent never handles credentials. It comes with 16 tools.
- Tools
- 16
- What they doRead · write · destructive
- 8 · 5 · 38 read5 write3 destructive
- Users sign in with
- Access token
Setup
Install the SDK
Terminal window npm install @scalekit-sdk/node dotenvTerminal window pip install scalekit-sdk-python python-dotenvSet your credentials
Add your Scalekit credentials to your
.envfile. Find values in app.scalekit.com > Developers > API Credentials..env SCALEKIT_ENVIRONMENT_URL=<your-environment-url>SCALEKIT_CLIENT_ID=<your-client-id>SCALEKIT_CLIENT_SECRET=<your-client-secret>Create the Apify MCP connection
In AgentKit > Connections, create an Apify MCP connection. The name you give it is the
connection_nameyour code passes. See Configure connections.Console steps with screenshots
Register your Apify API token with Scalekit so it can authenticate and proxy Actor requests on behalf of your users. Apify MCP uses API token authentication.
-
Get an Apify API token
-
Go to console.apify.com and sign in or create a free account.
-
In the left sidebar, click your avatar → Settings → API & Integrations → API tokens.
-
Click + Create new token. Give it a name (e.g.,
Agent Auth) and click Create token. -
Copy the token immediately — it will not be shown again.
-
-
Create a connection in Scalekit
-
In Scalekit dashboard, go to AgentKit > Connections. Find Apify MCP and click Create.
-
Note the Connection name — you will use this as
connection_namein your code (e.g.,apifymcp).
-
-
Add a connected account
Connected accounts link a specific user identifier in your system to an Apify API token. Add one in the dashboard to test. In production, each user adds their own through the authorization link: they enter their credentials on the page it opens.
In the dashboard, to test
-
Open the connection you created and click the Connected Accounts tab → Add account.
-
Fill in:
- Your User’s ID — a unique identifier for this user in your system (e.g.,
user_123) - Apify Token — the token you copied in step 1
- Your User’s ID — a unique identifier for this user in your system (e.g.,
-
Click Save.
From your backend, if your app already has the credentials
For example, when users enter them on a settings page in your app:
import { ConnectorStatus } from '@scalekit-sdk/node'const authorizationDetails = {details: {case: 'staticAuth',value: { details: { token: 'apify_api_...' } },},};let { connectedAccount } = await scalekit.actions.upsertConnectedAccount({connectionName: 'apifymcp',identifier: 'user_123', // your user's unique IDauthorizationDetails,});// Make sure the account is ACTIVE before the first tool call.if (connectedAccount?.status !== ConnectorStatus.ACTIVE) {({ connectedAccount } = await scalekit.actions.upsertConnectedAccount({connectionName: 'apifymcp',identifier: 'user_123',authorizationDetails,}));}authorization_details = {"static_auth": {"token": "apify_api_..."}}response = scalekit_client.actions.upsert_connected_account(connection_name="apifymcp",identifier="user_123",authorization_details=authorization_details,)# Make sure the account is ACTIVE before the first tool call.if response.connected_account.status != "ACTIVE":response = scalekit_client.actions.upsert_connected_account(connection_name="apifymcp",identifier="user_123",authorization_details=authorization_details,) -
-
Authorize a user and make your first call
quickstart.mts import { ScalekitClient } from '@scalekit-sdk/node'import 'dotenv/config'import { createInterface } from 'node:readline/promises'const scalekit = new ScalekitClient(process.env.SCALEKIT_ENVIRONMENT_URL,process.env.SCALEKIT_CLIENT_ID,process.env.SCALEKIT_CLIENT_SECRET,)const actions = scalekit.actionsconst connector = 'apifymcp'const identifier = 'user_123'// Generate an authorization link for the userconst { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })console.log('Authorize Apify MCP:', link)const rl = createInterface({ input: process.stdin, output: process.stdout })await rl.question('Press Enter after authorizing...')rl.close()// Make your first callconst result = await actions.executeTool({connector,identifier,toolName: 'apifymcp_search_actors',toolInput: {},})console.log(result)Terminal window npx tsx quickstart.mtsquickstart.py import osfrom scalekit import ScalekitClientfrom dotenv import load_dotenvload_dotenv()scalekit_client = ScalekitClient(env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),client_id=os.getenv("SCALEKIT_CLIENT_ID"),client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),)actions = scalekit_client.actionsconnection_name = "apifymcp"identifier = "user_123"# Generate an authorization link for the userlink_response = actions.get_authorization_link(connection_name=connection_name,identifier=identifier,)print("Authorize Apify MCP:", link_response.link)input("Press Enter after authorizing...")# Make your first callresult = actions.execute_tool(tool_input={},tool_name="apifymcp_search_actors",connection_name=connection_name,identifier=identifier,)print(result)Terminal window python quickstart.pyEach user opens the link once and enters their Apify MCP server credentials there. If your app already has a user's credentials, add the account from your backend instead, as the console steps above show. See Authorize a user for the full flow and statuses.
Tools
Pass the exact name toexecute_toolapifymcp_fetch_actor_detailsGet detailed information about an Actor by its ID or full name (format: 'username/name', e.g.Read-onlyFetch Actor Details
Get detailed information about an Actor by its ID or full name (format: 'username/name', e.g. 'apify/rag-web-browser'). WARNING: Omitting the 'output' parameter returns ALL fields including the full README, which can be extremely token-heavy. Always pass 'output' with only the fields you need. To get the input schema before calling an Actor, use: {"inputSchema": true}. When to use: - You need an Actor's input schema before calling it — use output: {"inputSchema": true} - User wants details about a specific Actor (pricing, description, README) - You need to list MCP tools provided by an MCP server Actor — use output: {"mcpTools": true} When NOT to use: - You already have the input schema and are ready to run — use apifymcp_call_actor directly
Inputs
actorstringrequired- Actor ID or full name in the format "username/name", e.g., "apify/rag-web-browser".
outputobject- Specify which information to include in the response to save tokens.
apifymcp_fetch_actor_mcp_tool_listList an Actor's MCP tools with each tool's name, description, input schema, annotations, and metadata, as the server reports them.Read-onlyFetch Actor Mcp Tool List
List an Actor's MCP tools with each tool's name, description, input schema, annotations, and metadata, as the server reports them. call-actor-mcp-tool calls one of them by name. Each call asks the server again; nothing is cached. It connects with your Apify API token. Connecting can start a Server Actor run in your account, kept until its idle timeout; a multi-tenant Server Actor charges per event. USAGE: - Use when the user asks which MCP tools an Actor provides, or before calling one of them. USAGE EXAMPLES: - user_input: What tools does username/name provide?
Inputs
actorstringrequired- The MCP server Actor: its ID, or its name in the "username/name" form.
apifymcp_fetch_apify_docsFetch the full content of an Apify or Crawlee documentation page by its URL.Read-onlyFetch Apify Docs
Fetch the full content of an Apify or Crawlee documentation page by its URL. Use this after finding a relevant page with apifymcp_search_apify_docs. When to use: - You have a documentation URL and need the complete page content - User asks for detailed documentation on a specific Apify or Crawlee page When NOT to use: - You don't have a URL yet — use apifymcp_search_apify_docs first
Inputs
urlstringrequired- Full URL of the Apify or Crawlee documentation page (e.g. 'https://docs.apify.com/platform/actors')
apifymcp_get_actor_runGet detailed information about a specific Actor run by runId.Read-onlyGet Actor Run
Get detailed information about a specific Actor run by runId. Returns run metadata (status, timestamps), performance stats, and resource IDs (datasetId, keyValueStoreId, requestQueueId). When to use: - You have a runId from apifymcp_call_actor (async mode) and want to check its status - User asks about details of a specific run started outside the current conversation When NOT to use: - The run was just started via apifymcp_call_actor in sync mode — results are already in the response - You want the output data — use apifymcp_get_actor_output with the datasetId
Inputs
runIdstringrequired- The ID of the Actor run
waitSecsinteger- Maximum seconds to wait for the run to reach a terminal state (SUCCEEDED, FAILED, ABORTED, TIMED-OUT).
0 returns immediately with the current status. Cap: 45. Default: 30.default
30
apifymcp_get_dataset_itemsRetrieve items from a dataset with pagination, field selection, and sorting.Read-onlyGet Dataset Items
Retrieve items from a dataset with pagination, field selection, and sorting. Use clean=true to skip empty items and hidden fields. Supports dot notation for nested field selection.
Inputs
datasetIdstringrequired- Dataset ID, name (resolved against your own datasets), or full name as username~name.
cleanboolean- If true, returns only non-empty items and skips hidden fields (starting with #). Shortcut for skipHidden=true and skipEmpty=true.
descboolean- If true, results are returned in reverse order (newest to oldest).
fieldsstring- Comma-separated list of fields to include in results. Fields in output are sorted as specified. Use dot notation for nested objects (e.g. "metadata.url"); the server auto-flattens parent prefixes and returns flat keys, unless the parent itself is listed (e.g. "metadata,metadata.url" returns metadata whole). A dotted path to or through an array (e.g. "results.url") returns nothing: select its top-level field (e.g. "results") for every element. Items that have none of the requested fields come back as {}, or are dropped when clean=true.
flattenstring- Comma-separated list of fields to flatten (e.g. flatten="metadata" turns {"metadata":{"url":"x"}} into {"metadata.url":"x"}). Normally derived automatically from dot-notation in `fields`; specify only as a diagnostic override.
limitinteger- Maximum number of items to return. Default is 20.
offsetnumber- Number of items to skip at the start. Default is 0.
omitstring- Comma-separated list of fields to exclude from results.
apifymcp_get_key_value_store_recordRetrieve a record (JSON, text, or binary) from a key-value store by its key.Read-onlyGet Key Value Store Record
Retrieve a record (JSON, text, or binary) from a key-value store by its key.
Inputs
keyValueStoreIdstringrequired- Key-value store ID, name (resolved against your own key-value stores), or full name as username~name.
recordKeystringrequired- Key of the record to retrieve.
apifymcp_search_actorsSearch the Apify Store to FIND and DISCOVER what scraping tools/Actors exist for specific platforms or use cases.Read-onlySearch Actors
Search the Apify Store to FIND and DISCOVER what scraping tools/Actors exist for specific platforms or use cases. This tool provides INFORMATION about available Actors — it does NOT retrieve actual data or run any scraping tasks. When to use: - Find what scraping tools exist for a platform (e.g. 'What tools can scrape Instagram?') - Discover available Actors for a use case (e.g. 'Find an Actor for Amazon products') - Browse existing solutions before calling an Actor When NOT to use: - User wants immediate data retrieval — use apifymcp_rag_web_browser instead - You already know the Actor ID — use apifymcp_fetch_actor_details or apifymcp_call_actor directly Always do at least two searches: first with broad keywords, then with more specific terms if needed.
Inputs
keywordsstring- Space-separated keywords used to search pre-built solutions (Actors) in the Apify Store.
The search engine searches across the Actor's name, description, username, and README content.
Pass empty string ("") whenever the user has NOT named a specific platform
(Instagram, Amazon, Google Maps) or a specific data type (posts, products,
weather, news). Empty keywords return Actors in the Apify Store's default
sort order, which is popularity in practice (most-used Actors first). Do NOT
use ranking words ("top", "best", "popular") or bare task words ("scraper",
"crawler", "extractor") as keyword values — they are not Actor names and
produce noisy matches against README content.
Otherwise, follow these rules:
- Use 1-3 simple keyword terms maximum (e.g., "Instagram posts", "Twitter", "Amazon products")
- Actors are named using platform or service name together with the type of data or task they perform
- The most effective keywords are specific platform names (Instagram, Twitter, TikTok) and specific data types (posts, products, profiles, weather, news, reviews, comments)
- If a user asks about "fetching Instagram posts", use "Instagram posts" as keywords
- The goal is to find Actors that specifically handle the platform and data type the user mentioned
Examples:
✅ "Instagram posts", "Twitter", "Amazon products", "TikTok comments"
✅ "" (empty) — returns the most popular Actors store-wide
❌ "Instagram posts profiles comments hashtags reels stories followers..." (too long)
❌ "top popular actors", "best scrapers", "trending" — ranking words aren't Actor keywords; pass "" instead
❌ "scraper", "extractor", "web crawler" — bare task words aren't Actor keywords; pass "" insteaddefault
limitinteger- The maximum number of Actors to return (max = 10, default = 5).default
5 offsetinteger- The number of elements to skip from the start (default = 0). Has no effect when keywords are set: every offset returns the first results.default
0 useCasestring- Optional. One plain sentence on what the user wants to achieve with the Actor, for example "compare competitor prices" (max 1024 characters). Never include personal information (names, emails, phone numbers, addresses, account details), URLs, secrets, API tokens or credentials. Respect the user's privacy: when unsure, leave it out.
apifymcp_search_apify_docsSearch Apify and Crawlee documentation using full-text search.Read-onlySearch Apify Docs
Search Apify and Crawlee documentation using full-text search. Use keywords only, not full sentences. Select the documentation source explicitly via docSource. Sources: - 'apify': Platform docs, SDKs (JS, Python), CLI, REST API, Academy, Actor development - 'crawlee-js': Crawlee JavaScript web scraping library - 'crawlee-py': Crawlee Python web scraping library When to use: - User asks how to use Apify APIs, SDK, or platform features - You need to look up Apify or Crawlee documentation When NOT to use: - You already have a documentation URL — use apifymcp_fetch_apify_docs directly
Inputs
querystringrequired- Algolia full-text search query to find relevant documentation pages. Use only keywords, do not use full sentences or questions. For example, "standby actor" will return documentation pages that contain the words "standby" and "actor".
docSourcestring- Documentation source to search. Defaults to "apify".
• "apify" - Apify
• "crawlee-js" - Crawlee (JavaScript)
• "crawlee-py" - Crawlee (Python)one of
apifycrawlee-jscrawlee-pydefaultapify limitnumber- Maximum number of search results to return. Defaults to 5. Maximum is 20.
You can increase this limit if you need more results, but keep in mind that the search results are limited to the most relevant pages.default
5 offsetnumber- Offset for the search results. Defaults to 0.
Use this to paginate through the search results. For example, if you want to get the next 5 results, set the offset to 5 and limit to 5.default
0
apifymcp_apify__web_fetchFetches one URL and returns its content as a JSON object with a field per requested format, plus metadata such as the final URL, HTTP status, content type and page title.WriteApify Web Fetch
Fetches one URL and returns its content as a JSON object with a field per requested format, plus metadata such as the final URL, HTTP status, content type and page title. formats selects markdown, html, text, links (a deduplicated list) or raw (the original bytes); when omitted, an HTML or PDF page comes back as markdown, other text as text and binary content as raw. The page is fetched without running JavaScript unless wait is set, which renders it in a real browser and waits the given milliseconds for late-loaded content; a rendered request is slower. The Actor handles common bot protection and rate limits, so it also retrieves pages where a plain HTTP fetch is blocked. Use it when the user gives a URL and wants its content, data or links, or an answer that requires reading that page. It does not search the web; it needs a URL. To find pages by query, use apify--web-search. Example: {"method":"GET","path":"/","query":{"url":"https://example.com","formats":["markdown"]}} multi-tenant: requests are charged per event and start no run in your account. The request is sent once, with no retries and without following redirects. A JSON, text, or XML response body is returned as text, cut at 262144 bytes; other content types are not returned. Use this tool instead of the "send-server-actor-request" if user requests this specific Actor. Operations: - GET / [url:string required, formats:array, unwrap:boolean, headers:string, wait:integer]: Fetch a URL. - POST / {url:string required, formats:array, unwrap:boolean, headers:object, wait:integer}: Fetch a URL. fetch-actor-details with {"actor":"apify/web-fetch","output":{"serverInterface":"GET /"}} returns one operation in full.
Inputs
methodstringrequired- HTTP method of the operation.one of
GETPOST pathstringrequired- Always "/".
bodystring- The JSON request body, sent as application/json. Not allowed with GET.
queryobject- url (required; http(s) only - for any other scheme, such as ftp:, tell the user this tool cannot fetch it rather than substituting a different URL), formats (array of markdown, html, text, links, raw), unwrap (boolean; returns the first producible format as the response body instead of a JSON object), headers (extra request headers as a JSON string), wait (milliseconds, 1 to 60000; renders the page in a real browser and waits for late-loaded content).
apifymcp_apify__web_searchRuns one web search and returns one page of organic results as JSON: title, URL, snippet and position of each result, with publication date, publisher and sublinks when the search engine provides them.WriteApify Web Search
Runs one web search and returns one page of organic results as JSON: title, URL, snippet and position of each result, with publication date, publisher and sublinks when the search engine provides them. provider picks google (the default) or duckduckgo; maxResults caps the results, and omitting it returns the whole page, about 10; countryCode and languageCode localize the ranking; dateFrom and dateTo (YYYY-MM-DD) bound the publication date; allowedDomains and blockedDomains (up to 10 hostnames each, subdomains included) restrict or exclude sites. Use it when the user wants links to choose from, wants to know which pages exist for a topic, or asks a question that a result title or snippet answers. It does not fetch page content; it returns links and snippets only. To read a result page, use apify--web-fetch. Example: {"method":"GET","path":"/","query":{"query":"latest AI agent payment protocols","maxResults":5}} multi-tenant: requests are charged per event and start no run in your account. The request is sent once, with no retries and without following redirects. A JSON, text, or XML response body is returned as text, cut at 262144 bytes; other content types are not returned. Use this tool instead of the "send-server-actor-request" if user requests this specific Actor. Operations: - GET / [query:string required, provider:string, maxResults:integer, languageCode:string, countryCode:string, +5 more]: Run a search. - POST / {query:string required, provider:string, maxResults:integer, languageCode:string, countryCode:string, +5 more}: Run a search. fetch-actor-details with {"actor":"apify/web-search","output":{"serverInterface":"GET /"}} returns one operation in full.
Inputs
methodstringrequired- HTTP method of the operation.one of
GETPOST pathstringrequired- Always "/".
bodystring- The JSON request body, sent as application/json. Not allowed with GET.
queryobject- query (required; operators such as site: pass through unchecked), provider (google, the default, or duckduckgo), maxResults (integer; omitted returns the whole page), languageCode (ISO 639-1, such as en or pt-BR), countryCode (ISO 3166-1 alpha-2, such as US or CZ), location (a place name, google only), dateFrom and dateTo (YYYY-MM-DD), allowedDomains and blockedDomains (arrays of up to 10 hostnames).
apifymcp_call_actor_mcp_toolCall one tool on an Actor's MCP server and return its result.WriteCall Actor Mcp Tool
Call one tool on an Actor's MCP server and return its result. fetch-actor-mcp-tool-list lists the Actor's MCP tools and their input schemas. It connects with your Apify API token. Connecting can start a Server Actor run in your account, kept until its idle timeout; a multi-tenant Server Actor charges per event. What the tool itself does depends on the Actor. Example call: {"actor": "username/name", "tool": "search", "arguments": {"query": "apify"}} USAGE: - Use when the user asks to call a tool on an Actor's MCP server. USAGE EXAMPLES: - user_input: Use the search tool of username/name to look up apify
Inputs
actorstringrequired- The MCP server Actor: its ID, or its name in the "username/name" form.
toolstringrequired- The name of the tool on the Actor's MCP server.
argumentsobject- The tool's arguments, matching its input schema. Omit for a tool that takes none.
apifymcp_report_problemReport a problem with Apify's MCP tools or Actors to the Apify team.WriteReport a Problem
Report a problem with Apify's MCP tools or Actors to the Apify team. Call it when a tool or Actor is missing, errors, times out, or returns a confusing, wrong, or empty result, or when you cannot complete the user's request with the available tools. Put what you were doing and what went wrong in `message`. Do NOT include personal data, credentials, secrets, or verbatim private conversation content — describe the issue in your own words.
Inputs
messagestringrequired- What happened: the problem you hit. Required. Keep it to a few sentences (max 2000 characters).
actorIdstring- Optional. The Actor this problem is about, e.g. apify/rag-web-browser.
actorRunIdstring- Optional. The Actor run this problem is about.
relatedToolsarray- Optional. Names of the MCP tools involved in this problem (up to 20).
apifymcp_send_server_actor_requestSend one HTTP request to an Actor Server: the HTTP API of a Server Actor, documented in its API schema (OpenAPI) and README.WriteSend Server Actor Request
Send one HTTP request to an Actor Server: the HTTP API of a Server Actor, documented in its API schema (OpenAPI) and README. fetch-actor-details with output.serverInterface returns the documented operations with their parameters. Give the method, the path, and optionally query parameters and a JSON body; the Actor Server's host and your Apify API token are added for you. Only an Actor with an Actor Server and an API schema takes requests here; the Actor accepts or rejects the method and path. A request to a single-tenant Actor Server can start a run of the Actor in your account, kept until its idle timeout; a multi-tenant Actor Server charges per event. The request is sent once, with no retries and without following redirects. A JSON, text, or XML response body is returned as text, cut at 262144 bytes; other content types are not returned. Example call: {"actor": "apify/rag-web-browser", "method": "GET", "path": "/search", "query": {"query": "AI news", "maxResults": 3}} USAGE: - Use when the Actor that fits the user's request has an Actor Server, and its API schema or README names the endpoint for the task. - Fits requests for one or a few results returned in the HTTP response. Larger batches depend on the endpoint and the response size and time limits. USAGE EXAMPLES: - user_input: Search the web for the latest AI news and read the top pages with apify/rag-web-browser - user_input: Read https://docs.apify.com as Markdown with apify/rag-web-browser
Inputs
actorstringrequired- The Actor: its ID, or its name in the "username/name" form, such as "apify/web-fetch".
methodstringrequired- HTTP method: GET, POST, PUT, PATCH, or DELETE. The Actor accepts or rejects it.one of
GETPOSTPUTPATCHDELETE pathstringrequired- The path of an operation in the Actor API schema, starting with /. Take it from the schema; do not guess it. A query string written into the path is sent too.
bodystring- The JSON request body, sent as application/json. Not allowed with GET.
queryobject- Query parameters of the operation, by name. A boolean is sent as true or false, and an array as a repeated parameter (name=a&name=b), or comma-joined (name=a,b) where the operation documents the parameter so. Added to a query string in the path.
apifymcp_abort_actor_runAbort an Actor run that is currently starting or running.DestructiveAbort Actor Run
Abort an Actor run that is currently starting or running. Has no effect on runs that are already finished, failed, or timed out.
- Idempotent
Inputs
runIdstringrequired- The ID of the Actor run to abort.
gracefullyboolean- If true, the Actor run will abort gracefully with a 30-second timeout.
apifymcp_call_actorCall any Actor from the Apify Store.DestructiveCall Actor
Call any Actor from the Apify Store. By default waits for completion and returns results with a dataset preview. Use async mode to start a run in the background and get a runId immediately. Workflow: 1. Use apifymcp_fetch_actor_details with output: {"inputSchema": true} to get the Actor's exact input schema 2. Call this tool with the actor name and input matching that schema exactly 3. Use apifymcp_get_actor_output with the returned datasetId to fetch full results if needed For MCP server Actors, use format 'actorName:toolName' (e.g. 'apify/actors-mcp-server:fetch-apify-docs'). Use dedicated Actor tools (e.g. apifymcp_rag_web_browser) when available instead of this tool. When NOT to use: - You don't know the Actor's input schema — use apifymcp_fetch_actor_details first
Inputs
actorstringrequired- The Actor to call: its ID, or its name in the "username/name" form (e.g., "apify/rag-web-browser").
inputobjectrequired- The input JSON to pass to the Actor. Required.
callOptionsobject- Optional run config: memory (MB), timeout (s), build, maxItems (pay-per-result cap), maxTotalChargeUsd (pay-per-event cap).
waitSecsinteger- Seconds to wait for completion (0–45, default 30). Returns with current run status if not terminal within waitSecs.default
30
apifymcp_rag_web_browserWeb browser for AI agents and RAG pipelines.DestructiveRAG Web Browser
Web browser for AI agents and RAG pipelines. Queries Google Search, scrapes the top N pages, and returns content as Markdown. Can also scrape a specific URL directly. When to use: - User wants current/immediate data (e.g. 'Get flight prices for tomorrow', 'What's the weather today?') - User needs to fetch specific content now (e.g. 'Fetch news from CNN', 'Get product info from Amazon') - User has time indicators like 'today', 'current', 'latest', 'recent', 'now' When NOT to use: - User needs repeated/scheduled scraping of a specific platform — search for a dedicated Actor using apifymcp_search_actors instead
Inputs
querystringrequired- Google Search keywords or a specific URL to scrape. Supports advanced search operators.
maxResultsinteger- Maximum number of top Google Search results to scrape and return. Ignored when query is a direct URL. Higher values increase response time and compute cost significantly — keep low (1-3) for latency-sensitive use cases. Default: 3.default
3 outputFormatsarray- Output formats for the scraped page content. Options: 'markdown', 'text', 'html' (default: ['markdown'])
waitSecsinteger- Max seconds (0–45, default 30) to cap the wait for the Actor run to reach terminal state. For long-running Actors the response returns at the cap with the current run status; follow `nextStep` to poll via get-actor-run. Set to 0 to fire-and-forget.default
30
No tools match.
Workflows
Tool calling
- Use
apifymcp_search_actorsto discover Actors for a specific platform or use case before deciding which to run. - Use
apifymcp_fetch_actor_detailsto retrieve an Actor’s input schema before calling it — always passoutput: { inputSchema: true }to keep the response concise. - Use
apifymcp_call_actorto run an Actor synchronously, or withasync: truefor long-running tasks. - Use
apifymcp_get_actor_runto poll the status of an async run, andapifymcp_get_dataset_itemsto read results from the run’s dataset once complete. - Use
apifymcp_rag_web_browserwhen you need real-time web content for LLM grounding — it returns clean Markdown from the top search result pages.
const toolResponse = await actions.executeTool({ connector: 'apifymcp', identifier: 'user_123', toolName: 'apifymcp_fetch_actor_details', toolInput: { actor: 'apify/web-scraper', },});console.log('Actor details:', toolResponse.data);tool_response = actions.execute_tool( connection_name='apifymcp', identifier='user_123', tool_name='apifymcp_fetch_actor_details', tool_input={ "actor": "apify/web-scraper", },)print("Actor details:", tool_response)