trace_runtime_sources
Trace preview, embed, and scene URLs on a single page viewport using a browser runtime, with optional session-aware capture when Playwright is available.
Instructions
Use a browser runtime to trace preview, embed, and scene URLs for a single viewport, with optional session-aware capture when Playwright is available.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "trace_runtime_sources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http(s) URL of the page to inspect, capture, or clone. | |
| pattern | No | Case-insensitive regex for network/HTML URLs to report as embed or source hits (default spline|preview|embed|viewer|scene|iframe). | |
| capture_html | No | Return the rendered runtime HTML. | |
| wait_seconds | No | Upper bound in seconds for each browser readiness wait (load, network quiet, lazy-load scroll); capture continues as soon as the page settles. | |
| user_data_dir | No | Path to an existing Chrome profile directory, to capture a page behind a login the user owns. Omit for a clean session. | |
| viewport_width | No | Primary browser viewport width in CSS pixels (default 1440). | |
| viewport_height | No | Primary browser viewport height in CSS pixels (default 1200). | |
| capture_screenshot | No | Take a full-page PNG screenshot (needed for visual verification). | |
| storage_state_path | No | Path to a Playwright storage-state JSON (cookies, localStorage) to load before capture, for pages behind a login the user owns. | |
| storage_state_output_path | No | Path to write the browser storage state after capture, so the session can be reused. |