run_task
Execute predefined Apify tasks with custom input parameters to automate web scraping and data extraction workflows.
Instructions
Run a task with optional input override.
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": {
"task_id": "<task_id>"
},
"name": "run_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | Task ID or username~task-name | |
| input_data | No | Input data override (merged with task's saved input) | |
| wait_for_finish | No | Wait up to this many seconds for the run to finish (max 300) |