oc_devtools_url
Get the Chrome DevTools inspector URL for a specific tab or worker page. Paste the URL into any local browser to attach live DevTools.
Instructions
Get the Chrome DevTools inspector URL for the current worker's active page. Returns a URL you can paste into any local browser to attach live DevTools to the running page. Use targetId to select a specific open tab, or workerId to select a specific worker's current page.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "oc_devtools_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targetId | No | Optional CDP target ID. When provided, returns the DevTools URL for that specific tab. | |
| workerId | No | Optional worker ID. When provided (and targetId is omitted), returns the DevTools URL for that worker's current page. |