wikimedia_download_file
Download an exact Wikimedia Commons file with SHA256 provenance to a configured directory, choosing preview width and max size without overwriting existing files.
Instructions
Download one exact Commons file with provenance JSON/SHA256 beneath the configured download root. Never overwrites. width selects preview; max_mb 1–2048. Requires --download-dir or WIKIMEDIA_DOWNLOAD_DIR.
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": {
"title": "<title>"
},
"name": "wikimedia_download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| title | Yes | ||
| width | No | ||
| max_mb | No | ||
| subdir | No |