Menu da documentação
Primeiros passos
O que é o Opus GrowthInício rápidoAdicione à sua IAComo funcionaSegurança e aprovaçãoCréditosPlanosPerguntas frequentesApps de IA
Todos os appsChatGPTClaudeGrokPerplexityClaude CodeCodexGemini CLIOpenClawCursorVS CodeWindsurfOutros MCPPlataformas de anúncios
Google AdsMeta AdsLinkedIn AdsMicrosoft AdvertisingTikTok AdsChatGPT AdsAgências e MCCFontes de dados
Search ConsoleGoogle AnalyticsYouTubeBusiness ProfileTag ManagerSites e SEO
AI ServerWordPressSEO IntelligenceFraude de cliquesReferência de ferramentas
Todas as ferramentasGoogle AdsMeta AdsTikTok AdsLinkedIn AdsMicrosoft AdvertisingChatGPT AdsSearch ConsoleGoogle AnalyticsYouTubeBusiness ProfileTag ManagerWordPressAI ServerSEO IntelligenceFraude de cliquesMulticanalConta e cobrançaIdioma
List WordPress Media
Browse the media library of a connected WordPress site: images already uploaded, with their id, URL, alt text and dimensions.
- Tipo
- Somente leitura
- Créditos
- 1
- Plataforma
- WordPress
- Aprovação
- Não precisa, nada muda
O que faz
Browse the media library of a connected WordPress site: images already uploaded, with their id, URL, alt text and dimensions.
Search by name finds an existing image, so an image is not uploaded twice. The returned id is what you pass as featured_media to wordpress_create_post / wordpress_update_post.
media_id returns ONE image in full: file size in bytes plus every intermediate size WordPress generated (medium, medium_large, large, theme sizes) with its real width, height and source_url, and the srcset WordPress itself would emit. That is what makes a hero/LCP image fixable: without the real list you would have to GUESS the "-768x347.jpg" style filenames, and a wrong guess puts a 404 on a live page. The returned srcset is ready to use. return_image=true (with a media_id) SHOWS the picture: the server fetches the image bytes itself and returns a downscaled (max 512px) preview as an image visible in chat, instead of just a URL. The preview shows an existing image's style and confirms which file it is. If the server cannot fetch the bytes (site behind a WAF, etc.) it returns the URL and the reason instead.
check_url asks the SITE to HEAD one of its own URLs and returns status, content type and length — for verifying an image variant exists, or checking a link or redirect. Only URLs on that same site are allowed. Needs Opus Growth Connector 0.6.1 or newer.
A descrição está em inglês porque é o texto oficial que sua IA vê.
MCP: wordpress_media
Como usar
Você não chama as ferramentas pelo nome. Escreva o que quer no ChatGPT, Claude ou outro assistente conectado ao Opus Growth; a IA escolhe esta ferramenta quando ela serve.
Parâmetros
| Nome | Tipo | Obrigatório | Padrão | |
|---|---|---|---|---|
| search | string | Opcional | · | Text used to search or filter resources. |
| mime | string | Opcional | · | Exact mime value for wordpress media. Supply text in the provider's required format; when it selects an existing resource, use the exact identifier returned by the relevant list or search operation. |
| per_page | integer | Opcional | 20 | Number of records requested per page, within the provider's supported limit. |
| page | integer | Opcional | 1 | Page number to read. Use the pagination value returned by the previous response when present. |
| site_url | string | Opcional | · | Exact URL of the connected WordPress site to target when more than one site is available. |
| media_id | integer | Opcional | 0 | Exact media identifier to target. Use the ID returned by an Opus Growth list or create operation, not a display name. |
| check_url | string | Opcional | · | Check url URL used by wordpress media. |
| return_image | boolean | Opcional | false | Whether to enable return image for this operation. |
Ferramentas relacionadas
list_wordpress_sitesBulk Find & Replace (WordPress)wordpress_bulk_replaceWordPress WP-CLI Commandwordpress_cliList WordPress Contact Formswordpress_contact_formsWordPress Core Info Fileswordpress_core_filesCreate WordPress Postwordpress_create_postWordPress Critical CSS (status / regenerate)wordpress_critical_cssEdit WordPress Menuwordpress_edit_menuEdit WordPress Page Designwordpress_edit_page_design