{"at":"2026-11-23T05:16:18.624Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T05:16:19.822Z","dir":"received","era":"server_discover","message":{"error":{"code":-32602,"data":"","message":"Invalid request parameters"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T05:16:19.973Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T05:16:21.173Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"experimental":{},"prompts":{"listChanged":false},"resources":{"listChanged":false,"subscribe":false},"tools":{"listChanged":false}},"instructions":"WaveXisMCP — browser automation via wavexis. Enabled tiers: core. Use wavexis_session_open for multi-step workflows, or pass 'url' for stateless one-shot calls. Use wavexis_act for natural language interaction. Note: BiDi backend (backend='bidi') is experimental — use CDP (default) for production.","protocolVersion":"2025-11-25","serverInfo":{"name":"wavexis-mcp","version":"1.30.0"}}}}
{"at":"2026-11-23T05:16:21.173Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T05:16:21.173Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T05:16:21.180Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Launch a persistent browser session for multi-step workflows.\n\nCall once at the start of a task and reuse the returned session_id for\nall subsequent calls; use wavexis_navigate with session_id omitted for\none-off page fetches instead.\n\nSide effects: Launches a browser process (or connects to an existing\none) and allocates server-side session state; may open network\nconnections to remote/cloud browsers.\nReturns: JSON string with keys: 'status' ('ok'/'error'),\n'session_id' (str), 'backend' (str).\n","inputSchema":{"$defs":{"SessionOpenInput":{"description":"Input for opening a new browser session.","properties":{"backend":{"default":"cdp","description":"Backend: 'cdp', 'bidi', or 'auto'","enum":["cdp","bidi","auto"],"title":"Backend","type":"string"},"browser":{"default":"chrome","description":"Browser engine for BiDi backend: 'chrome' (chromedriver) or 'firefox' (geckodriver). Only used when backend='bidi'.","enum":["chrome","firefox"],"title":"Browser","type":"string"},"browser_url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"WebSocket URL of an existing browser (e.g. ws://localhost:9222)","title":"Browser Url"},"connect_existing":{"default":false,"description":"Launch Chrome with --remote-debugging-port and connect to it. Useful for reusing an existing browser profile with logged-in sessions. The browser is launched headed (headless is ignored).","title":"Connect Existing","type":"boolean"},"extra_headers":{"additionalProperties":{"type":"string"},"description":"Extra HTTP headers to send","title":"Extra Headers","type":"object"},"headless":{"default":true,"description":"Run browser in headless mode","title":"Headless","type":"boolean"},"height":{"default":800,"description":"Viewport height in pixels","maximum":2160,"minimum":240,"title":"Height","type":"integer"},"proxy":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Proxy server URL (e.g. http://host:port)","title":"Proxy"},"remote_url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Cloud browser WebSocket URL","title":"Remote Url"},"stealth":{"default":false,"description":"Enable anti-bot stealth mode","title":"Stealth","type":"boolean"},"timeout":{"default":30000,"description":"Operation timeout in ms","maximum":300000,"minimum":1000,"title":"Timeout","type":"integer"},"user_agent":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Custom User-Agent string","title":"User Agent"},"user_data_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Persistent Chrome user data directory","title":"User Data Dir"},"width":{"default":1280,"description":"Viewport width in pixels","maximum":3840,"minimum":320,"title":"Width","type":"integer"}},"title":"SessionOpenInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/SessionOpenInput"}},"required":["input"],"title":"wavexis_session_openArguments","type":"object"},"name":"wavexis_session_open","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_session_openOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Close a browser session and release all associated resources.\n\nCall when the session is no longer needed to free memory and browser\nprocesses; use wavexis_close_tab to close individual tabs instead.\n\nSide effects: Terminates the browser process (or disconnects from a\nremote one) and frees session state. Destructive — all unsaved page\nstate is lost.\nReturns: JSON string with keys: 'status' ('ok'/'error'),\n'session_id' (str).\n","inputSchema":{"$defs":{"SessionCloseInput":{"description":"Input for closing an existing browser session.","properties":{"session_id":{"description":"Session ID from wavexis_session_open","title":"Session Id","type":"string"}},"required":["session_id"],"title":"SessionCloseInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/SessionCloseInput"}},"required":["input"],"title":"wavexis_session_closeArguments","type":"object"},"name":"wavexis_session_close","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_session_closeOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Query metadata and current URL of an active browser session.\n\nUse to inspect session health or retrieve the current page URL; use\nwavexis_list_tabs for tab-level details instead.\n\nSide effects: None — read-only; queries in-memory session state and\nthe browser's current URL.\nReturns: JSON string with keys: 'status' ('ok'/'error'),\n'session_id' (str), 'backend' (str), 'created_at' (str),\n'current_url' (str).\n","inputSchema":{"$defs":{"SessionInfoInput":{"description":"Input for querying session metadata.","properties":{"session_id":{"description":"Active session ID from wavexis_session_open","title":"Session Id","type":"string"}},"required":["session_id"],"title":"SessionInfoInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/SessionInfoInput"}},"required":["input"],"title":"wavexis_session_infoArguments","type":"object"},"name":"wavexis_session_info","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_session_infoOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Navigate the browser to a URL with a configurable wait strategy.\n\nUse for direct URL navigation; use wavexis_back/wavexis_forward for\nhistory navigation, or wavexis_act for natural-language interaction\ninstead.\n\nSide effects: Issues a network request to the target URL and replaces\nthe current page content; may auto-create a stateless session if\nsession_id is omitted.\nReturns: JSON string with keys: 'status' ('ok'/'error'), 'url' (str).\n","inputSchema":{"$defs":{"NavigateInput":{"description":"Input for navigating to a URL.","properties":{"backend":{"default":"cdp","description":"Backend: 'cdp', 'bidi', or 'auto'","enum":["cdp","bidi","auto"],"title":"Backend","type":"string"},"headless":{"default":true,"description":"Run browser in headless mode","title":"Headless","type":"boolean"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Active session ID. If omitted, a stateless session is created for this call.","title":"Session Id"},"url":{"description":"URL to navigate to","title":"Url","type":"string"},"wait_selector":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"CSS selector to wait for (used when wait_strategy='selector')","title":"Wait Selector"},"wait_strategy":{"default":"load","description":"Wait strategy: load, domcontentloaded, networkidle, selector, url, none","enum":["load","domcontentloaded","networkidle","selector","url","none"],"title":"Wait Strategy","type":"string"},"wait_timeout":{"default":30000,"description":"Timeout in ms for wait conditions","maximum":300000,"minimum":1000,"title":"Wait Timeout","type":"integer"},"wait_url_pattern":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"URL pattern to wait for (used when wait_strategy='url')","title":"Wait Url Pattern"}},"required":["url"],"title":"NavigateInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/NavigateInput"}},"required":["input"],"title":"wavexis_navigateArguments","type":"object"},"name":"wavexis_navigate","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_navigateOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Navigate backward one step in the browser history.\n\nUse for history navigation instead of wavexis_navigate when the target\nis the previous page.\n\nSide effects: Changes the active page to the previous history entry;\nmay trigger network requests if that page was not cached.\nReturns: JSON string with keys: 'status' ('ok'/'error').\n","inputSchema":{"$defs":{"SimpleNavInput":{"description":"Input for session-only navigation actions (back, forward, stop).","properties":{"session_id":{"description":"Active session ID","title":"Session Id","type":"string"}},"required":["session_id"],"title":"SimpleNavInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/SimpleNavInput"}},"required":["input"],"title":"wavexis_backArguments","type":"object"},"name":"wavexis_back","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_backOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Navigate forward one step in the browser history.\n\nUse after wavexis_back to restore a page; use wavexis_navigate for\ndirect URL navigation instead.\n\nSide effects: Changes the active page to the next history entry; may\ntrigger network requests if that page was not cached.\nReturns: JSON string with keys: 'status' ('ok'/'error').\n","inputSchema":{"$defs":{"SimpleNavInput":{"description":"Input for session-only navigation actions (back, forward, stop).","properties":{"session_id":{"description":"Active session ID","title":"Session Id","type":"string"}},"required":["session_id"],"title":"SimpleNavInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/SimpleNavInput"}},"required":["input"],"title":"wavexis_forwardArguments","type":"object"},"name":"wavexis_forward","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_forwardOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Reload the current page, optionally bypassing the cache.\n\nUse to refresh stale content or retry a failed load; use\nwavexis_navigate to go to a different URL instead.\n\nSide effects: Re-issues network requests for the current page and its\nresources; discards in-memory page state.\nReturns: JSON string with keys: 'status' ('ok'/'error').\n","inputSchema":{"$defs":{"ReloadInput":{"description":"Input for reloading the current page.","properties":{"ignore_cache":{"default":false,"description":"Bypass cache on reload","title":"Ignore Cache","type":"boolean"},"session_id":{"description":"Active session ID from wavexis_session_open","title":"Session Id","type":"string"}},"required":["session_id"],"title":"ReloadInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/ReloadInput"}},"required":["input"],"title":"wavexis_reloadArguments","type":"object"},"name":"wavexis_reload","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_reloadOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Stop all pending navigations and resource loads in the session.\n\nUse when a page load is hanging or no longer needed; use wavexis_wait\nto wait for a load to complete instead.\n\nSide effects: Aborts in-flight network requests and pending\nnavigations; the page is left in its current partial state.\nReturns: JSON string with keys: 'status' ('ok'/'error').\n","inputSchema":{"$defs":{"SimpleNavInput":{"description":"Input for session-only navigation actions (back, forward, stop).","properties":{"session_id":{"description":"Active session ID","title":"Session Id","type":"string"}},"required":["session_id"],"title":"SimpleNavInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/SimpleNavInput"}},"required":["input"],"title":"wavexis_stopArguments","type":"object"},"name":"wavexis_stop","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_stopOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Block until a page condition (load, selector, URL, network idle) is met.\n\nUse after wavexis_navigate when the wait strategy was 'none', or to\nwait for dynamic content; use wavexis_stop to cancel a load instead.\n\nSide effects: None — read-only polling with no page mutations; blocks\nthe tool call up to the configured timeout.\nReturns: JSON string with keys: 'status' ('ok'/'error'),\n'elapsed_ms' (int).\n","inputSchema":{"$defs":{"WaitInput":{"description":"Input for waiting on a page condition.","properties":{"selector":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"CSS selector to target an element","title":"Selector"},"session_id":{"description":"Active session ID from wavexis_session_open","title":"Session Id","type":"string"},"strategy":{"default":"load","description":"load, domcontentloaded, networkidle, selector, url, none","enum":["load","domcontentloaded","networkidle","selector","url","none"],"title":"Strategy","type":"string"},"timeout":{"default":30000,"description":"Operation timeout in ms","maximum":300000,"minimum":1000,"title":"Timeout","type":"integer"},"url_pattern":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"URL pattern to wait for (used when strategy='url')","title":"Url Pattern"}},"required":["session_id"],"title":"WaitInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/WaitInput"}},"required":["input"],"title":"wavexis_waitArguments","type":"object"},"name":"wavexis_wait","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_waitOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Capture a screenshot of a web page or matched element.\n\nUse ``wavexis_pdf`` when a print-ready document is needed, or\n``wavexis_annotated_screenshot`` when labelled element markers are\nrequired.\n\nSide effects: launches/acquires a browser backend, navigates to ``url``\nif provided, optionally evaluates ``js``; writes to ``output_path`` when\ngiven.\nReturns: JSON string with keys: 'status' ('ok'/'error'), 'format'\n(str), 'base64' (str) or 'path' (str), 'size_bytes' (int).\n","inputSchema":{"$defs":{"ScreenshotInput":{"description":"Input for taking a screenshot.","properties":{"backend":{"default":"cdp","description":"Backend: 'cdp', 'bidi', or 'auto'","enum":["cdp","bidi","auto"],"title":"Backend","type":"string"},"device":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Device preset name (e.g. 'iphone-15')","title":"Device"},"format":{"default":"png","description":"Image format: 'png' or 'jpeg'","enum":["png","jpeg"],"title":"Format","type":"string"},"full_page":{"default":true,"description":"Capture full scrollable page","title":"Full Page","type":"boolean"},"headless":{"default":true,"description":"Run browser in headless mode","title":"Headless","type":"boolean"},"height":{"default":800,"description":"Viewport height in pixels","maximum":2160,"minimum":240,"title":"Height","type":"integer"},"js":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"JavaScript to execute before screenshot","title":"Js"},"output_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Save to file instead of returning base64","title":"Output Path"},"quality":{"default":80,"description":"JPEG quality (ignored for PNG)","maximum":100,"minimum":1,"title":"Quality","type":"integer"},"selector":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"CSS selector — screenshot only this element","title":"Selector"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Active session ID. If omitted, a stateless session is created for this call.","title":"Session Id"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"URL to navigate to (required without session_id)","title":"Url"},"wait_selector":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"CSS selector to wait for (used when wait_strategy='selector')","title":"Wait Selector"},"wait_strategy":{"default":"load","description":"Wait strategy: load, domcontentloaded, networkidle, selector, url, none","enum":["load","domcontentloaded","networkidle","selector","url","none"],"title":"Wait Strategy","type":"string"},"wait_timeout":{"default":30000,"description":"Timeout in ms for wait conditions","maximum":300000,"minimum":1000,"title":"Wait Timeout","type":"integer"},"width":{"default":1280,"description":"Viewport width in pixels","maximum":3840,"minimum":320,"title":"Width","type":"integer"}},"title":"ScreenshotInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/ScreenshotInput"}},"required":["input"],"title":"wavexis_screenshotArguments","type":"object"},"name":"wavexis_screenshot","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_screenshotOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Generate a PDF document from a web page.\n\nUse ``wavexis_screenshot`` for image capture, or ``wavexis_page_pdf``\nwhen pixel-level control over paper size and margins is required.\n\nSide effects: launches/acquires a browser backend, navigates to ``url``\nif provided, optionally evaluates ``js``; writes to ``output_path`` when\ngiven.\nReturns: JSON string with keys: 'status' ('ok'/'error'), 'base64'\n(str) or 'path' (str), 'size_bytes' (int).\n","inputSchema":{"$defs":{"PDFInput":{"description":"Input for generating a PDF.","properties":{"backend":{"default":"cdp","description":"Backend: 'cdp', 'bidi', or 'auto'","enum":["cdp","bidi","auto"],"title":"Backend","type":"string"},"headless":{"default":true,"description":"Run browser in headless mode","title":"Headless","type":"boolean"},"js":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"JavaScript to execute before the action","title":"Js"},"landscape":{"default":false,"description":"Use landscape orientation","title":"Landscape","type":"boolean"},"margin":{"default":"0.4in","description":"Page margin (e.g. '0.4in')","title":"Margin","type":"string"},"media":{"default":"print","description":"CSS media: 'print' or 'screen'","enum":["print","screen"],"title":"Media","type":"string"},"no_header_footer":{"default":false,"description":"Exclude header and footer from PDF","title":"No Header Footer","type":"boolean"},"output_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"File path to save the output. If omitted, a default path is used.","title":"Output Path"},"paper":{"default":"letter","description":"Paper size: a4, letter, legal, a3, a5","enum":["a4","letter","legal","a3","a5"],"title":"Paper","type":"string"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Active session ID. If omitted, a stateless session is created for this call.","title":"Session Id"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"URL to navigate to (required without session_id)","title":"Url"},"wait_timeout":{"default":30000,"description":"Timeout in ms for wait conditions","maximum":300000,"minimum":1000,"title":"Wait Timeout","type":"integer"}},"title":"PDFInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/PDFInput"}},"required":["input"],"title":"wavexis_pdfArguments","type":"object"},"name":"wavexis_pdf","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_pdfOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Scrape data from multiple URLs by evaluating a JS expression on each.\n\nUse ``wavexis_eval`` for single-page evaluation, or ``wavexis_scrape``\nwhen the same expression must run across many pages with pagination.\n\nSide effects: launches/acquires a browser backend, navigates to each\nURL in ``urls`` sequentially, evaluates ``expression`` in every page\ncontext.\nReturns: JSON string with keys: 'status' ('ok'/'error'), 'results'\n(list[dict[str, Any]]), 'format' (str), 'count' (int), 'total' (int).\n","inputSchema":{"$defs":{"ScrapeInput":{"description":"Input for scraping multiple URLs.","properties":{"backend":{"default":"cdp","description":"Backend: 'cdp', 'bidi', or 'auto'","enum":["cdp","bidi","auto"],"title":"Backend","type":"string"},"expression":{"default":"document.title","description":"JS expression to evaluate on each page","title":"Expression","type":"string"},"headless":{"default":true,"description":"Run browser in headless mode","title":"Headless","type":"boolean"},"limit":{"default":50,"description":"Max results to return","maximum":500,"minimum":1,"title":"Limit","type":"integer"},"offset":{"default":0,"description":"Skip first N results for pagination","minimum":0,"title":"Offset","type":"integer"},"output_format":{"default":"json","description":"Output format: 'json' or 'csv'","enum":["json","csv"],"title":"Output Format","type":"string"},"selector":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"CSS selector to wait for","title":"Selector"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Active session ID. If omitted, a stateless session is created for this call.","title":"Session Id"},"urls":{"description":"URLs to scrape","items":{"type":"string"},"maxItems":50,"minItems":1,"title":"Urls","type":"array"},"wait_timeout":{"default":30000,"description":"Timeout in ms for wait conditions","maximum":300000,"minimum":1000,"title":"Wait Timeout","type":"integer"}},"required":["urls"],"title":"ScrapeInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/ScrapeInput"}},"required":["input"],"title":"wavexis_scrapeArguments","type":"object"},"name":"wavexis_scrape","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_scrapeOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Capture a frame-by-frame screenshot sequence over a duration.\n\nUse ``wavexis_screenshot`` for a single still image, or\n``wavexis_screencast`` when animation or time-series capture is needed.\n\nSide effects: launches/acquires a browser backend, navigates to ``url``\nif provided, captures frames for ``duration``; writes frame files to\n``output_dir`` when given.\nReturns: JSON string with keys: 'status' ('ok'/'error'), 'frames'\n(list[str]) or 'dir' (str), 'count' (int).\n","inputSchema":{"$defs":{"ScreencastInput":{"description":"Input for capturing a frame sequence.","properties":{"backend":{"default":"cdp","description":"Backend: 'cdp', 'bidi', or 'auto'","enum":["cdp","bidi","auto"],"title":"Backend","type":"string"},"duration":{"default":5.0,"description":"Capture duration in seconds","maximum":60.0,"minimum":0.5,"title":"Duration","type":"number"},"format":{"default":"png","description":"Image format: 'png' or 'jpeg'","enum":["png","jpeg"],"title":"Format","type":"string"},"headless":{"default":true,"description":"Run browser in headless mode","title":"Headless","type":"boolean"},"interval":{"default":1.0,"description":"Seconds between frames","maximum":10.0,"minimum":0.1,"title":"Interval","type":"number"},"max_height":{"default":800,"description":"Maximum screenshot height in pixels","maximum":2160,"minimum":240,"title":"Max Height","type":"integer"},"max_width":{"default":1280,"description":"Maximum screenshot width in pixels","maximum":3840,"minimum":320,"title":"Max Width","type":"integer"},"output_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Save frames to directory","title":"Output Dir"},"quality":{"default":80,"description":"JPEG quality 1-100 (ignored for PNG)","maximum":100,"minimum":1,"title":"Quality","type":"integer"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Active session ID. If omitted, a stateless session is created for this call.","title":"Session Id"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"URL to navigate to (required without session_id)","title":"Url"},"wait_timeout":{"default":30000,"description":"Timeout in ms for wait conditions","maximum":300000,"minimum":1000,"title":"Wait Timeout","type":"integer"}},"title":"ScreencastInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/ScreencastInput"}},"required":["input"],"title":"wavexis_screencastArguments","type":"object"},"name":"wavexis_screencast","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_screencastOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Capture a screenshot with numbered labels overlaid on elements.\n\nInjects overlay divs with labels @e1, @e2, ... on each element\nmatching the provided selectors, captures a screenshot, removes\nthe overlays, and returns the image plus a label-to-selector map.\n\nUse ``wavexis_screenshot`` for plain captures, or this tool when\nvisual element identification is needed for follow-up actions.\n\nSide effects: uses an existing session backend, injects and removes\ntemporary overlay DOM nodes; writes to ``output_path`` when given.\nReturns: JSON string with keys: 'status' ('ok'/'error'), 'format'\n(str), 'base64' (str) or 'path' (str), 'size_bytes' (int), 'labels'\n(dict[str, str]).\n","inputSchema":{"$defs":{"AnnotatedScreenshotInput":{"description":"Input for taking a screenshot with numbered labels on elements.","properties":{"format":{"default":"png","description":"Image format: 'png' or 'jpeg'","title":"Format","type":"string"},"output_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"File path to save the output. If omitted, a default path is used.","title":"Output Path"},"selectors":{"description":"CSS selectors to annotate with labels","items":{"type":"string"},"minItems":1,"title":"Selectors","type":"array"},"session_id":{"description":"Active session ID from wavexis_session_open","title":"Session Id","type":"string"}},"required":["session_id","selectors"],"title":"AnnotatedScreenshotInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/AnnotatedScreenshotInput"}},"required":["input"],"title":"wavexis_annotated_screenshotArguments","type":"object"},"name":"wavexis_annotated_screenshot","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_annotated_screenshotOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Generate a PDF via the low-level Page.printToPDF CDP method.\n\nOffers pixel-level control over paper size, margins, and print\noptions beyond ``wavexis_pdf``. Use ``wavexis_pdf`` for simpler\nhigh-level PDF generation.\n\nSide effects: launches/acquires a browser backend, navigates to ``url``\nif provided; writes to ``output_path`` when given.\nReturns: JSON string with keys: 'status' ('ok'/'error'), 'type'\n('pdf'), 'base64' (str) or 'path' (str), 'size_bytes' (int).\n","inputSchema":{"$defs":{"PagePDFInput":{"description":"Input for generating a PDF via the low-level Page.printToPDF CDP method.","properties":{"backend":{"default":"cdp","description":"Backend: 'cdp', 'bidi', or 'auto'","enum":["cdp","bidi","auto"],"title":"Backend","type":"string"},"display_header_footer":{"default":false,"description":"Include header and footer in PDF","title":"Display Header Footer","type":"boolean"},"headless":{"default":true,"description":"Run browser in headless mode","title":"Headless","type":"boolean"},"landscape":{"default":false,"description":"Use landscape orientation","title":"Landscape","type":"boolean"},"margin_bottom":{"default":0.4,"description":"Bottom margin in inches","minimum":0.0,"title":"Margin Bottom","type":"number"},"margin_left":{"default":0.4,"description":"Left margin in inches","minimum":0.0,"title":"Margin Left","type":"number"},"margin_right":{"default":0.4,"description":"Right margin in inches","minimum":0.0,"title":"Margin Right","type":"number"},"margin_top":{"default":0.4,"description":"Top margin in inches","minimum":0.0,"title":"Margin Top","type":"number"},"output_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to save the decoded PDF bytes","title":"Output Path"},"paper_height":{"default":11.0,"description":"Paper height in inches","maximum":100.0,"minimum":1.0,"title":"Paper Height","type":"number"},"paper_width":{"default":8.5,"description":"Paper width in inches","maximum":100.0,"minimum":1.0,"title":"Paper Width","type":"number"},"print_background":{"default":false,"description":"Print background graphics in PDF","title":"Print Background","type":"boolean"},"scale":{"default":1.0,"description":"Scale factor for PDF rendering","maximum":2.0,"minimum":0.1,"title":"Scale","type":"number"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Active session ID. If omitted, a stateless session is created for this call.","title":"Session Id"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"URL to navigate to (required without session_id)","title":"Url"},"wait_timeout":{"default":30000,"description":"Timeout in ms for wait conditions","maximum":300000,"minimum":1000,"title":"Wait Timeout","type":"integer"}},"title":"PagePDFInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/PagePDFInput"}},"required":["input"],"title":"wavexis_page_pdfArguments","type":"object"},"name":"wavexis_page_pdf","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_page_pdfOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Capture the page as MHTML or a plain text document.\n\nUse ``wavexis_scrape`` for structured data extraction, or this tool\nwhen a full page archive (MHTML) or text dump is required.\n\nSide effects: launches/acquires a browser backend, navigates to ``url``\nif provided; writes to ``output_path`` when given.\nReturns: JSON string with keys: 'status' ('ok'/'error'), 'format'\n(str), 'content' (str) or 'path' (str), 'size_bytes' (int).\n","inputSchema":{"$defs":{"PageSnapshotInput":{"description":"Input for capturing a page snapshot as MHTML or text.","properties":{"backend":{"default":"cdp","description":"Backend: 'cdp', 'bidi', or 'auto'","enum":["cdp","bidi","auto"],"title":"Backend","type":"string"},"format":{"default":"mhtml","description":"Output format: 'mhtml' or 'text'","enum":["mhtml","text"],"title":"Format","type":"string"},"headless":{"default":true,"description":"Run browser in headless mode","title":"Headless","type":"boolean"},"output_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"File path to save the output. If omitted, a default path is used.","title":"Output Path"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Active session ID. If omitted, a stateless session is created for this call.","title":"Session Id"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"URL to navigate to (required without session_id)","title":"Url"},"wait_timeout":{"default":30000,"description":"Timeout in ms for wait conditions","maximum":300000,"minimum":1000,"title":"Wait Timeout","type":"integer"}},"title":"PageSnapshotInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/PageSnapshotInput"}},"required":["input"],"title":"wavexis_page_snapshotArguments","type":"object"},"name":"wavexis_page_snapshot","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_page_snapshotOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Evaluate a JavaScript expression in the browser context and return the result.\n\nUse ``wavexis_scrape`` when the same expression must run across many\npages, or ``wavexis_act`` for natural-language interaction instead of\nraw JS.\n\nSide effects: launches/acquires a browser backend, navigates to ``url``\nif provided, executes arbitrary JS in the page (may trigger network\nrequests or DOM mutations).\nReturns: JSON string with keys: 'status' ('ok'/'error'), 'result'\n(Any), 'type' (str).\n","inputSchema":{"$defs":{"EvalInput":{"description":"Input for evaluating a JavaScript expression.","properties":{"await_promise":{"default":false,"description":"Await a returned Promise","title":"Await Promise","type":"boolean"},"backend":{"default":"cdp","description":"Backend: 'cdp', 'bidi', or 'auto'","enum":["cdp","bidi","auto"],"title":"Backend","type":"string"},"expression":{"description":"JavaScript expression to evaluate","title":"Expression","type":"string"},"headless":{"default":true,"description":"Run browser in headless mode","title":"Headless","type":"boolean"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Active session ID. If omitted, a stateless session is created for this call.","title":"Session Id"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"URL to navigate to first (required without session)","title":"Url"},"wait_timeout":{"default":30000,"description":"Timeout in ms for wait conditions","maximum":300000,"minimum":1000,"title":"Wait Timeout","type":"integer"}},"required":["expression"],"title":"EvalInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/EvalInput"}},"required":["input"],"title":"wavexis_evalArguments","type":"object"},"name":"wavexis_eval","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_evalOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Retrieve the HTML of an element matching a CSS selector.\n\nUse wavexis_dom_query instead when you need element metadata rather than raw HTML.\n\nSide effects: None; read-only. May navigate to ``url`` if provided.\nReturns: JSON string with keys: 'status' ('ok'/'error'), 'html' (str), 'selector' (str).\n","inputSchema":{"$defs":{"DOMGetInput":{"description":"Input for getting HTML of an element.","properties":{"backend":{"default":"cdp","description":"Backend: 'cdp', 'bidi', or 'auto'","enum":["cdp","bidi","auto"],"title":"Backend","type":"string"},"headless":{"default":true,"description":"Run browser in headless mode","title":"Headless","type":"boolean"},"outer":{"default":true,"description":"Return outerHTML (True) or innerHTML (False)","title":"Outer","type":"boolean"},"selector":{"description":"CSS selector for the target element","minLength":1,"title":"Selector","type":"string"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Active session ID. If omitted, a stateless session is created for this call.","title":"Session Id"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"URL to navigate to (required without session_id)","title":"Url"},"wait_timeout":{"default":30000,"description":"Timeout in ms for wait conditions","maximum":300000,"minimum":1000,"title":"Wait Timeout","type":"integer"}},"required":["selector"],"title":"DOMGetInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/DOMGetInput"}},"required":["input"],"title":"wavexis_dom_getArguments","type":"object"},"name":"wavexis_dom_get","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_dom_getOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Query elements by CSS selector and return paginated metadata.\n\nUse wavexis_dom_get instead when you only need the raw HTML of a single element.\n\nSide effects: None; read-only. May navigate to ``url`` if provided.\nReturns: JSON string with keys: 'status' ('ok'/'error'), 'elements' (list[dict]),\n    'count' (int), 'total' (int).\n","inputSchema":{"$defs":{"DOMQueryInput":{"description":"Input for querying elements by CSS selector.","properties":{"all":{"default":false,"description":"Return all matches (True) or first only (False)","title":"All","type":"boolean"},"backend":{"default":"cdp","description":"Backend: 'cdp', 'bidi', or 'auto'","enum":["cdp","bidi","auto"],"title":"Backend","type":"string"},"headless":{"default":true,"description":"Run browser in headless mode","title":"Headless","type":"boolean"},"limit":{"default":50,"description":"Max elements to return when all=True","maximum":500,"minimum":1,"title":"Limit","type":"integer"},"offset":{"default":0,"description":"Skip first N elements for pagination","minimum":0,"title":"Offset","type":"integer"},"selector":{"description":"CSS selector for the target element","minLength":1,"title":"Selector","type":"string"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Active session ID. If omitted, a stateless session is created for this call.","title":"Session Id"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"URL to navigate to (required without session_id)","title":"Url"},"wait_timeout":{"default":30000,"description":"Timeout in ms for wait conditions","maximum":300000,"minimum":1000,"title":"Wait Timeout","type":"integer"}},"required":["selector"],"title":"DOMQueryInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/DOMQueryInput"}},"required":["input"],"title":"wavexis_dom_queryArguments","type":"object"},"name":"wavexis_dom_query","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_dom_queryOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Set an attribute on an element matching a CSS selector.\n\nUse wavexis_dom_get_attr to read the current value before setting.\n\nSide effects: Mutates the DOM by writing the attribute on the matched element.\nReturns: JSON string with keys: 'status' ('ok'/'error').\n","inputSchema":{"$defs":{"DOMSetAttrInput":{"description":"Input for setting an attribute on an element.","properties":{"name":{"description":"Attribute name","minLength":1,"title":"Name","type":"string"},"selector":{"description":"CSS selector for the target element","minLength":1,"title":"Selector","type":"string"},"session_id":{"description":"Active session ID from wavexis_session_open","title":"Session Id","type":"string"},"value":{"description":"Attribute value","title":"Value","type":"string"}},"required":["selector","name","value","session_id"],"title":"DOMSetAttrInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/DOMSetAttrInput"}},"required":["input"],"title":"wavexis_dom_set_attrArguments","type":"object"},"name":"wavexis_dom_set_attr","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_dom_set_attrOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Read an attribute value from an element matching a CSS selector.\n\nUse wavexis_dom_set_attr to write an attribute value.\n\nSide effects: None; read-only.\nReturns: JSON string with keys: 'status' ('ok'/'error'), 'value' (str|None),\n    'selector' (str), 'name' (str).\n","inputSchema":{"$defs":{"DOMGetAttrInput":{"description":"Input for getting an attribute value from an element.","properties":{"name":{"description":"Name of the item","minLength":1,"title":"Name","type":"string"},"selector":{"description":"CSS selector for the target element","minLength":1,"title":"Selector","type":"string"},"session_id":{"description":"Active session ID from wavexis_session_open","title":"Session Id","type":"string"}},"required":["selector","name","session_id"],"title":"DOMGetAttrInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/DOMGetAttrInput"}},"required":["input"],"title":"wavexis_dom_get_attrArguments","type":"object"},"name":"wavexis_dom_get_attr","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_dom_get_attrOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Remove an attribute from an element matching a CSS selector.\n\nUse wavexis_dom_set_attr to restore or change an attribute instead of removing it.\n\nSide effects: Mutates the DOM by deleting the attribute from the matched element.\nReturns: JSON string with keys: 'status' ('ok'/'error').\n","inputSchema":{"$defs":{"DOMRemoveAttrInput":{"description":"Input for removing an attribute from an element.","properties":{"name":{"description":"Name of the item","minLength":1,"title":"Name","type":"string"},"selector":{"description":"CSS selector for the target element","minLength":1,"title":"Selector","type":"string"},"session_id":{"description":"Active session ID from wavexis_session_open","title":"Session Id","type":"string"}},"required":["selector","name","session_id"],"title":"DOMRemoveAttrInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/DOMRemoveAttrInput"}},"required":["input"],"title":"wavexis_dom_remove_attrArguments","type":"object"},"name":"wavexis_dom_remove_attr","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_dom_remove_attrOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Remove an element matching a CSS selector from the DOM.\n\nUse wavexis_dom_set_attr to hide an element (e.g. ``display:none``) instead of deleting it.\n\nSide effects: Destructive; permanently removes the matched element from the live DOM.\nReturns: JSON string with keys: 'status' ('ok'/'error').\n","inputSchema":{"$defs":{"DOMRemoveInput":{"description":"Input for removing an element from the DOM.","properties":{"selector":{"description":"CSS selector for the target element","minLength":1,"title":"Selector","type":"string"},"session_id":{"description":"Active session ID from wavexis_session_open","title":"Session Id","type":"string"}},"required":["selector","session_id"],"title":"DOMRemoveInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/DOMRemoveInput"}},"required":["input"],"title":"wavexis_dom_removeArguments","type":"object"},"name":"wavexis_dom_remove","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_dom_removeOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Focus an element matching a CSS selector.\n\nUse wavexis_dom_click instead when the intent is to activate a control rather than focus it.\n\nSide effects: Mutates DOM focus state; may trigger focus event handlers on the element.\nReturns: JSON string with keys: 'status' ('ok'/'error').\n","inputSchema":{"$defs":{"DOMFocusInput":{"description":"Input for focusing an element.","properties":{"selector":{"description":"CSS selector for the target element","minLength":1,"title":"Selector","type":"string"},"session_id":{"description":"Active session ID from wavexis_session_open","title":"Session Id","type":"string"}},"required":["selector","session_id"],"title":"DOMFocusInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/DOMFocusInput"}},"required":["input"],"title":"wavexis_dom_focusArguments","type":"object"},"name":"wavexis_dom_focus","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_dom_focusOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Scroll to an element or by a pixel offset.\n\nUse wavexis_dom_get to inspect an element's position before scrolling by offset.\n\nSide effects: Changes the page scroll position; may trigger scroll event listeners.\nReturns: JSON string with keys: 'status' ('ok'/'error').\n","inputSchema":{"$defs":{"DOMScrollInput":{"description":"Input for scrolling to an element or by offset.","properties":{"selector":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"CSS selector to scroll to","title":"Selector"},"session_id":{"description":"Active session ID from wavexis_session_open","title":"Session Id","type":"string"},"x":{"default":0,"description":"Horizontal scroll offset","title":"X","type":"integer"},"y":{"default":0,"description":"Vertical scroll offset","title":"Y","type":"integer"}},"required":["session_id"],"title":"DOMScrollInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/DOMScrollInput"}},"required":["input"],"title":"wavexis_dom_scrollArguments","type":"object"},"name":"wavexis_dom_scroll","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_dom_scrollOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Capture a full DOM snapshot of the page including iframes and shadow roots.\n\nUse wavexis_dom_query for lightweight element metadata instead of a full snapshot.\n\nSide effects: None; read-only.\nReturns: JSON string with keys: 'status' ('ok'/'error'), 'snapshot' (dict),\n    'documents' (int).\n","inputSchema":{"$defs":{"DOMSnapshotInput":{"description":"Input for capturing a full DOM snapshot.","properties":{"session_id":{"description":"Active session ID from wavexis_session_open","title":"Session Id","type":"string"}},"required":["session_id"],"title":"DOMSnapshotInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/DOMSnapshotInput"}},"required":["input"],"title":"wavexis_dom_snapshotArguments","type":"object"},"name":"wavexis_dom_snapshot","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_dom_snapshotOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Evaluate a JavaScript expression inside an iframe.\n\nUse wavexis_iframe_click or wavexis_iframe_fill for standard interactions instead of raw JS.\n\nSide effects: Arbitrary; executes user-supplied JavaScript within the iframe context.\nReturns: JSON string with keys: 'status' ('ok'/'error'), 'result' (any).\n","inputSchema":{"$defs":{"IframeEvalInput":{"description":"Input for evaluating JS inside an iframe.","properties":{"await_promise":{"default":false,"description":"Whether to await the returned promise","title":"Await Promise","type":"boolean"},"expression":{"description":"JavaScript expression to evaluate","title":"Expression","type":"string"},"iframe_selector":{"description":"CSS selector for the <iframe> element","minLength":1,"title":"Iframe Selector","type":"string"},"session_id":{"description":"Active session ID from wavexis_session_open","title":"Session Id","type":"string"}},"required":["session_id","iframe_selector","expression"],"title":"IframeEvalInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/IframeEvalInput"}},"required":["input"],"title":"wavexis_iframe_evalArguments","type":"object"},"name":"wavexis_iframe_eval","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_iframe_evalOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Click an element inside an iframe.\n\nUse wavexis_iframe_eval only for custom JS that click/fill cannot express.\n\nSide effects: Triggers click handlers and may navigate or mutate the iframe DOM.\nReturns: JSON string with keys: 'status' ('ok'/'error').\n","inputSchema":{"$defs":{"IframeClickInput":{"description":"Input for clicking an element inside an iframe.","properties":{"iframe_selector":{"description":"CSS selector for the <iframe> element","minLength":1,"title":"Iframe Selector","type":"string"},"selector":{"description":"CSS selector inside the iframe","minLength":1,"title":"Selector","type":"string"},"session_id":{"description":"Active session ID from wavexis_session_open","title":"Session Id","type":"string"}},"required":["session_id","iframe_selector","selector"],"title":"IframeClickInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/IframeClickInput"}},"required":["input"],"title":"wavexis_iframe_clickArguments","type":"object"},"name":"wavexis_iframe_click","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_iframe_clickOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Fill an input element inside an iframe with a value.\n\nUse wavexis_iframe_click to submit or activate the field after filling.\n\nSide effects: Mutates the input value within the iframe; may trigger input/change events.\nReturns: JSON string with keys: 'status' ('ok'/'error').\n","inputSchema":{"$defs":{"IframeFillInput":{"description":"Input for filling an input inside an iframe.","properties":{"iframe_selector":{"description":"CSS selector for the <iframe> element","minLength":1,"title":"Iframe Selector","type":"string"},"selector":{"description":"CSS selector inside the iframe","minLength":1,"title":"Selector","type":"string"},"session_id":{"description":"Active session ID from wavexis_session_open","title":"Session Id","type":"string"},"value":{"description":"Value to set in the input field","title":"Value","type":"string"}},"required":["session_id","iframe_selector","selector","value"],"title":"IframeFillInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/IframeFillInput"}},"required":["input"],"title":"wavexis_iframe_fillArguments","type":"object"},"name":"wavexis_iframe_fill","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_iframe_fillOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Evaluate a JavaScript expression inside a shadow DOM tree.\n\nPierces shadow boundaries using the provided selector chain: ``selectors[0]`` is in the\nmain document, ``selectors[1]`` in ``selectors[0].shadowRoot``, and so on.\nUse wavexis_shadow_click or wavexis_shadow_fill for standard interactions instead of raw JS.\n\nSide effects: Arbitrary; executes user-supplied JavaScript within the shadow DOM context.\nReturns: JSON string with keys: 'status' ('ok'/'error'), 'result' (any).\n","inputSchema":{"$defs":{"ShadowEvalInput":{"description":"Input for evaluating JS inside a shadow DOM tree.","properties":{"await_promise":{"default":false,"description":"Whether to await the returned promise","title":"Await Promise","type":"boolean"},"expression":{"description":"JavaScript expression to evaluate","title":"Expression","type":"string"},"selectors":{"description":"CSS selectors piercing shadow boundaries (selectors[0] in document, selectors[1] in selectors[0].shadowRoot, etc.)","items":{"type":"string"},"minItems":1,"title":"Selectors","type":"array"},"session_id":{"description":"Active session ID from wavexis_session_open","title":"Session Id","type":"string"}},"required":["session_id","selectors","expression"],"title":"ShadowEvalInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/ShadowEvalInput"}},"required":["input"],"title":"wavexis_shadow_evalArguments","type":"object"},"name":"wavexis_shadow_eval","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_shadow_evalOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Click an element inside a shadow DOM tree.\n\nPierces shadow boundaries using the provided selector chain.\nUse wavexis_shadow_eval only for custom JS that click/fill cannot express.\n\nSide effects: Triggers click handlers and may navigate or mutate the shadow DOM.\nReturns: JSON string with keys: 'status' ('ok'/'error').\n","inputSchema":{"$defs":{"ShadowClickInput":{"description":"Input for clicking an element inside a shadow DOM tree.","properties":{"selectors":{"description":"CSS selectors piercing shadow boundaries","items":{"type":"string"},"minItems":1,"title":"Selectors","type":"array"},"session_id":{"description":"Active session ID from wavexis_session_open","title":"Session Id","type":"string"}},"required":["session_id","selectors"],"title":"ShadowClickInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/ShadowClickInput"}},"required":["input"],"title":"wavexis_shadow_clickArguments","type":"object"},"name":"wavexis_shadow_click","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_shadow_clickOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Fill an input element inside a shadow DOM tree with a value.\n\nPierces shadow boundaries using the provided selector chain.\nUse wavexis_shadow_click to submit or activate the field after filling.\n\nSide effects: Mutates the input value within the shadow DOM; may trigger\ninput/change events.\nReturns: JSON string with keys: 'status' ('ok'/'error').\n","inputSchema":{"$defs":{"ShadowFillInput":{"description":"Input for filling an input inside a shadow DOM tree.","properties":{"selectors":{"description":"CSS selectors piercing shadow boundaries","items":{"type":"string"},"minItems":1,"title":"Selectors","type":"array"},"session_id":{"description":"Active session ID from wavexis_session_open","title":"Session Id","type":"string"},"value":{"description":"Value to set in the input field","title":"Value","type":"string"}},"required":["session_id","selectors","value"],"title":"ShadowFillInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/ShadowFillInput"}},"required":["input"],"title":"wavexis_shadow_fillArguments","type":"object"},"name":"wavexis_shadow_fill","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_shadow_fillOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Click an element matching a CSS selector.\n\nUse wavexis_double_click for double clicks, wavexis_right_click for\ncontext menus, or wavexis_nl_click when you only have a text description.\n\nSide effects: Triggers a click event on the target element, which may\nsubmit forms, toggle controls, or navigate the page.\nReturns: JSON string with keys: 'status' ('ok'/'error'). On error also\n'error', 'tool', 'type', 'message', 'suggestion' (all str).\n","inputSchema":{"$defs":{"ClickInput":{"description":"Input for clicking an element.","properties":{"backend":{"default":"cdp","description":"Backend: 'cdp', 'bidi', or 'auto'","enum":["cdp","bidi","auto"],"title":"Backend","type":"string"},"button":{"default":"left","description":"left, right, middle","enum":["left","right","middle"],"title":"Button","type":"string"},"click_count":{"default":1,"description":"Number of clicks to perform","maximum":10,"minimum":1,"title":"Click Count","type":"integer"},"headless":{"default":true,"description":"Run browser in headless mode","title":"Headless","type":"boolean"},"selector":{"description":"CSS selector for element to click","minLength":1,"title":"Selector","type":"string"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Active session ID. If omitted, a stateless session is created for this call.","title":"Session Id"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"URL to navigate to (required without session_id)","title":"Url"},"wait_timeout":{"default":30000,"description":"Timeout in ms for wait conditions","maximum":300000,"minimum":1000,"title":"Wait Timeout","type":"integer"}},"required":["selector"],"title":"ClickInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/ClickInput"}},"required":["input"],"title":"wavexis_clickArguments","type":"object"},"name":"wavexis_click","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_clickOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Double-click an element matching a CSS selector.\n\nUse wavexis_click for single clicks or wavexis_nl_click when you only\nhave a natural language description of the element.\n\nSide effects: Fires two rapid click events on the element, which may\nopen files, edit cells, or trigger application-specific actions.\nReturns: JSON string with keys: 'status' ('ok'/'error'). On error also\n'error', 'tool', 'type', 'message', 'suggestion' (all str).\n","inputSchema":{"$defs":{"DoubleClickInput":{"description":"Input for double-clicking an element.","properties":{"auto_wait":{"default":true,"description":"Wait for the element before clicking","title":"Auto Wait","type":"boolean"},"backend":{"default":"cdp","description":"Backend: 'cdp', 'bidi', or 'auto'","enum":["cdp","bidi","auto"],"title":"Backend","type":"string"},"headless":{"default":true,"description":"Run browser in headless mode","title":"Headless","type":"boolean"},"selector":{"description":"CSS selector for element to double-click","minLength":1,"title":"Selector","type":"string"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Active session ID. If omitted, a stateless session is created for this call.","title":"Session Id"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"URL to navigate to (required without session_id)","title":"Url"},"wait_timeout":{"default":30000,"description":"Timeout in ms for wait conditions","maximum":300000,"minimum":1000,"title":"Wait Timeout","type":"integer"}},"required":["selector"],"title":"DoubleClickInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/DoubleClickInput"}},"required":["input"],"title":"wavexis_double_clickArguments","type":"object"},"name":"wavexis_double_click","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_double_clickOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Right-click an element matching a CSS selector.\n\nUse wavexis_click for standard left clicks or wavexis_double_click for\ndouble clicks.\n\nSide effects: Fires a contextmenu event on the element, typically\nopening a context menu in the browser.\nReturns: JSON string with keys: 'status' ('ok'/'error'). On error also\n'error', 'tool', 'type', 'message', 'suggestion' (all str).\n","inputSchema":{"$defs":{"RightClickInput":{"description":"Input for right-clicking an element.","properties":{"auto_wait":{"default":true,"description":"Wait for the element before clicking","title":"Auto Wait","type":"boolean"},"backend":{"default":"cdp","description":"Backend: 'cdp', 'bidi', or 'auto'","enum":["cdp","bidi","auto"],"title":"Backend","type":"string"},"headless":{"default":true,"description":"Run browser in headless mode","title":"Headless","type":"boolean"},"selector":{"description":"CSS selector for element to right-click","minLength":1,"title":"Selector","type":"string"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Active session ID. If omitted, a stateless session is created for this call.","title":"Session Id"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"URL to navigate to (required without session_id)","title":"Url"},"wait_timeout":{"default":30000,"description":"Timeout in ms for wait conditions","maximum":300000,"minimum":1000,"title":"Wait Timeout","type":"integer"}},"required":["selector"],"title":"RightClickInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/RightClickInput"}},"required":["input"],"title":"wavexis_right_clickArguments","type":"object"},"name":"wavexis_right_click","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_right_clickOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Type text into an element character by character with optional delay.\n\nUse wavexis_fill instead when you want to set a field's value instantly\nwithout per-keystroke delays, or wavexis_fill_form for multiple fields.\n\nSide effects: Appends characters to the target input/textarea element,\nfiring keydown/keypress/input/keyup events per character.\nReturns: JSON string with keys: 'status' ('ok'/'error'). On error also\n'error', 'tool', 'type', 'message', 'suggestion' (all str).\n","inputSchema":{"$defs":{"TypeInput":{"description":"Input for typing text into an element.","properties":{"backend":{"default":"cdp","description":"Backend: 'cdp', 'bidi', or 'auto'","enum":["cdp","bidi","auto"],"title":"Backend","type":"string"},"delay":{"default":0,"description":"Delay between keystrokes in ms","maximum":1000,"minimum":0,"title":"Delay","type":"integer"},"headless":{"default":true,"description":"Run browser in headless mode","title":"Headless","type":"boolean"},"selector":{"description":"CSS selector for the target element","minLength":1,"title":"Selector","type":"string"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Active session ID. If omitted, a stateless session is created for this call.","title":"Session Id"},"text":{"description":"Text to type character by character","minLength":1,"title":"Text","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"URL to navigate to (required without session_id)","title":"Url"},"wait_timeout":{"default":30000,"description":"Timeout in ms for wait conditions","maximum":300000,"minimum":1000,"title":"Wait Timeout","type":"integer"}},"required":["selector","text"],"title":"TypeInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/TypeInput"}},"required":["input"],"title":"wavexis_typeArguments","type":"object"},"name":"wavexis_type","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_typeOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Fill an input element with a value, replacing existing content.\n\nUse wavexis_type for character-by-character typing with key events, or\nwavexis_fill_form when filling multiple fields in one call.\n\nSide effects: Clears the target input/textarea and sets its value to\nthe provided string, firing a single input event.\nReturns: JSON string with keys: 'status' ('ok'/'error'). On error also\n'error', 'tool', 'type', 'message', 'suggestion' (all str).\n","inputSchema":{"$defs":{"FillInput":{"description":"Input for filling an input element.","properties":{"backend":{"default":"cdp","description":"Backend: 'cdp', 'bidi', or 'auto'","enum":["cdp","bidi","auto"],"title":"Backend","type":"string"},"headless":{"default":true,"description":"Run browser in headless mode","title":"Headless","type":"boolean"},"selector":{"description":"CSS selector for the target element","minLength":1,"title":"Selector","type":"string"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Active session ID. If omitted, a stateless session is created for this call.","title":"Session Id"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"URL to navigate to (required without session_id)","title":"Url"},"value":{"description":"Value to fill (replaces existing content)","title":"Value","type":"string"},"wait_timeout":{"default":30000,"description":"Timeout in ms for wait conditions","maximum":300000,"minimum":1000,"title":"Wait Timeout","type":"integer"}},"required":["selector","value"],"title":"FillInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/FillInput"}},"required":["input"],"title":"wavexis_fillArguments","type":"object"},"name":"wavexis_fill","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_fillOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Fill multiple form fields in one call (convenience composite tool).\n\nUse wavexis_fill for a single field or wavexis_type when per-keystroke\nevents are required.\n\nSide effects: Clears and sets the value of each field in the provided\nlist, firing input events on every targeted element.\nReturns: JSON string with keys: 'status' ('ok'/'error'), 'fields_filled'\n(int, number of fields successfully filled). On error also 'error',\n'tool', 'type', 'message', 'suggestion' (all str).\n","inputSchema":{"$defs":{"FillFormInput":{"description":"Input for filling multiple form fields in one call.","properties":{"backend":{"default":"cdp","description":"Backend: 'cdp', 'bidi', or 'auto'","enum":["cdp","bidi","auto"],"title":"Backend","type":"string"},"fields":{"description":"Form fields to fill","items":{"$ref":"#/$defs/FormField"},"maxItems":100,"minItems":1,"title":"Fields","type":"array"},"headless":{"default":true,"description":"Run browser in headless mode","title":"Headless","type":"boolean"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Active session ID. If omitted, a stateless session is created for this call.","title":"Session Id"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"URL to navigate to (required without session_id)","title":"Url"},"wait_timeout":{"default":30000,"description":"Timeout in ms for wait conditions","maximum":300000,"minimum":1000,"title":"Wait Timeout","type":"integer"}},"required":["fields"],"title":"FillFormInput","type":"object"},"FormField":{"description":"A single form field descriptor for ``FillFormInput``.","properties":{"selector":{"description":"CSS selector for the input element","minLength":1,"title":"Selector","type":"string"},"value":{"description":"Value to fill","title":"Value","type":"string"}},"required":["selector","value"],"title":"FormField","type":"object"}},"properties":{"input":{"$ref":"#/$defs/FillFormInput"}},"required":["input"],"title":"wavexis_fill_formArguments","type":"object"},"name":"wavexis_fill_form","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_fill_formOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Select an option in a ``<select>`` element by value.\n\nUse wavexis_fill for text inputs or wavexis_click for custom dropdown\nwidgets that are not native ``<select>`` elements.\n\nSide effects: Changes the selected option of the ``<select>`` element,\nfiring change and input events.\nReturns: JSON string with keys: 'status' ('ok'/'error'). On error also\n'error', 'tool', 'type', 'message', 'suggestion' (all str).\n","inputSchema":{"$defs":{"SelectOptionInput":{"description":"Input for selecting an option in a ``<select>`` element.","properties":{"backend":{"default":"cdp","description":"Backend: 'cdp', 'bidi', or 'auto'","enum":["cdp","bidi","auto"],"title":"Backend","type":"string"},"headless":{"default":true,"description":"Run browser in headless mode","title":"Headless","type":"boolean"},"selector":{"description":"CSS selector for <select> element","minLength":1,"title":"Selector","type":"string"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Active session ID. If omitted, a stateless session is created for this call.","title":"Session Id"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"URL to navigate to (required without session_id)","title":"Url"},"value":{"description":"Option value to select","minLength":1,"title":"Value","type":"string"},"wait_timeout":{"default":30000,"description":"Timeout in ms for wait conditions","maximum":300000,"minimum":1000,"title":"Wait Timeout","type":"integer"}},"required":["selector","value"],"title":"SelectOptionInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/SelectOptionInput"}},"required":["input"],"title":"wavexis_select_optionArguments","type":"object"},"name":"wavexis_select_option","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_select_optionOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Hover over an element matching a CSS selector.\n\nUse wavexis_click to actually activate an element; hover only moves the\ncursor without clicking.\n\nSide effects: Moves the mouse cursor over the target element, firing\nmouseover/mouseenter events that may reveal tooltips or menus.\nReturns: JSON string with keys: 'status' ('ok'/'error'). On error also\n'error', 'tool', 'type', 'message', 'suggestion' (all str).\n","inputSchema":{"$defs":{"HoverInput":{"description":"Input for hovering over an element.","properties":{"backend":{"default":"cdp","description":"Backend: 'cdp', 'bidi', or 'auto'","enum":["cdp","bidi","auto"],"title":"Backend","type":"string"},"headless":{"default":true,"description":"Run browser in headless mode","title":"Headless","type":"boolean"},"selector":{"description":"CSS selector for the target element","minLength":1,"title":"Selector","type":"string"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Active session ID. If omitted, a stateless session is created for this call.","title":"Session Id"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"URL to navigate to (required without session_id)","title":"Url"},"wait_timeout":{"default":30000,"description":"Timeout in ms for wait conditions","maximum":300000,"minimum":1000,"title":"Wait Timeout","type":"integer"}},"required":["selector"],"title":"HoverInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/HoverInput"}},"required":["input"],"title":"wavexis_hoverArguments","type":"object"},"name":"wavexis_hover","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_hoverOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Press a single keyboard key on the focused element.\n\nUse wavexis_type for typing full strings or wavexis_fill for setting\nfield values without individual key events.\n\nSide effects: Dispatches a keydown/keypress/keyup sequence for the\ngiven key on whatever element currently has focus.\nReturns: JSON string with keys: 'status' ('ok'/'error'). On error also\n'error', 'tool', 'type', 'message', 'suggestion' (all str).\n","inputSchema":{"$defs":{"KeyPressInput":{"description":"Input for pressing a keyboard key.","properties":{"key":{"description":"Key to press (e.g. 'Enter', 'Tab', 'Escape', 'a')","title":"Key","type":"string"},"session_id":{"description":"Active session ID from wavexis_session_open","title":"Session Id","type":"string"}},"required":["key","session_id"],"title":"KeyPressInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/KeyPressInput"}},"required":["input"],"title":"wavexis_key_pressArguments","type":"object"},"name":"wavexis_key_press","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_key_pressOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Drag an element from a source selector to a target selector.\n\nUse wavexis_drop when you need to drop arbitrary MIME data or files\nonto an element rather than dragging an existing DOM element.\n\nSide effects: Performs a drag-and-drop operation between two elements,\nfiring drag/dragstart/dragend and drop events.\nReturns: JSON string with keys: 'status' ('ok'/'error'). On error also\n'error', 'tool', 'type', 'message', 'suggestion' (all str).\n","inputSchema":{"$defs":{"DragInput":{"description":"Input for dragging an element from source to target.","properties":{"backend":{"default":"cdp","description":"Backend: 'cdp', 'bidi', or 'auto'","enum":["cdp","bidi","auto"],"title":"Backend","type":"string"},"headless":{"default":true,"description":"Run browser in headless mode","title":"Headless","type":"boolean"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Active session ID. If omitted, a stateless session is created for this call.","title":"Session Id"},"source":{"description":"CSS selector for drag source","title":"Source","type":"string"},"target":{"description":"CSS selector for drop target","title":"Target","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"URL to navigate to (required without session_id)","title":"Url"},"wait_timeout":{"default":30000,"description":"Timeout in ms for wait conditions","maximum":300000,"minimum":1000,"title":"Wait Timeout","type":"integer"}},"required":["source","target"],"title":"DragInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/DragInput"}},"required":["input"],"title":"wavexis_dragArguments","type":"object"},"name":"wavexis_drag","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_dragOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Tap an element matching a CSS selector (touch-emulated click).\n\nUse wavexis_click for mouse-based clicking on desktop contexts or\nwavexis_nl_click when you only have a natural language description.\n\nSide effects: Dispatches a touch tap on the target element, which may\ntoggle controls or trigger navigation on mobile-optimised pages.\nReturns: JSON string with keys: 'status' ('ok'/'error'). On error also\n'error', 'tool', 'type', 'message', 'suggestion' (all str).\n","inputSchema":{"$defs":{"TapInput":{"description":"Input for tapping an element (touch emulation).","properties":{"backend":{"default":"cdp","description":"Backend: 'cdp', 'bidi', or 'auto'","enum":["cdp","bidi","auto"],"title":"Backend","type":"string"},"headless":{"default":true,"description":"Run browser in headless mode","title":"Headless","type":"boolean"},"selector":{"description":"CSS selector for element to tap","minLength":1,"title":"Selector","type":"string"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Active session ID. If omitted, a stateless session is created for this call.","title":"Session Id"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"URL to navigate to (required without session_id)","title":"Url"},"wait_timeout":{"default":30000,"description":"Timeout in ms for wait conditions","maximum":300000,"minimum":1000,"title":"Wait Timeout","type":"integer"}},"required":["selector"],"title":"TapInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/TapInput"}},"required":["input"],"title":"wavexis_tapArguments","type":"object"},"name":"wavexis_tap","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_tapOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Upload files to a file input element (``<input type=\"file\">``).\n\nUse wavexis_drop when you need to simulate drag-and-drop of files or\nMIME data onto a non-file-input element.\n\nSide effects: Sets the selected files on the target file input element,\nfiring change events that typically trigger upload logic.\nReturns: JSON string with keys: 'status' ('ok'/'error'). On error also\n'error', 'tool', 'type', 'message', 'suggestion' (all str).\n","inputSchema":{"$defs":{"SetFilesInput":{"description":"Input for uploading files to a file input element.","properties":{"backend":{"default":"cdp","description":"Backend: 'cdp', 'bidi', or 'auto'","enum":["cdp","bidi","auto"],"title":"Backend","type":"string"},"files":{"description":"Absolute file paths to upload","items":{"type":"string"},"minItems":1,"title":"Files","type":"array"},"headless":{"default":true,"description":"Run browser in headless mode","title":"Headless","type":"boolean"},"selector":{"description":"CSS selector for <input type='file'> element","minLength":1,"title":"Selector","type":"string"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Active session ID. If omitted, a stateless session is created for this call.","title":"Session Id"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"URL to navigate to (required without session_id)","title":"Url"},"wait_timeout":{"default":30000,"description":"Timeout in ms for wait conditions","maximum":300000,"minimum":1000,"title":"Wait Timeout","type":"integer"}},"required":["selector","files"],"title":"SetFilesInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/SetFilesInput"}},"required":["input"],"title":"wavexis_set_filesArguments","type":"object"},"name":"wavexis_set_files","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_set_filesOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Drop files or MIME-typed data onto an element via drag events.\n\nUse wavexis_set_files for standard ``<input type=\"file\">`` uploads or\nwavexis_drag for dragging an existing DOM element to another element.\n\nSide effects: Dispatches dragEnter, dragOver, and drop events with the\nsupplied data and files onto the target element's coordinates.\nReturns: JSON string with keys: 'status' ('ok'/'error'), 'selector'\n(str), 'x' (float), 'y' (float), 'data_types' (list[str]), 'files'\n(list[str]). On error also 'error', 'tool', 'type', 'message',\n'suggestion' (all str).\n","inputSchema":{"$defs":{"DropInput":{"description":"Input for dropping files or MIME-typed data onto an element.","properties":{"backend":{"default":"cdp","description":"Backend: 'cdp', 'bidi', or 'auto'","enum":["cdp","bidi","auto"],"title":"Backend","type":"string"},"data":{"additionalProperties":{"type":"string"},"description":"MIME type to string payload map","title":"Data","type":"object"},"headless":{"default":true,"description":"Run browser in headless mode","title":"Headless","type":"boolean"},"paths":{"description":"Absolute file paths to drop","items":{"type":"string"},"title":"Paths","type":"array"},"selector":{"description":"CSS selector for the drop target","minLength":1,"title":"Selector","type":"string"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Active session ID. If omitted, a stateless session is created for this call.","title":"Session Id"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"URL to navigate to (required without session_id)","title":"Url"},"wait_timeout":{"default":30000,"description":"Timeout in ms for wait conditions","maximum":300000,"minimum":1000,"title":"Wait Timeout","type":"integer"}},"required":["selector"],"title":"DropInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/DropInput"}},"required":["input"],"title":"wavexis_dropArguments","type":"object"},"name":"wavexis_drop","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_dropOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Check a checkbox or radio button matching a CSS selector.\n\nUse wavexis_uncheck to uncheck a checkbox or wavexis_click for generic\nelement activation.\n\nSide effects: Clicks the target checkbox/radio, toggling its checked\nstate and firing change events.\nReturns: JSON string with keys: 'status' ('ok'/'error'), 'checked'\n(bool, the element's checked state after the action). On error also\n'error', 'tool', 'type', 'message', 'suggestion' (all str).\n","inputSchema":{"$defs":{"CheckInput":{"description":"Input for checking/unchecking a checkbox or radio.","properties":{"selector":{"description":"CSS selector for checkbox/radio","minLength":1,"title":"Selector","type":"string"},"session_id":{"description":"Active session ID from wavexis_session_open","title":"Session Id","type":"string"}},"required":["selector","session_id"],"title":"CheckInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/CheckInput"}},"required":["input"],"title":"wavexis_checkArguments","type":"object"},"name":"wavexis_check","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_checkOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Uncheck a checkbox matching a CSS selector by clicking it.\n\nUse wavexis_check to check a checkbox or wavexis_click for generic\nelement activation.\n\nSide effects: Clicks the target checkbox to toggle it to unchecked,\nfiring change events.\nReturns: JSON string with keys: 'status' ('ok'/'error'). On error also\n'error', 'tool', 'type', 'message', 'suggestion' (all str).\n","inputSchema":{"$defs":{"CheckInput":{"description":"Input for checking/unchecking a checkbox or radio.","properties":{"selector":{"description":"CSS selector for checkbox/radio","minLength":1,"title":"Selector","type":"string"},"session_id":{"description":"Active session ID from wavexis_session_open","title":"Session Id","type":"string"}},"required":["selector","session_id"],"title":"CheckInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/CheckInput"}},"required":["input"],"title":"wavexis_uncheckArguments","type":"object"},"name":"wavexis_uncheck","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_uncheckOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Find element selector(s) by visible text content without interacting.\n\nUse this to locate elements before calling wavexis_click or wavexis_fill\nwhen you know the visible text but not the CSS selector.\n\nSide effects: None — this is a read-only lookup that does not modify the\npage or interact with any element.\nReturns: JSON string with keys: 'selector' (str, first match) when\nall=False, or 'selectors' (list[str]) and 'count' (int) when all=True.\nOn error also 'error', 'tool', 'type', 'message', 'suggestion' (all str).\n","inputSchema":{"$defs":{"FindByTextInput":{"description":"Input for finding elements by visible text content.","properties":{"all":{"default":false,"description":"Return all matches (True) or first match (False)","title":"All","type":"boolean"},"query":{"description":"Text to search for in visible page content","minLength":1,"title":"Query","type":"string"},"session_id":{"description":"Active session ID from wavexis_session_open","title":"Session Id","type":"string"}},"required":["query","session_id"],"title":"FindByTextInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/FindByTextInput"}},"required":["input"],"title":"wavexis_find_by_textArguments","type":"object"},"name":"wavexis_find_by_text","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_find_by_textOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Click an element described in natural language.\n\nUse wavexis_click when you already know the CSS selector, or\nwavexis_nl_fill to fill a field described in natural language.\n\nSide effects: Locates the best-matching element via text/semantic\nmatching and triggers a click event on it.\nReturns: JSON string with keys: 'status' ('ok'/'error'). On error also\n'error', 'tool', 'type', 'message', 'suggestion' (all str).\n","inputSchema":{"$defs":{"NLClickInput":{"description":"Input for clicking an element by natural language query.","properties":{"auto_wait":{"default":true,"description":"Wait for element to be ready before clicking","title":"Auto Wait","type":"boolean"},"query":{"description":"Natural language description of the element to click","minLength":1,"title":"Query","type":"string"},"session_id":{"description":"Active session ID from wavexis_session_open","title":"Session Id","type":"string"}},"required":["query","session_id"],"title":"NLClickInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/NLClickInput"}},"required":["input"],"title":"wavexis_nl_clickArguments","type":"object"},"name":"wavexis_nl_click","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_nl_clickOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Fill an element described in natural language with a value.\n\nUse wavexis_fill when you already know the CSS selector, or\nwavexis_nl_click to click an element described in natural language.\n\nSide effects: Locates the best-matching element via text/semantic\nmatching, clears it, and sets its value to the provided string.\nReturns: JSON string with keys: 'status' ('ok'/'error'). On error also\n'error', 'tool', 'type', 'message', 'suggestion' (all str).\n","inputSchema":{"$defs":{"NLFillInput":{"description":"Input for filling an element by natural language query.","properties":{"auto_wait":{"default":true,"description":"Wait for element to be ready before filling","title":"Auto Wait","type":"boolean"},"query":{"description":"Natural language description of the element to fill","minLength":1,"title":"Query","type":"string"},"session_id":{"description":"Active session ID from wavexis_session_open","title":"Session Id","type":"string"},"value":{"description":"Value to fill","minLength":1,"title":"Value","type":"string"}},"required":["query","value","session_id"],"title":"NLFillInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/NLFillInput"}},"required":["input"],"title":"wavexis_nl_fillArguments","type":"object"},"name":"wavexis_nl_fill","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_nl_fillOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Retrieve all cookies for the current page context.\n\nUse ``wavexis_cookies_set`` to add a cookie, or\n``wavexis_cookies_clear`` to remove all cookies at once.\n\nSide effects: launches/acquires a browser backend, navigates to ``url``\nif provided; read-only with respect to browser state.\nReturns: JSON string with keys: 'status' ('ok'/'error'), 'cookies'\n(list[dict]), 'count' (int).\n","inputSchema":{"$defs":{"CookiesGetInput":{"description":"Input for getting cookies.","properties":{"backend":{"default":"cdp","description":"Backend: 'cdp', 'bidi', or 'auto'","enum":["cdp","bidi","auto"],"title":"Backend","type":"string"},"headless":{"default":true,"description":"Run browser in headless mode","title":"Headless","type":"boolean"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Active session ID. If omitted, a stateless session is created for this call.","title":"Session Id"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"URL to navigate to (required without session_id)","title":"Url"},"wait_timeout":{"default":30000,"description":"Timeout in ms for wait conditions","maximum":300000,"minimum":1000,"title":"Wait Timeout","type":"integer"}},"title":"CookiesGetInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/CookiesGetInput"}},"required":["input"],"title":"wavexis_cookies_getArguments","type":"object"},"name":"wavexis_cookies_get","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_cookies_getOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Set a single cookie in the browser for the current page.\n\nUse ``wavexis_cookies_get`` to read cookies, or\n``wavexis_cookies_delete`` to remove a specific cookie.\n\nSide effects: launches/acquires a browser backend, navigates to ``url``\nif provided, mutates browser cookie state.\nReturns: JSON string with keys: 'status' ('ok'/'error').\n","inputSchema":{"$defs":{"CookiesSetInput":{"description":"Input for setting a cookie.","properties":{"backend":{"default":"cdp","description":"Backend: 'cdp', 'bidi', or 'auto'","enum":["cdp","bidi","auto"],"title":"Backend","type":"string"},"domain":{"description":"Cookie domain","minLength":1,"title":"Domain","type":"string"},"headless":{"default":true,"description":"Run browser in headless mode","title":"Headless","type":"boolean"},"http_only":{"default":false,"description":"Whether the cookie is HttpOnly","title":"Http Only","type":"boolean"},"name":{"description":"Name of the item","minLength":1,"title":"Name","type":"string"},"path":{"default":"/","description":"Cookie path","minLength":1,"title":"Path","type":"string"},"same_site":{"default":"Lax","description":"SameSite attribute: Strict, Lax, or None","enum":["Strict","Lax","None"],"title":"Same Site","type":"string"},"secure":{"default":true,"description":"Whether the cookie is Secure","title":"Secure","type":"boolean"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Active session ID. If omitted, a stateless session is created for this call.","title":"Session Id"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"URL to navigate to (required without session_id)","title":"Url"},"value":{"description":"Value to set","minLength":1,"title":"Value","type":"string"},"wait_timeout":{"default":30000,"description":"Timeout in ms for wait conditions","maximum":300000,"minimum":1000,"title":"Wait Timeout","type":"integer"}},"required":["name","value","domain"],"title":"CookiesSetInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/CookiesSetInput"}},"required":["input"],"title":"wavexis_cookies_setArguments","type":"object"},"name":"wavexis_cookies_set","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_cookies_setOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":false},"description":"Delete cookies matching a name and domain in the browser.\n\nUse ``wavexis_cookies_clear`` to remove all cookies, or\n``wavexis_cookies_set`` to add a new cookie.\n\nSide effects: launches/acquires a browser backend, navigates to ``url``\nif provided, destructively removes matching cookies from browser state.\nReturns: JSON string with keys: 'status' ('ok'/'error').\n","inputSchema":{"$defs":{"CookiesDeleteInput":{"description":"Input for deleting cookies.","properties":{"backend":{"default":"cdp","description":"Backend: 'cdp', 'bidi', or 'auto'","enum":["cdp","bidi","auto"],"title":"Backend","type":"string"},"domain":{"description":"Cookie domain","minLength":1,"title":"Domain","type":"string"},"headless":{"default":true,"description":"Run browser in headless mode","title":"Headless","type":"boolean"},"name":{"description":"Name of the item","minLength":1,"title":"Name","type":"string"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Active session ID. If omitted, a stateless session is created for this call.","title":"Session Id"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"URL to navigate to (required without session_id)","title":"Url"},"wait_timeout":{"default":30000,"description":"Timeout in ms for wait conditions","maximum":300000,"minimum":1000,"title":"Wait Timeout","type":"integer"}},"required":["name","domain"],"title":"CookiesDeleteInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/CookiesDeleteInput"}},"required":["input"],"title":"wavexis_cookies_deleteArguments","type":"object"},"name":"wavexis_cookies_delete","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_cookies_deleteOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Clear all cookies from the browser session.\n\nUse ``wavexis_cookies_delete`` to remove a specific cookie, or\n``wavexis_cookies_get`` to inspect cookies before clearing.\n\nSide effects: uses an existing session backend, destructively removes\nall cookies from the browser.\nReturns: JSON string with keys: 'status' ('ok'/'error').\n","inputSchema":{"$defs":{"CookiesClearInput":{"description":"Input for clearing all cookies.","properties":{"session_id":{"description":"Active session ID from wavexis_session_open","title":"Session Id","type":"string"}},"required":["session_id"],"title":"CookiesClearInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/CookiesClearInput"}},"required":["input"],"title":"wavexis_cookies_clearArguments","type":"object"},"name":"wavexis_cookies_clear","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_cookies_clearOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"List all open browser tabs in the session.\n\nUse to discover tab IDs before calling wavexis_activate_tab or\nwavexis_close_tab; use wavexis_session_info for session-level metadata\ninstead.\n\nSide effects: None — read-only query of the browser's tab list.\nReturns: JSON string with keys: 'status' ('ok'/'error'),\n'tabs' (list[dict]), 'count' (int).\n","inputSchema":{"$defs":{"ListTabsInput":{"description":"Input for listing browser tabs.","properties":{"session_id":{"description":"Active session ID from wavexis_session_open","title":"Session Id","type":"string"}},"required":["session_id"],"title":"ListTabsInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/ListTabsInput"}},"required":["input"],"title":"wavexis_list_tabsArguments","type":"object"},"name":"wavexis_list_tabs","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_list_tabsOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Create a new browser tab, optionally navigating to a URL.\n\nUse to open a parallel page without losing the current tab; use\nwavexis_navigate to change the current tab's URL instead.\n\nSide effects: Opens a new browser tab; if a URL is provided, issues a\nnetwork request to it.\nReturns: JSON string with keys: 'status' ('ok'/'error'),\n'tab_id' (str), 'url' (str).\n","inputSchema":{"$defs":{"NewTabInput":{"description":"Input for creating a new browser tab.","properties":{"session_id":{"description":"Active session ID from wavexis_session_open","title":"Session Id","type":"string"},"url":{"default":"about:blank","description":"URL for the new tab","title":"Url","type":"string"}},"required":["session_id"],"title":"NewTabInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/NewTabInput"}},"required":["input"],"title":"wavexis_new_tabArguments","type":"object"},"name":"wavexis_new_tab","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_new_tabOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Close a browser tab by its ID.\n\nUse to clean up tabs created with wavexis_new_tab; use\nwavexis_session_close to terminate the entire session instead.\n\nSide effects: Closes the specified tab and discards its page state.\nDestructive — unsaved data in that tab is lost.\nReturns: JSON string with keys: 'status' ('ok'/'error').\n","inputSchema":{"$defs":{"CloseTabInput":{"description":"Input for closing a browser tab.","properties":{"session_id":{"description":"Active session ID from wavexis_session_open","title":"Session Id","type":"string"},"tab_id":{"description":"Tab ID to operate on","title":"Tab Id","type":"string"}},"required":["session_id","tab_id"],"title":"CloseTabInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/CloseTabInput"}},"required":["input"],"title":"wavexis_close_tabArguments","type":"object"},"name":"wavexis_close_tab","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_close_tabOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Focus (bring to front) a browser tab by its ID.\n\nUse to switch the active tab before running navigation or interaction\ntools; use wavexis_list_tabs to obtain tab IDs first.\n\nSide effects: Changes the browser's active tab; subsequent tool calls\noperate on the newly focused tab.\nReturns: JSON string with keys: 'status' ('ok'/'error').\n","inputSchema":{"$defs":{"ActivateTabInput":{"description":"Input for activating (focusing) a browser tab.","properties":{"session_id":{"description":"Active session ID from wavexis_session_open","title":"Session Id","type":"string"},"tab_id":{"description":"Tab ID to operate on","title":"Tab Id","type":"string"}},"required":["session_id","tab_id"],"title":"ActivateTabInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/ActivateTabInput"}},"required":["input"],"title":"wavexis_activate_tabArguments","type":"object"},"name":"wavexis_activate_tab","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_activate_tabOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Query the active browser's version string via the selected backend.\n\nUse ``wavexis_backends`` instead when you need a list of all installed\nbackends without launching a browser.\n\nSide effects: Acquires (and may launch) a browser backend, then releases it.\nReturns: JSON string with keys: 'status' ('ok'/'error'), 'version' (str), 'backend' (str).\n","inputSchema":{"$defs":{"BrowserVersionInput":{"description":"Input for getting the browser version.","properties":{"backend":{"default":"cdp","description":"Backend: 'cdp', 'bidi', or 'auto'","enum":["cdp","bidi","auto"],"title":"Backend","type":"string"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Active session ID. If omitted, a stateless session is created for this call.","title":"Session Id"}},"title":"BrowserVersionInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/BrowserVersionInput"}},"required":["input"],"title":"wavexis_browser_versionArguments","type":"object"},"name":"wavexis_browser_version","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_browser_versionOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"List installed browser backends and their versions without launching a browser.\n\nUse ``wavexis_browser_version`` instead when you need the version of a\nspecific running session's backend.\n\nSide effects: None; queries the local filesystem only.\nReturns: JSON string with keys: 'status' ('ok'/'error'),\n'backends' (dict), 'available' (list[str]).\n","inputSchema":{"properties":{},"title":"wavexis_backendsArguments","type":"object"},"name":"wavexis_backends","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_backendsOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Invoke any wavexis backend method by name, the ultimate escape hatch.\n\nUse a dedicated MCP tool (e.g. ``wavexis_act``, ``wavexis_navigate``)\ninstead when one exists for the desired action; this tool exposes the\nfull ``AbstractBackend`` API (e.g. ``page_print_to_pdf``, ``perf_trace``,\n``runtime_evaluate``, ``pwa_install``) for methods without a wrapper.\n\nSide effects: May launch an ephemeral browser, navigate to a URL, and\nexecute arbitrary backend methods; potentially destructive.\nReturns: JSON string with keys: 'status' ('ok'/'error'), 'type' (str),\nand either 'result' (any), 'base64' (str), or 'path' (str) depending on output.\n","inputSchema":{"$defs":{"InvokeInput":{"description":"Input for invoking any wavexis backend method by name.\n\nThis is a generic escape hatch that exposes the hundreds of high-level\nmethods available on ``AbstractBackend`` (e.g. ``page_print_to_pdf``,\n``perf_trace``, ``runtime_evaluate``, ``pwa_install``, etc.) without\nrequiring a dedicated MCP tool for each one.","properties":{"backend":{"default":"cdp","description":"Backend type for ephemeral sessions: 'cdp', 'bidi', or 'auto'.","title":"Backend","type":"string"},"browser":{"default":"chrome","description":"Browser engine for BiDi backend: 'chrome' or 'firefox'.","enum":["chrome","firefox"],"title":"Browser","type":"string"},"browser_url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"WebSocket URL of an existing browser (e.g. ws://localhost:9222)","title":"Browser Url"},"extra_headers":{"additionalProperties":{"type":"string"},"description":"Extra HTTP headers to send","title":"Extra Headers","type":"object"},"headless":{"default":true,"description":"Run browser in headless mode","title":"Headless","type":"boolean"},"height":{"default":800,"description":"Viewport height in pixels","maximum":2160,"minimum":240,"title":"Height","type":"integer"},"method":{"description":"Backend method name (snake_case), e.g. 'page_print_to_pdf' or 'runtime_evaluate'.","minLength":1,"title":"Method","type":"string"},"output_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"If the method returns bytes, save to this path instead of base64.","title":"Output Path"},"params":{"additionalProperties":true,"description":"Keyword arguments for the method. For methods that expect a single dataclass parameter (e.g. 'pdf'), pass the dataclass fields here as a JSON object.","title":"Params","type":"object"},"proxy":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Proxy server URL (e.g. http://host:port)","title":"Proxy"},"remote_url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Cloud browser WebSocket URL","title":"Remote Url"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Existing session ID. If omitted, an ephemeral browser is launched and closed automatically.","title":"Session Id"},"stealth":{"default":false,"description":"Enable anti-bot stealth mode","title":"Stealth","type":"boolean"},"timeout":{"default":30000,"description":"Operation timeout in ms","maximum":300000,"minimum":1000,"title":"Timeout","type":"integer"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"URL to navigate to before invoking the method.","title":"Url"},"user_agent":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Custom User-Agent string","title":"User Agent"},"user_data_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Persistent Chrome user data directory","title":"User Data Dir"},"wait_selector":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"CSS selector to wait for (used when wait_strategy='selector')","title":"Wait Selector"},"wait_strategy":{"default":"load","description":"Wait strategy: load, domcontentloaded, networkidle, selector, url, none","enum":["load","domcontentloaded","networkidle","selector","url","none"],"title":"Wait Strategy","type":"string"},"wait_timeout":{"default":30000,"description":"Timeout in ms for wait conditions","maximum":300000,"minimum":1000,"title":"Wait Timeout","type":"integer"},"width":{"default":1280,"description":"Viewport width in pixels","maximum":3840,"minimum":320,"title":"Width","type":"integer"}},"required":["method"],"title":"InvokeInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/InvokeInput"}},"required":["input"],"title":"wavexis_invokeArguments","type":"object"},"name":"wavexis_invoke","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_invokeOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Dispatch a raw keyDown event to the active page via CDP.\n\nThis tool mirrors Playwright's API for compatibility; use\n``wavexis_press_keys`` for typing text and ``wavexis_act`` for\nnatural-language interaction.\n\nSide effects: Sends a key-down input event to the browser page.\nReturns: JSON string with keys: 'status' ('ok'/'error').\n","inputSchema":{"$defs":{"KeyDownInput":{"description":"Input for dispatching a keyDown event.","properties":{"alt":{"default":false,"title":"Alt","type":"boolean"},"code":{"default":"","description":"Optional physical key code","title":"Code","type":"string"},"ctrl":{"default":false,"title":"Ctrl","type":"boolean"},"key":{"description":"Key to press (e.g. 'Enter', 'a', 'ArrowLeft')","minLength":1,"title":"Key","type":"string"},"meta":{"default":false,"title":"Meta","type":"boolean"},"session_id":{"title":"Session Id","type":"string"},"shift":{"default":false,"title":"Shift","type":"boolean"}},"required":["key","session_id"],"title":"KeyDownInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/KeyDownInput"}},"required":["input"],"title":"wavexis_key_downArguments","type":"object"},"name":"wavexis_key_down","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_key_downOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Dispatch a raw keyUp event to the active page via CDP.\n\nThis tool mirrors Playwright's API for compatibility; pair with\n``wavexis_key_down`` for low-level key control, or use\n``wavexis_press_keys`` for simple text entry.\n\nSide effects: Sends a key-up input event to the browser page.\nReturns: JSON string with keys: 'status' ('ok'/'error').\n","inputSchema":{"$defs":{"KeyUpInput":{"description":"Input for dispatching a keyUp event.","properties":{"alt":{"default":false,"title":"Alt","type":"boolean"},"code":{"default":"","description":"Optional physical key code","title":"Code","type":"string"},"ctrl":{"default":false,"title":"Ctrl","type":"boolean"},"key":{"description":"Key to release (e.g. 'Enter', 'a')","minLength":1,"title":"Key","type":"string"},"meta":{"default":false,"title":"Meta","type":"boolean"},"session_id":{"title":"Session Id","type":"string"},"shift":{"default":false,"title":"Shift","type":"boolean"}},"required":["key","session_id"],"title":"KeyUpInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/KeyUpInput"}},"required":["input"],"title":"wavexis_key_upArguments","type":"object"},"name":"wavexis_key_up","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_key_upOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Type a sequence of characters at the page level without targeting an element.\n\nUse ``wavexis_key_down``/``wavexis_key_up`` instead for individual\nmodifier-key control, or ``wavexis_act`` for natural-language typing.\n\nSide effects: Dispatches keyDown/keyUp pairs to the browser page; no\nnetwork requests.\nReturns: JSON string with keys: 'status' ('ok'/'error'), 'typed' (str).\n","inputSchema":{"$defs":{"PressKeysInput":{"description":"Input for typing a sequence of keys at the page level.","properties":{"delay":{"default":0,"description":"Delay between keystrokes in milliseconds","minimum":0,"title":"Delay","type":"integer"},"session_id":{"title":"Session Id","type":"string"},"text":{"description":"Text/keys to type character by character","maxLength":1000,"minLength":1,"title":"Text","type":"string"}},"required":["text","session_id"],"title":"PressKeysInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/PressKeysInput"}},"required":["input"],"title":"wavexis_press_keysArguments","type":"object"},"name":"wavexis_press_keys","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_press_keysOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Drag the mouse from one screen coordinate to another via CDP mouse events.\n\nThis tool mirrors Playwright's API for compatibility; use ``wavexis_act``\ninstead for natural-language drag interactions.\n\nSide effects: Dispatches mouseMoved, mousePressed, and mouseReleased\nevents to the browser page; may trigger page interactions.\nReturns: JSON string with keys: 'status' ('ok'/'error').\n","inputSchema":{"$defs":{"MouseDragXYInput":{"description":"Input for dragging the mouse from one screen coordinate to another.","properties":{"button":{"default":"left","enum":["left","right","middle"],"title":"Button","type":"string"},"end_x":{"title":"End X","type":"number"},"end_y":{"title":"End Y","type":"number"},"session_id":{"title":"Session Id","type":"string"},"start_x":{"title":"Start X","type":"number"},"start_y":{"title":"Start Y","type":"number"},"steps":{"default":5,"maximum":50,"minimum":1,"title":"Steps","type":"integer"}},"required":["start_x","start_y","end_x","end_y","session_id"],"title":"MouseDragXYInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/MouseDragXYInput"}},"required":["input"],"title":"wavexis_mouse_drag_xyArguments","type":"object"},"name":"wavexis_mouse_drag_xy","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_mouse_drag_xyOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Clear all buffered console messages for the session.\n\nThis tool mirrors Playwright's API for compatibility; use it before\ncapturing a fresh set of console logs to avoid stale entries.\n\nSide effects: Resets the session's in-memory console message buffer.\nReturns: JSON string with keys: 'status' ('ok'/'error').\n","inputSchema":{"$defs":{"ConsoleClearInput":{"description":"Input for clearing console messages.","properties":{"session_id":{"title":"Session Id","type":"string"}},"required":["session_id"],"title":"ConsoleClearInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/ConsoleClearInput"}},"required":["input"],"title":"wavexis_console_clearArguments","type":"object"},"name":"wavexis_console_clear","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_console_clearOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Retrieve a single cookie by name (and optional domain/path) from the browser.\n\nUse ``wavexis_cookie_list`` instead when you need multiple cookies or\nbroad filtering.\n\nSide effects: None; reads cookie state from the browser session.\nReturns: JSON string with keys: 'status' ('ok'/'error'), 'cookie' (dict|null).\n","inputSchema":{"$defs":{"CookieGetInput":{"description":"Input for getting a specific cookie by name (and optional domain/path).","properties":{"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Domain"},"name":{"minLength":1,"title":"Name","type":"string"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Path"},"session_id":{"title":"Session Id","type":"string"}},"required":["name","session_id"],"title":"CookieGetInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/CookieGetInput"}},"required":["input"],"title":"wavexis_cookie_getArguments","type":"object"},"name":"wavexis_cookie_get","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_cookie_getOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"List browser cookies with optional name, domain, and path filters.\n\nUse ``wavexis_cookie_get`` instead when you need a single named cookie.\n\nSide effects: None; reads cookie state from the browser session.\nReturns: JSON string with keys: 'status' ('ok'/'error'),\n'cookies' (list[dict]), 'count' (int).\n","inputSchema":{"$defs":{"CookieListInput":{"description":"Input for listing cookies with optional filters.","properties":{"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Domain"},"limit":{"default":100,"maximum":1000,"minimum":1,"title":"Limit","type":"integer"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Name"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Path"},"session_id":{"title":"Session Id","type":"string"}},"required":["session_id"],"title":"CookieListInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/CookieListInput"}},"required":["input"],"title":"wavexis_cookie_listArguments","type":"object"},"name":"wavexis_cookie_list","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_cookie_listOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Close a browser page/tab by target id, or the current page if omitted.\n\nThis tool mirrors Playwright's API for compatibility; use it to free\nresources. The session itself remains active for other tabs.\n\nSide effects: Closes the specified browser target; destructive and\nirreversible.\nReturns: JSON string with keys: 'status' ('ok'/'error'), 'closed' (str).\n","inputSchema":{"$defs":{"ClosePageInput":{"description":"Input for closing the current page/tab.","properties":{"session_id":{"title":"Session Id","type":"string"},"tab_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional tab/target id; current page is closed if omitted","title":"Tab Id"}},"required":["session_id"],"title":"ClosePageInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/ClosePageInput"}},"required":["input"],"title":"wavexis_close_pageArguments","type":"object"},"name":"wavexis_close_page","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_close_pageOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Search the accessibility snapshot for nodes matching text or a regex pattern.\n\nUse ``wavexis_act`` instead for natural-language element interaction;\nthis tool mirrors Playwright's snapshot search for compatibility.\n\nSide effects: None; fetches and searches the a11y tree read-only.\nReturns: JSON string with keys: 'status' ('ok'/'error'),\n'matches' (list[dict]), 'count' (int).\n","inputSchema":{"$defs":{"FindInput":{"description":"Input for finding text in the ARIA/accessibility snapshot.","properties":{"limit":{"default":20,"maximum":100,"minimum":1,"title":"Limit","type":"integer"},"session_id":{"title":"Session Id","type":"string"},"text":{"description":"Text or regex to search in the a11y snapshot","maxLength":500,"minLength":1,"title":"Text","type":"string"}},"required":["text","session_id"],"title":"FindInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/FindInput"}},"required":["input"],"title":"wavexis_findArguments","type":"object"},"name":"wavexis_find","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_findOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Return wavexis-mcp server configuration and available browser backends.\n\nUse ``wavexis_backends`` instead when you only need the backend list;\nthis tool additionally exposes the server name for introspection.\n\nSide effects: None; queries the local filesystem only.\nReturns: JSON string with keys: 'status' ('ok'/'error'), 'name' (str),\n'available_backends' (list[str]), 'backend_versions' (dict).\n","inputSchema":{"$defs":{"GetConfigInput":{"description":"Input for querying server configuration.","properties":{},"title":"GetConfigInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/GetConfigInput"}},"required":["input"],"title":"wavexis_get_configArguments","type":"object"},"name":"wavexis_get_config","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_get_configOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Execute a natural language instruction on the current page (M1).\n\nTakes an a11y snapshot, matches the instruction to an element,\nand performs the detected action (click, type, fill, hover).\n\nArgs:\n    input: Act parameters (instruction, session_id, max_retries).\n\nReturns:\n    JSON string with ``action``, ``element``, ``score``, ``status``.\n","inputSchema":{"$defs":{"ActInput":{"description":"Input for natural language interaction (M1).","properties":{"instruction":{"description":"Natural language instruction (e.g. 'click the login button')","minLength":1,"title":"Instruction","type":"string"},"max_retries":{"default":3,"description":"Maximum number of retry attempts","maximum":10,"minimum":1,"title":"Max Retries","type":"integer"},"session_id":{"description":"Active session ID from wavexis_session_open","title":"Session Id","type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Explicit text value for type/fill actions (overrides auto-extraction)","title":"Value"}},"required":["instruction","session_id"],"title":"ActInput","type":"object"}},"properties":{"input":{"$ref":"#/$defs/ActInput"}},"required":["input"],"title":"wavexis_actArguments","type":"object"},"name":"wavexis_act","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"wavexis_actOutput","type":"object"}}]}}}
