desktop_cdp_close
Closes CDP sessions and kills browser processes started by desktop_browser_launch, preventing headless browsers from staying in the background. Use it to clean up specific or all sessions.
Instructions
关闭 CDP 会话,并杀掉由 desktop_browser_launch 启动的浏览器进程。 用完记得调用,否则无头浏览器会留在后台。
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": "desktop_cdp_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No | 只关指定会话;省略则关全部 | |
| killBrowser | No | 是否连浏览器进程一起杀,默认 true |