get-file
Fetch metadata and download URLs for an uploaded MediaWiki file by title, returning dimensions, file size, media type, and original or preferred-format links.
Instructions
Get metadata and download URLs for an uploaded file (image, PDF, etc). Returns dimensions, file size, media type, and both original and preferred-format URLs.
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": "get-file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wiki | No | Wiki name (uses default if omitted) | |
| title | Yes | File title (with or without "File:" prefix) |