Introducing the Dify plugin version of Browser Use - a powerful tool that enables AI agents to control and interact with web browsers, providing seamless automation for web-based tasks.
Author: lysonober
Version: 0.0.1
Type: tool
The Browser Use Dify Plugin provides a comprehensive integration between Dify AI agents and the Browser Use platform, enabling AI agents to control and interact with web browsers. This plugin allows AI agents to automate web tasks, retrieve browser session data, and manage browser automation workflows through a simple and consistent interface.
| Tool Name | Description | Use Case Scenario |
|---|---|---|
| ping | Checks server connection status to verify API availability | An AI agent needs to verify if the Browser Use service is operational before attempting to run web automation tasks |
| me | Validates API key and returns user information | Before starting a session, an agent verifies that the provided API credentials are valid and have the necessary permissions |
| check_balance | Retrieves user's API credit balance | A user wants to know how many credits they have remaining before running a potentially expensive automation task |
| run_task | Creates and runs browser automation tasks | A marketing team uses an AI agent to automate competitor research by having it visit multiple websites and extract pricing information |
| get_task_status | Retrieves current status of a specific task | A user wants to check if their web scraping task has completed without viewing the full details |
| get_task | Retrieves comprehensive task details | After a task completes, a user needs to analyze the full output, including any errors or extracted data |
| stop_task | Permanently stops a running task | A user notices their automation is visiting incorrect websites and wants to immediately terminate the process |
| list_tasks | Lists all tasks with pagination support | A team manager wants to review all automation tasks run in the past week to analyze usage patterns |
| pause_task | Temporarily pauses a running task | During a complex form-filling process, a user wants to pause the automation to manually verify some information before continuing |
| resume_task | Resumes a previously paused task | After reviewing the paused automation state, the user is ready to continue the process from where it left off |
| get_task_media | Retrieves media recordings from a task | A QA team wants to review the visual recording of an automated test to understand why a specific step failed |
| get_task_gif | Gets an animated GIF of the task execution | A user wants to share a quick visual demonstration of their automation with colleagues without sharing the full recording |
All tools in this plugin support two types of responses:
JSON Response
Text Response
Checks the Browser Use API server connection status.
Parameters:
None required
Response:
Validates the API key and returns user account information.
Parameters:
None required
Response:
Retrieves the current credit balance for the user's account.
Parameters:
None required
Response:
Creates and executes a browser automation task based on natural language instructions.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| task | string | Yes | Natural language description of the task to perform |
| save_browser_data | boolean | No | Whether to save browser session data for future tasks (default: false) |
Success Response:
Error Response:
Retrieves the current status of a specific task.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| task_id | string | Yes | The unique identifier of the task |
Response:
Retrieves comprehensive details about a specific task.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| task_id | string | Yes | The unique identifier of the task |
Response:
Permanently stops a running task. The task cannot be resumed after stopping.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| task_id | string | Yes | The unique identifier of the task to stop |
Returns a paginated list of all tasks belonging to the user, ordered by creation date.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| page | number | No | The page number to retrieve (default: 1) |
| limit | number | No | The number of tasks per page (default: 10) |
Response:
Temporarily pauses execution of a running task. The task can be resumed later.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| task_id | string | Yes | The unique identifier of the task to pause |
Resumes execution of a previously paused task. Cannot resume stopped tasks.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| task_id | string | Yes | The unique identifier of the paused task to resume |
Retrieves links to recordings or media generated during task execution.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| task_id | string | Yes | The unique identifier of the task |
Returns a GIF URL generated from the screenshots of the task execution.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| task_id | string | Yes | The unique identifier of the task |
The following tools are also available in this plugin. Please explore them to discover their full capabilities:
If you have any questions, please contact me at: [email protected]
Follow me on X (Twitter): https://x.com/lyson_ober