WordPress API tool
WordPress REST API CLI for safe audits and edits: dry-run first, apply on purpose, then verify.
If you run a WordPress site and you’re doing content cleanup (media alt text, captions, metadata), this tool helps.
It talks to WordPress through its REST API (posts, pages, media, etc.).
It’s built for “agent-assisted WordPress busywork” without letting the agent guess: dry-run → review → apply → verify → receipt.
What you can do with it
- Audit posts/pages (read-first).
- Update Media Library metadata safely (alt text, captions, titles).
- Do some body-safe edits (with refusal rules when the tool can’t be sure).
- Run batch jobs with explicit gates.
Safety model (plain English)
- No writes unless you pass
--apply. - Batch/risky actions require stronger confirmation (
--yes). - If the tool isn’t sure, it refuses and tells you why.
- After a write, it re-fetches and verifies the change.
Quickstart
wordpress-api-tool --versionwordpress-api-tool auth check
Status
- Release: v0.1.0
- Status label: Stable
- Verification date: shown in the Trust box at the top of the page.
Start here
If you’re new, start with the docs and the safety model first.