stop_web_task
Stop running web automation tasks to cancel unnecessary operations and free browser resources. Use when you need to halt long-running web activities that are no longer required.
Instructions
Stop a running web browsing task.
Immediately halts task execution and cleans up browser resources. Use this
when you need to cancel a long-running task that's no longer needed.
Args:
task_id: Task ID from start_web_task()
Returns:
Dictionary containing:
- ok: Boolean indicating success
- message: Confirmation message
- task_id: The stopped task ID
- error: Error message (if task not found or already completed)
Examples:
- stop_web_task("abc-123-def")
Note: Cannot stop tasks that are already completed or failed.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
task_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
}
},
"required": [
"task_id"
],
"type": "object"
}