attach
Connects to an authorized existing loopback CDP endpoint for inspection and control without owning or terminating it; set cwd to enable frontend watches.
Instructions
Attach only to an authorized existing loopback CDP endpoint; never owns or kills it. Specify cwd for frontend watches.
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": {
"port": "<port>"
},
"name": "attach"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| port | Yes | ||
| target | No | ||
| timeout | No | ||
| readiness | No |