drain_events
Retrieve all cached CDP events since the last retrieval, including method, params, sessionId, and tabId for filtering by tab.
Instructions
drain_events() → list — 拉取自上次 drain 后所有缓存的 CDP 事件。 每个事件为 {method, params, sessionId, tabId}(tabId 用于按标签过滤)。
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": "drain_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||