set_download_behavior
Configures Firefox download handling to save automatically to a specified folder, cancel downloads, or reset to browser default, avoiding the native save-file dialog.
Instructions
Control how downloads are handled: allow (save to a destination folder), deny (cancel), or reset to default. Avoids the native save-file dialog. Requires a recent Firefox.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"behavior": "<behavior>"
},
"name": "set_download_behavior"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| behavior | Yes | 'allowed' saves downloads to `downloadFolder`, 'denied' cancels them, 'default' resets to the browser default | |
| downloadFolder | No | Path to the folder where downloads should be stored, created if missing. Only used for behavior='allowed', where it defaults to ~/.firefox-mcp/output/downloads. Relative paths resolve against the current working directory. |