snapshot
Save the page the user has open as MHTML — one file with its images and CSS.
Instructions
Save the page the user has open as MHTML — one file with its images and CSS.
This is the "read this paper" entry point for pages outside the two channels:
the user opens the article in the browser, snapshot writes
wensu-pages/<title> [<host>] <time>.mhtml into the download folder, and
tools/page2md.py turns that file into Markdown an agent can read.
It issues no request of its own — it reads the tab that is already open — so it
spends no quota and is not limited to the channel domains. status still
reports bridge_ready; a false value means the extension is not connected.
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": "snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||