Download a file
cotlet_browser_downloadGets the file that clicking element (a download link or button), clicking point x, y of the screenshot (a menu item the element list does not number) or opening url starts, also an image or PDF it only opens: answers its name, type, size and a link valid 15 minutes; CSV, JSON and other text files also as text. Use it instead of click for anything that downloads, or the file stays in the browser.
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": "cotlet_browser_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Screenshot x, instead of element. | |
| y | No | Screenshot y. | |
| tab | No | Tab id of the last answer. | |
| url | No | A public http or https address, e.g. https://example.com. | |
| element | No | Element number from the last answer. |