Skyvern Run Task
skyvern_run_taskStart a Skyvern browser-agent run against a website that publishes no API (search forms, logins, multi-step lookups), described in plain language, and wait briefly for it. Returns the extracted output if the run finishes within wait_seconds (default 20); otherwise returns finished false and a run_id to continue with skyvern_get_run. Runs take seconds to minutes and are billed to your Skyvern account per step. Requires your own Skyvern API key as _apiKey.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "https://apps.irs.gov/app/eos/",
"prompt": "Search for Wikimedia Foundation and return its EIN",
"_apiKey": "your-skyvern-api-key",
"wait_seconds": 20
},
"name": "skyvern_run_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Starting page, e.g. the search form. Omit to let Skyvern choose. | |
| prompt | Yes | What the agent should do and return, e.g. "Search for Wikimedia Foundation and return its EIN". | |
| _apiKey | No | Your Skyvern API key (from your Skyvern account settings). Every run is billed to your Skyvern account. | |
| max_steps | No | Cap on browser steps (billed per step). Default 25. | |
| wait_seconds | No | How long to wait for the result before returning the run_id (0 to 20, default 20). 0 starts the run and returns immediately. | |
| data_extraction_schema | No | Optional JSON Schema for the output; strongly recommended so the result is structured. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | No | ||
| output | No | ||
| run_id | No | ||
| source | No | ||
| status | No | ||
| app_url | No | ||
| warning | No | ||
| finished | No | ||
| max_steps | No | ||
| succeeded | No | ||
| created_at | No | ||
| step_count | No | ||
| finished_at | No | ||
| recording_url | No | ||
| failure_reason | No | ||
| screenshot_urls | No | ||
| cancel_requested | No |