Call an Actor
call-actorRun an Apify-compatible actor with your input, get a preview of collected items, and retrieve the full dataset via the returned dataset ID.
Instructions
Run an Actor and return its results. The shape of input depends on the Actor — read it from fetch-actor-details first. Returns a preview of the items plus a datasetId for retrieving the rest via get-dataset-items. A run that partially fails still returns what it collected; check get-actor-log for detail.
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": {
"actor": "<actor>"
},
"name": "call-actor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | Yes | Actor id, e.g. "jobs/ats-boards". | |
| input | No | The Actor's input object. | |
| waitSecs | No | How long to wait for the run before returning. If it is still going, you get the runId and can poll get-actor-run, then read results with get-dataset-items. The default sits under the 60-second request timeout most MCP clients use — set 0 to start a long crawl and return immediately. | |
| timeoutSecs | No | ||
| memoryMbytes | No | Heap ceiling for the Actor process. Raise it for a large crawl; a run that exceeds it is killed rather than exhausting the machine. |