Get Structured Data on Commons
get_structured_dataFetches multilingual captions and structured statements—including depicts, license, and copyright status—for a Wikimedia Commons file, with resolved Wikidata labels.
Instructions
Retrieve Wikibase MediaInfo (M-entity) multilingual captions and structured statements (such as P180 depicts, license, copyright status) with resolved Wikidata labels.
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_structured_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Commons file title (with or without File: prefix) | |
| language | No | Preferred language code for resolved Wikidata labels (default "en") |