Skip to main content
Glama
jumodada

DrissionPage MCP Server

by jumodada

Click Element

element_click
Destructive

Click a web element using CSS selector or XPath to automate browser interactions.

Instructions

Click an element found by CSS selector or XPath. Bare selectors are treated as CSS; use text:... for text matching.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
buttonNoNative pointer button to use.left
tab_idNoOptional MCP or native DrissionPage tab id. When omitted, the current tab is captured at call start.
observeNoReturn a compact before/after page change summary.
timeoutNoTimeout in seconds to wait for element
selectorYesCSS selector or XPath to find the element. Bare selectors are CSS; use text:... for text matching or explicit tag:/css:/xpath:/@attr locators.
click_countNoNative click count; 2 requests double-click semantics.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.8.8
    • addedInput schema / properties / tab_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 128,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Optional MCP or native DrissionPage tab id. When omitted, the current tab is captured at call start.",
      +  "title": "Tab Id"
      +}
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "data": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "button": {
      -            "enum": [
      -              "left",
      -              "right",
      -              "middle"
      -            ],
      -            "title": "Button",
      -            "type": "string"
      -          },
      -          "changes": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": true,
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "default": null,
      -            "title": "Changes"
      -          },
      -          "click_count": {
      -            "enum": [
      -              1,
      -              2
      -            ],
      -            "title": "Click Count",
      -            "type": "integer"
      -          },
      -          "exact": {
      -            "anyOf": [
      -              {
      -                "type": "boolean"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "default": null,
      -            "title": "Exact"
      -          },
      -          "frame_selectors": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "title": "Frame Selectors",
      -            "type": "array"
      -          },
      -          "locator": {
      -            "title": "Locator",
      -            "type": "string"
      -          },
      -          "name": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "default": null,
      -            "title": "Name"
      -          },
      -          "role": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "default": null,
      -            "title": "Role"
      -          },
      -          "selector": {
      -            "title": "Selector",
      -            "type": "string"
      -          },
      -          "selector_normalized": {
      -            "title": "Selector Normalized",
      -            "type": "boolean"
      -          },
      -          "selector_strategy": {
      -            "title": "Selector Strategy",
      -            "type": "string"
      -          },
      -          "shadow_hosts": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "title": "Shadow Hosts",
      -            "type": "array"
      -          },
      -          "target_kind": {
      -            "default": "selector",
      -            "enum": [
      -              "selector",
      -              "accessibility"
      -            ],
      -            "title": "Target Kind",
      -            "type": "string"
      -          },
      -          "url": {
      -            "title": "Url",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "selector",
      -          "locator",
      -          "selector_strategy",
      -          "selector_normalized",
      -          "url",
      -          "button",
      -          "click_count"
      -        ],
      -        "title": "ElementClickData",
      -        "type": "object"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "ok": {
      -        "const": true
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "message",
      -      "data"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "data": {
      -        "additionalProperties": true,
      -        "type": "object"
      -      },
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "type": "string"
      -          },
      -          "details": {
      -            "additionalProperties": true,
      -            "type": "object"
      -          },
      -          "message": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message"
      -        ],
      -        "type": "object"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "ok": {
      -        "const": false
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "message",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "button": {
      +            "enum": [
      +              "left",
      +              "right",
      +              "middle"
      +            ],
      +            "title": "Button",
      +            "type": "string"
      +          },
      +          "changes": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": true,
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null,
      +            "title": "Changes"
      +          },
      +          "click_count": {
      +            "enum": [
      +              1,
      +              2
      +            ],
      +            "title": "Click Count",
      +            "type": "integer"
      +          },
      +          "exact": {
      +            "anyOf": [
      +              {
      +                "type": "boolean"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null,
      +            "title": "Exact"
      +          },
      +          "frame_selectors": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "title": "Frame Selectors",
      +            "type": "array"
      +          },
      +          "locator": {
      +            "title": "Locator",
      +            "type": "string"
      +          },
      +          "name": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null,
      +            "title": "Name"
      +          },
      +          "role": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null,
      +            "title": "Role"
      +          },
      +          "selector": {
      +            "title": "Selector",
      +            "type": "string"
      +          },
      +          "selector_normalized": {
      +            "title": "Selector Normalized",
      +            "type": "boolean"
      +          },
      +          "selector_strategy": {
      +            "title": "Selector Strategy",
      +            "type": "string"
      +          },
      +          "shadow_hosts": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "title": "Shadow Hosts",
      +            "type": "array"
      +          },
      +          "tab_id": {
      +            "description": "MCP tab id captured for this operation.",
      +            "maxLength": 128,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "target_kind": {
      +            "default": "selector",
      +            "enum": [
      +              "selector",
      +              "accessibility"
      +            ],
      +            "title": "Target Kind",
      +            "type": "string"
      +          },
      +          "url": {
      +            "title": "Url",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "selector",
      +          "locator",
      +          "selector_strategy",
      +          "selector_normalized",
      +          "url",
      +          "button",
      +          "click_count",
      +          "tab_id"
      +        ],
      +        "title": "ElementClickData",
      +        "type": "object"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": true
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "message",
      +      "data"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "type": "string"
      +          },
      +          "details": {
      +            "additionalProperties": true,
      +            "type": "object"
      +          },
      +          "message": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message"
      +        ],
      +        "type": "object"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": false
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "message",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed5 schema fields changedv0.8.0
    • addedInput schema / $defs
      Added value: +{
      +  "AccessibilityTargetInput": {
      +    "additionalProperties": false,
      +    "description": "A unique accessibility role/name target within an optional DOM scope.",
      +    "properties": {
      +      "exact": {
      +        "default": true,
      +        "title": "Exact",
      +        "type": "boolean"
      +      },
      +      "frame_selectors": {
      +        "description": "Ordered outer-to-inner frame selectors resolved by DrissionPage.",
      +        "items": {
      +          "maxLength": 500,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 4,
      +        "title": "Frame Selectors",
      +        "type": "array"
      +      },
      +      "kind": {
      +        "const": "accessibility",
      +        "title": "Kind",
      +        "type": "string"
      +      },
      +      "name": {
      +        "anyOf": [
      +          {
      +            "maxLength": 500,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Name"
      +      },
      +      "role": {
      +        "maxLength": 500,
      +        "minLength": 1,
      +        "title": "Role",
      +        "type": "string"
      +      },
      +      "shadow_hosts": {
      +        "description": "Ordered outer-to-inner shadow host selectors resolved by DrissionPage.",
      +        "items": {
      +          "maxLength": 500,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 8,
      +        "title": "Shadow Hosts",
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "role"
      +    ],
      +    "title": "AccessibilityTargetInput",
      +    "type": "object"
      +  },
      +  "SelectorTargetInput": {
      +    "additionalProperties": false,
      +    "description": "A selector target with optional frame and shadow-root scope.",
      +    "properties": {
      +      "frame_selectors": {
      +        "description": "Ordered outer-to-inner frame selectors resolved by DrissionPage.",
      +        "items": {
      +          "maxLength": 500,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 4,
      +        "title": "Frame Selectors",
      +        "type": "array"
      +      },
      +      "kind": {
      +        "const": "selector",
      +        "title": "Kind",
      +        "type": "string"
      +      },
      +      "selector": {
      +        "maxLength": 500,
      +        "minLength": 1,
      +        "title": "Selector",
      +        "type": "string"
      +      },
      +      "shadow_hosts": {
      +        "description": "Ordered outer-to-inner shadow host selectors resolved by DrissionPage.",
      +        "items": {
      +          "maxLength": 500,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 8,
      +        "title": "Shadow Hosts",
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "selector"
      +    ],
      +    "title": "SelectorTargetInput",
      +    "type": "object"
      +  }
      +}
    • addedInput schema / properties / selector / anyOf
      Added value: +[
      +  {
      +    "maxLength": 500,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "discriminator": {
      +      "mapping": {
      +        "accessibility": "#/$defs/AccessibilityTargetInput",
      +        "selector": "#/$defs/SelectorTargetInput"
      +      },
      +      "propertyName": "kind"
      +    },
      +    "oneOf": [
      +      {
      +        "$ref": "#/$defs/SelectorTargetInput"
      +      },
      +      {
      +        "$ref": "#/$defs/AccessibilityTargetInput"
      +      }
      +    ]
      +  }
      +]
    • removedInput schema / properties / selector / type
      Removed value: -"string"
    • changedInput schema / properties / timeout / type
      Previous value: -"integer"New value: +"number"
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "data": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "button": {
      -            "enum": [
      -              "left",
      -              "right",
      -              "middle"
      -            ],
      -            "title": "Button",
      -            "type": "string"
      -          },
      -          "changes": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": true,
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "default": null,
      -            "title": "Changes"
      -          },
      -          "click_count": {
      -            "enum": [
      -              1,
      -              2
      -            ],
      -            "title": "Click Count",
      -            "type": "integer"
      -          },
      -          "locator": {
      -            "title": "Locator",
      -            "type": "string"
      -          },
      -          "selector": {
      -            "title": "Selector",
      -            "type": "string"
      -          },
      -          "selector_normalized": {
      -            "title": "Selector Normalized",
      -            "type": "boolean"
      -          },
      -          "selector_strategy": {
      -            "title": "Selector Strategy",
      -            "type": "string"
      -          },
      -          "url": {
      -            "title": "Url",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "selector",
      -          "locator",
      -          "selector_strategy",
      -          "selector_normalized",
      -          "url",
      -          "button",
      -          "click_count"
      -        ],
      -        "title": "ElementClickData",
      -        "type": "object"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "ok": {
      -        "const": true
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "message",
      -      "data"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "data": {
      -        "additionalProperties": true,
      -        "type": "object"
      -      },
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "type": "string"
      -          },
      -          "details": {
      -            "additionalProperties": true,
      -            "type": "object"
      -          },
      -          "message": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message"
      -        ],
      -        "type": "object"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "ok": {
      -        "const": false
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "message",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "button": {
      +            "enum": [
      +              "left",
      +              "right",
      +              "middle"
      +            ],
      +            "title": "Button",
      +            "type": "string"
      +          },
      +          "changes": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": true,
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null,
      +            "title": "Changes"
      +          },
      +          "click_count": {
      +            "enum": [
      +              1,
      +              2
      +            ],
      +            "title": "Click Count",
      +            "type": "integer"
      +          },
      +          "exact": {
      +            "anyOf": [
      +              {
      +                "type": "boolean"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null,
      +            "title": "Exact"
      +          },
      +          "frame_selectors": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "title": "Frame Selectors",
      +            "type": "array"
      +          },
      +          "locator": {
      +            "title": "Locator",
      +            "type": "string"
      +          },
      +          "name": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null,
      +            "title": "Name"
      +          },
      +          "role": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null,
      +            "title": "Role"
      +          },
      +          "selector": {
      +            "title": "Selector",
      +            "type": "string"
      +          },
      +          "selector_normalized": {
      +            "title": "Selector Normalized",
      +            "type": "boolean"
      +          },
      +          "selector_strategy": {
      +            "title": "Selector Strategy",
      +            "type": "string"
      +          },
      +          "shadow_hosts": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "title": "Shadow Hosts",
      +            "type": "array"
      +          },
      +          "target_kind": {
      +            "default": "selector",
      +            "enum": [
      +              "selector",
      +              "accessibility"
      +            ],
      +            "title": "Target Kind",
      +            "type": "string"
      +          },
      +          "url": {
      +            "title": "Url",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "selector",
      +          "locator",
      +          "selector_strategy",
      +          "selector_normalized",
      +          "url",
      +          "button",
      +          "click_count"
      +        ],
      +        "title": "ElementClickData",
      +        "type": "object"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": true
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "message",
      +      "data"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "type": "string"
      +          },
      +          "details": {
      +            "additionalProperties": true,
      +            "type": "object"
      +          },
      +          "message": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message"
      +        ],
      +        "type": "object"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": false
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "message",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Changed3 schema fields changedv0.7.2
    • addedInput schema / properties / button
      Added value: +{
      +  "default": "left",
      +  "description": "Native pointer button to use.",
      +  "enum": [
      +    "left",
      +    "right",
      +    "middle"
      +  ],
      +  "title": "Button",
      +  "type": "string"
      +}
    • addedInput schema / properties / click_count
      Added value: +{
      +  "default": 1,
      +  "description": "Native click count; 2 requests double-click semantics.",
      +  "maximum": 2,
      +  "minimum": 1,
      +  "title": "Click Count",
      +  "type": "integer"
      +}
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "data": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "changes": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "active_element": {
      -                "anyOf": [
      -                  {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "selector": {
      -                        "type": "string"
      -                      },
      -                      "tag": {
      -                        "type": "string"
      -                      },
      -                      "text": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "type": "object"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "appeared_texts": {
      -                "items": {
      -                  "type": "string"
      -                },
      -                "type": "array"
      -              },
      -              "console_errors_added": {
      -                "type": "integer"
      -              },
      -              "console_warnings_added": {
      -                "type": "integer"
      -              },
      -              "counts_after": {
      -                "additionalProperties": {
      -                  "type": "integer"
      -                },
      -                "type": "object"
      -              },
      -              "counts_before": {
      -                "additionalProperties": {
      -                  "type": "integer"
      -                },
      -                "type": "object"
      -              },
      -              "counts_delta": {
      -                "additionalProperties": {
      -                  "type": "integer"
      -                },
      -                "type": "object"
      -              },
      -              "new_console_messages": {
      -                "items": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "column": {
      -                      "type": "integer"
      -                    },
      -                    "index": {
      -                      "type": "integer"
      -                    },
      -                    "level": {
      -                      "type": "string"
      -                    },
      -                    "line": {
      -                      "type": "integer"
      -                    },
      -                    "source": {
      -                      "type": "string"
      -                    },
      -                    "text": {
      -                      "type": "string"
      -                    },
      -                    "url": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "index",
      -                    "level",
      -                    "text",
      -                    "url",
      -                    "line",
      -                    "column",
      -                    "source"
      -                  ],
      -                  "title": "ConsoleLog",
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "ready_state": {
      -                "type": "string"
      -              },
      -              "removed_texts": {
      -                "items": {
      -                  "type": "string"
      -                },
      -                "type": "array"
      -              },
      -              "title_after": {
      -                "type": "string"
      -              },
      -              "title_before": {
      -                "type": "string"
      -              },
      -              "title_changed": {
      -                "type": "boolean"
      -              },
      -              "url_after": {
      -                "type": "string"
      -              },
      -              "url_before": {
      -                "type": "string"
      -              },
      -              "url_changed": {
      -                "type": "boolean"
      -              }
      -            },
      -            "required": [
      -              "url_before",
      -              "url_after",
      -              "url_changed",
      -              "title_before",
      -              "title_after",
      -              "title_changed",
      -              "ready_state",
      -              "counts_before",
      -              "counts_after",
      -              "counts_delta",
      -              "appeared_texts",
      -              "removed_texts",
      -              "active_element",
      -              "console_errors_added",
      -              "console_warnings_added",
      -              "new_console_messages"
      -            ],
      -            "title": "PageObservationChanges",
      -            "type": "object"
      -          },
      -          "locator": {
      -            "type": "string"
      -          },
      -          "selector": {
      -            "type": "string"
      -          },
      -          "selector_normalized": {
      -            "type": "boolean"
      -          },
      -          "selector_strategy": {
      -            "type": "string"
      -          },
      -          "url": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "selector",
      -          "locator",
      -          "selector_strategy",
      -          "selector_normalized",
      -          "url"
      -        ],
      -        "title": "ElementClickData",
      -        "type": "object"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "ok": {
      -        "const": true
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "message",
      -      "data"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "data": {
      -        "additionalProperties": true,
      -        "type": "object"
      -      },
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "type": "string"
      -          },
      -          "details": {
      -            "additionalProperties": true,
      -            "type": "object"
      -          },
      -          "message": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message"
      -        ],
      -        "type": "object"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "ok": {
      -        "const": false
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "message",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "button": {
      +            "enum": [
      +              "left",
      +              "right",
      +              "middle"
      +            ],
      +            "title": "Button",
      +            "type": "string"
      +          },
      +          "changes": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": true,
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null,
      +            "title": "Changes"
      +          },
      +          "click_count": {
      +            "enum": [
      +              1,
      +              2
      +            ],
      +            "title": "Click Count",
      +            "type": "integer"
      +          },
      +          "locator": {
      +            "title": "Locator",
      +            "type": "string"
      +          },
      +          "selector": {
      +            "title": "Selector",
      +            "type": "string"
      +          },
      +          "selector_normalized": {
      +            "title": "Selector Normalized",
      +            "type": "boolean"
      +          },
      +          "selector_strategy": {
      +            "title": "Selector Strategy",
      +            "type": "string"
      +          },
      +          "url": {
      +            "title": "Url",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "selector",
      +          "locator",
      +          "selector_strategy",
      +          "selector_normalized",
      +          "url",
      +          "button",
      +          "click_count"
      +        ],
      +        "title": "ElementClickData",
      +        "type": "object"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": true
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "message",
      +      "data"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "type": "string"
      +          },
      +          "details": {
      +            "additionalProperties": true,
      +            "type": "object"
      +          },
      +          "message": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message"
      +        ],
      +        "type": "object"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": false
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "message",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. Changed4 schema fields changedv0.5.1
    • addedInput schema / properties / observe
      Added value: +{
      +  "default": false,
      +  "description": "Return a compact before/after page change summary.",
      +  "title": "Observe",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / timeout / maximum
      Added value: +120
    • addedInput schema / properties / timeout / minimum
      Added value: +0
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "data": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "locator": {
      -            "type": "string"
      -          },
      -          "selector": {
      -            "type": "string"
      -          },
      -          "selector_normalized": {
      -            "type": "boolean"
      -          },
      -          "selector_strategy": {
      -            "type": "string"
      -          },
      -          "url": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "selector",
      -          "locator",
      -          "selector_strategy",
      -          "selector_normalized",
      -          "url"
      -        ],
      -        "title": "ElementClickData",
      -        "type": "object"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "ok": {
      -        "const": true
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "message",
      -      "data"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "data": {
      -        "additionalProperties": true,
      -        "type": "object"
      -      },
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "type": "string"
      -          },
      -          "details": {
      -            "additionalProperties": true,
      -            "type": "object"
      -          },
      -          "message": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message"
      -        ],
      -        "type": "object"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "ok": {
      -        "const": false
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "message",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "changes": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "active_element": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "selector": {
      +                        "type": "string"
      +                      },
      +                      "tag": {
      +                        "type": "string"
      +                      },
      +                      "text": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "appeared_texts": {
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "console_errors_added": {
      +                "type": "integer"
      +              },
      +              "console_warnings_added": {
      +                "type": "integer"
      +              },
      +              "counts_after": {
      +                "additionalProperties": {
      +                  "type": "integer"
      +                },
      +                "type": "object"
      +              },
      +              "counts_before": {
      +                "additionalProperties": {
      +                  "type": "integer"
      +                },
      +                "type": "object"
      +              },
      +              "counts_delta": {
      +                "additionalProperties": {
      +                  "type": "integer"
      +                },
      +                "type": "object"
      +              },
      +              "new_console_messages": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "column": {
      +                      "type": "integer"
      +                    },
      +                    "index": {
      +                      "type": "integer"
      +                    },
      +                    "level": {
      +                      "type": "string"
      +                    },
      +                    "line": {
      +                      "type": "integer"
      +                    },
      +                    "source": {
      +                      "type": "string"
      +                    },
      +                    "text": {
      +                      "type": "string"
      +                    },
      +                    "url": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "index",
      +                    "level",
      +                    "text",
      +                    "url",
      +                    "line",
      +                    "column",
      +                    "source"
      +                  ],
      +                  "title": "ConsoleLog",
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "ready_state": {
      +                "type": "string"
      +              },
      +              "removed_texts": {
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "title_after": {
      +                "type": "string"
      +              },
      +              "title_before": {
      +                "type": "string"
      +              },
      +              "title_changed": {
      +                "type": "boolean"
      +              },
      +              "url_after": {
      +                "type": "string"
      +              },
      +              "url_before": {
      +                "type": "string"
      +              },
      +              "url_changed": {
      +                "type": "boolean"
      +              }
      +            },
      +            "required": [
      +              "url_before",
      +              "url_after",
      +              "url_changed",
      +              "title_before",
      +              "title_after",
      +              "title_changed",
      +              "ready_state",
      +              "counts_before",
      +              "counts_after",
      +              "counts_delta",
      +              "appeared_texts",
      +              "removed_texts",
      +              "active_element",
      +              "console_errors_added",
      +              "console_warnings_added",
      +              "new_console_messages"
      +            ],
      +            "title": "PageObservationChanges",
      +            "type": "object"
      +          },
      +          "locator": {
      +            "type": "string"
      +          },
      +          "selector": {
      +            "type": "string"
      +          },
      +          "selector_normalized": {
      +            "type": "boolean"
      +          },
      +          "selector_strategy": {
      +            "type": "string"
      +          },
      +          "url": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "selector",
      +          "locator",
      +          "selector_strategy",
      +          "selector_normalized",
      +          "url"
      +        ],
      +        "title": "ElementClickData",
      +        "type": "object"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": true
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "message",
      +      "data"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "type": "string"
      +          },
      +          "details": {
      +            "additionalProperties": true,
      +            "type": "object"
      +          },
      +          "message": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message"
      +        ],
      +        "type": "object"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": false
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "message",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  5. Changed2 schema fields changedv0.5.0
    • addedInput schema / additionalProperties
      Added value: +false
    • removedOutput schema / additionalProperties
      Removed value: -false
  6. First observedv0.4.1

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare non-read-only, destructive, non-idempotent, open-world semantics, so the safety profile is covered. The description adds no behavioral context beyond selector syntax: nothing about navigation/side effects, whether it waits for actionability, or what a timeout does.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short, front-loaded sentences with no filler; the core action is stated first and the selector convention follows. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With a rich schema, full parameter coverage, an output schema, and annotations, the description is minimally viable. It omits any note on wait/failure behavior or side effects that an agent clicking in a live page would benefit from.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description restates the selector conventions that the schema's own 'selector' description already documents, adding little new meaning for button, click_count, tab_id, timeout, or observe.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (Click) and resource (element found by CSS selector or XPath), which is enough for an agent to distinguish it from page_click_xy or element_hover. It does not explicitly contrast with siblings such as element_click_and_download or element_check, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description only gives selector-syntax guidance ('bare selectors are CSS; use text:...'), which is invocation syntax rather than when-to-use guidance. There is no statement of when to prefer element_click over element_click_and_download, page_click_xy, or element_check, and no preconditions or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.