---
title: "Create Task"
method: POST
path: "/task/create"
---

# Create Task

`POST /task/create`

Create a new automated browser task

## Request body

- object
  - `task` string, required — Natural language description of the task to be automated
  - `agent` string — Agent to use for the task
  - `tools` object[] — List of tools available to the agent
    - `type` string — Type of tool. Only 'function' is supported currently.
    - `function` object
      - `name` string — Name of the function
      - `description` string — Description of what the function does
      - `parameters` object — JSON Schema of the function parameters

## Response `200`

Successful response

- object
  - `success` boolean — Indicates if the request was successful
  - `data` object
    - `taskId` string — The ID of the created task
  - `error` string — Error message if the request failed

---

[API](https://skmtc.net/browserable/apis/browserable-api.md) · [All operations](https://skmtc.net/browserable/apis/browserable-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/browserable/browserable-api/versions/2da74de431de/schema)
