You're viewing a demo portfolio

Join the waitlist
PRSM
This tool is no longer present in the server's latest manifest. Showing the last observed version (server version 1.27.1).

query_element

Inactive

Tool of sncro

declared in 1.27.1

Query a DOM element by CSS selector. Returns bounding rect, attributes, computed styles, inner text, and child count. Use this to debug layout, positioning, and visibility issues. Requires a connected browser session. If you get BROWSER_NOT_CONNECTED, call check_session first and wait for "connected" status. If you get BROWSER_TIMEOUT, the page may be navigating — wait a moment and retry. Args: key: The sncro session key secret: The session secret from create_session selector: CSS selector (e.g. "#photo-wrap", ".toolbar > button:first-child") styles: Optional list of CSS properties to read (e.g. ["transform", "width", "display"])

Parameters schema

{
  "type": "object",
  "title": "query_elementArguments",
  "required": [
    "key",
    "secret",
    "selector"
  ],
  "properties": {
    "key": {
      "type": "string",
      "title": "Key"
    },
    "secret": {
      "type": "string",
      "title": "Secret"
    },
    "styles": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "null"
        }
      ],
      "title": "Styles",
      "default": null
    },
    "selector": {
      "type": "string",
      "title": "Selector"
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.70.

Parent server

sncro

https://github.com/scottconfusedgorilla/sncro-relay

2/7 registries
View full server →