capture_mhtml
Saves an Electron page as an MHTML snapshot using Page.captureSnapshot and registers the resulting file as an artifact resource for later inspection.
Instructions
Save page as MHTML via Page.captureSnapshot. Also registers the file as an artifact resource.
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": "capture_mhtml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| targetId | No | ||
| processId | No | Process ID. If omitted, uses the single running app. |