Agent Skills: playwright-browser-fill-form

To fill multiple form fields at once, set values for inputs, checkboxes, and selects in a single call.

UncategorizedID: X-School-Academy/ai-dev-swarm/playwright-browser-fill-form

Install this agent skill to your local

pnpm dlx add-skill https://github.com/X-School-Academy/ai-dev-swarm/tree/HEAD/dev-swarm/mcp-skills/playwright-browser-fill-form

Skill Files

Browse the full folder contents for playwright-browser-fill-form.

Download Skill

Loading file tree…

dev-swarm/mcp-skills/playwright-browser-fill-form/SKILL.md

Skill Metadata

Name
playwright-browser-fill-form
Description
"To fill multiple form fields at once, set values for inputs, checkboxes, and selects in a single call."

Usage

Use the MCP tool dev-swarm.request to send the payload as a JSON string:

{"server_id":"playwright","tool_name":"browser_fill_form","arguments":{}}

Tool Description

Fill multiple form fields

Arguments Schema

The schema below describes the arguments object in the request payload.

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "fields": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Human-readable field name"
          },
          "type": {
            "type": "string",
            "enum": [
              "textbox",
              "checkbox",
              "radio",
              "combobox",
              "slider"
            ],
            "description": "Type of the field"
          },
          "ref": {
            "type": "string",
            "description": "Exact target field reference from the page snapshot"
          },
          "value": {
            "type": "string",
            "description": "Value to fill in the field. If the field is a checkbox, the value should be `true` or `false`. If the field is a combobox, the value should be the text of the option."
          }
        },
        "required": [
          "name",
          "type",
          "ref",
          "value"
        ],
        "additionalProperties": false
      },
      "description": "Fields to fill in"
    }
  },
  "required": [
    "fields"
  ],
  "additionalProperties": false
}

Background Tasks

If the tool returns a task id, poll the task status via the MCP request tool:

{"server_id":"playwright","method":"tasks/status","params":{"task_id":"<task_id>"}}