kdeps-tools-browser_cdp_open
v1.0.0Find the DevTools websocket of a running Chrome: GET <base>/json/version and return its JSON with webSocketDebuggerUrl. The browser_cdp listener calls it before each connect. Base: KDEPS_BROWSER_CDP_URL, default http://127.0.0.1:9222 (Chrome started with --remote-debugging-port=9222).
set tools / shelf tools
LLM context: ~78 tokens when loaded (prompt or tool definition)
Where it runs
Part of the tools set, used in workflow and agent mode. What the model is told about each built-in tool: its description, usage notes and parameters. kdeps runs the tool itself.
- the agent loop builds the request
- the tool definitions are sent to the modeltools/browser_cdp_open
- the model calls a tool
- kdeps runs it
- the result goes back to the model
Loaded by: kdeps (agent loop), kdeps new, kdeps run, kdeps install, kdeps list, kdeps uninstall, kdeps update, kdeps upgrade
In the code: kdeps (agent loop)executor.(*Engine).Executeparallel.Runjudge.Panelagent.runJudgePanelagent.definedAs
Install
A kdeps asset: installed with the first-run profile that includes its set, or the first time a command needs it, and updated without a new release.
Pin a version with kdeps install tools/browser_cdp_open@<version>.
Contents
Find the DevTools websocket of a running Chrome: GET <base>/json/version and return its JSON with webSocketDebuggerUrl. The browser_cdp listener calls it before each connect. Base: KDEPS_BROWSER_CDP_URL, default http://127.0.0.1:9222 (Chrome started with --remote-debugging-port=9222).
| Parameter | Type | Description |
|---|
HTTP call (declared in YAML, no Go code)
{{or .env.BASE "http://127.0.0.1:9222"}}/json/versionOffered when set: KDEPS_BROWSER_CDP_URL |
- User-Agent:
- kdeps
version: 1.0.0
description: 'Find the DevTools websocket of a running Chrome: GET <base>/json/version and return its JSON with webSocketDebuggerUrl. The browser_cdp listener calls it before each connect. Base: KDEPS_BROWSER_CDP_URL, default http://127.0.0.1:9222 (Chrome started with --remote-debugging-port=9222).'
parameters: {}
http:
env:
BASE: [KDEPS_BROWSER_CDP_URL, ""] # optional; empty means http://127.0.0.1:9222
method: GET
url: '{{or .env.BASE "http://127.0.0.1:9222"}}/json/version'
headers:
User-Agent: kdeps
Versions
| Version | Published | Status | Source |
|---|---|---|---|
| 1.0.0 | 11/28/2026 | active | GitHub v1.0.0 |
Details
- Author
- kdeps
- License
- Apache-2.0
- Latest Version
- 1.0.0
- Published
- 11/28/2026