API Reference

WordPress / API Reference

wp_search_media

WordPress tool. Search media library by filename, title, or MIME type

This is a read-only tool: it searches media from your WordPress account. It changes nothing.

Ask Claude

You do not call this tool yourself. Ask for the outcome and the client picks the tool:

Search media in my WordPress account.

It takes 0 required and 8 optional parameters.

Parameters

ParameterTypeRequiredDescription
searchstringNoSearch
mime_typestringNoMime Type
authorintegerNoAuthor
parentintegerNoParent
per_pageintegerNoPer Page
pageintegerNoPage
orderbystringNoOrderby
orderstringNoOrder

Related WordPress tools

Start free — 30 tool calls a month

No card required. Connect Google Ads, Meta Ads, GA4 or Search Console and ask Claude for the outcome — it picks the tool.