Get File Info Tool
get_file_info_toolRetrieve file or image metadata from a MediaWiki wiki by filename, so you can inspect file details without opening the file page.
Instructions
Get file/image metadata from the wiki.
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": {
"filename": "<filename>"
},
"name": "get_file_info_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | File name (with or without "File:" prefix) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||