API Reference

WordPress / API Reference

wp_update_media_sizes

WordPress tool. Update WordPress image size settings

This is a write tool: it updates media sizes in your WordPress account. Claude asks you to confirm before it runs.

Ask Claude

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

Update media sizes in my WordPress account.

It takes 0 required and 6 optional parameters.

Parameters

ParameterTypeRequiredDescription
thumbnail_size_wintegerNoThumbnail Size W
thumbnail_size_hintegerNoThumbnail Size H
medium_size_wintegerNoMedium Size W
medium_size_hintegerNoMedium Size H
large_size_wintegerNoLarge Size W
large_size_hintegerNoLarge Size H

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.