List media library items
elementor_list_mediaSearch the WordPress media library to return attachment IDs and URLs in the {id,url} shape required by Elementor image controls.
Instructions
Search the WordPress media library and get back attachment ids and URLs. Elementor image controls need both, in the shape {"id":123,"url":"https://..."}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "elementor_list_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| site | No | Configured site name. Omit to use the default site. | |
| search | No | ||
| perPage | No | ||
| mimeType | No | Filter by MIME type, e.g. "image". |