browser_get_file
Fetch files the browser can reach—PDFs, images, link targets, or URLs—using the current logged-in session, save them locally, and return their paths; images are also returned for viewing.
Instructions
Get a file the browser can reach, with its logins: a PDF or image on the page, a link's target, or any URL. Images come back so you can see them; every file is saved locally and its path returned (open PDFs from there). With no arguments: the file the tab shows (e.g. a PDF).
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": "browser_get_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | An image, link, embed or video from the snapshot | |
| url | No | Address of the file | |
| element | No | Human-readable description of the element |