{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Acquires a browser and returns its session ID and websocket URL. Optionally accepts a JSON body with session guardrails to restrict outbound HTTP/S traffic.","properties":{"path":{"type":"object","properties":{"account_id":{"description":"Account ID.","type":"string"}},"required":["account_id"],"additionalProperties":false},"query":{"type":"object","properties":{"keep_alive":{"description":"Keep-alive time in milliseconds.","type":"number","default":60000,"maximum":1200000,"minimum":10000},"lab":{"description":"Use experimental browser.","type":"boolean","default":false},"targets":{"description":"Include browser targets in response.","type":"boolean","default":false},"liveViewUrlExpiresInMs":{"description":"How long the live view URL remains valid, in milliseconds (max 60 minutes). Only used when targets is true.","type":"number","default":300000,"maximum":3600000,"minimum":60000},"recording":{"type":"boolean","default":false}},"required":[],"additionalProperties":false},"body":{"type":"object","properties":{"guardrails":{"type":"object","additionalProperties":false,"properties":{"allowedDomainSets":{"description":"Max 4 entries: curated preset names (common-cdns) and/or https URLs of newline-separated hostname lists.","type":"array","items":{"type":"string"},"maxItems":4},"allowedDomains":{"description":"Hostname patterns, max 50. Supports exact hosts (example.com) or a single * wildcard anywhere. Prefer *.example.com (subdomain wildcard) over *example.com (prefix wildcard) to avoid matching overbroad lookalikes like evilexample.com.","type":"array","items":{"type":"string"},"maxItems":50}}}},"additionalProperties":false}},"required":["path"],"additionalProperties":false},"name":"Get a browser session ID.","id":"cloudflare.brapi-post_devtoolsacquire","example":{"path":{"account_id":"example"}},"maxRequests":1,"summary":false}}