activate_plugin
ChatGPTActivate an installed plugin. Because an active plugin's code runs on the site and can change its behavior, the server returns a preview instead of activating unless the confirm parameter is set. Get the identifier (e.g. 'akismet/akismet') from list_plugins.
add_media_from_url
ChatGPTAdd an image to the site's media library by URL — downloads it and stores it in WordPress. This is the only way to add media (it takes a URL, not a local file): use it to bring in a stock photo (see search_stock_photos) or any hotlinked image permanently. Set alt_text for SEO/accessibility. Returns the new media id (use it with set_featured_image or embed its URL in content). Pass featured_for_post_id to also set it as a post's featured image in the same call.
connect_site
ChatGPTConnect a self-hosted WordPress site to the user's WP Agent account by its URL. Returns a one-time link to the site's own WordPress admin, where the site owner approves the connection. No WordPress password is involved, and no plugin is required.
create_category
ChatGPTCreate a post category (no-op-safe: if one with this name exists, returns it). Optionally set a parent category id to nest it (for a hierarchy) and a description. Returns the category id.
create_post
ChatGPTCreate a complete WordPress post OR page in ONE call — title + full HTML content, plus optional status, excerpt, a featured image (media id), and SEO title/meta/focus keyword. For posts you can also pass categories (matched to EXISTING categories by name; unknown ones are reported, not invented) and tags BY NAME (auto-created). Set post_type='page' to create a PAGE (e.g. to then make it the homepage via update_site_settings); pages ignore categories/tags. Defaults to draft; an empty title or body is rejected. THE ONE-IMAGE RULE: when the user wants a post with an image, EMBED the image in the content (an <img> tag with its URL, wrapped in <a href='THE_IMAGE_URL'> for lightbox click-to-zoom) AND pass its media id as featured_image_id — a featured image alone is often NOT shown inside the article (theme-dependent), so an embed-less post looks image-less. Prefer WIDE hero images ('1792x1024'). status='publish' and status='private' make the post visible on the site right away; the server returns a preview instead of creating it unless the confirm parameter is set. If a call times out it may still have created the post — a duplicate with the same title made moments ago is detected and the original is returned instead of creating a second.
create_tag
ChatGPTCreate a post tag (no-op-safe: if one with this name exists, returns it). Returns the tag id.
deactivate_plugin
ChatGPTDeactivate an active plugin. Deactivating the wrong plugin (security, SEO, cache) can change how the site works, so the server returns a preview instead of deactivating unless the confirm parameter is set.
delete_category
ChatGPTPERMANENTLY delete a category (WordPress cannot trash terms — deletion is immediate). Posts in it are NOT deleted; they fall back to the default category (usually 'Uncategorized'). Get the id from list_categories. DESTRUCTIVE. The server returns a preview instead of deleting unless the confirm parameter is set.
delete_media
ChatGPTPERMANENTLY delete an item from the media library (WordPress cannot trash media — deletion is immediate and unrecoverable; attachments in posts will show as broken images). Get the media_id from list_media. DESTRUCTIVE. The server returns a preview instead of deleting unless the confirm parameter is set.
delete_post
ChatGPTDelete a post or page. By default it's moved to TRASH (recoverable from wp-admin) — safe. A permanent delete needs both the permanent and confirm parameters set; otherwise the server returns a preview.
delete_tag
ChatGPTPERMANENTLY delete a tag (WordPress cannot trash terms — deletion is immediate). Posts keep their other tags; nothing else is deleted. Get the id from list_tags. DESTRUCTIVE. The server returns a preview instead of deleting unless the confirm parameter is set.
disconnect_site
ChatGPTDisconnect a site from WP Agent by clearing its stored Application-Password credentials. DESTRUCTIVE. The server returns a preview instead of disconnecting unless the confirm parameter is set. The WordPress site itself is untouched, and if the site is also used by WPWriter that connection is preserved (only the keyless credentials are removed). NOTE: the freed site slot enters the plan's swap cooldown (per pricing) — reconnecting the SAME site stays free anytime, but the slot can't be reused for a DIFFERENT site until the cooldown ends.
generate_featured_image
ChatGPTGenerate an ORIGINAL AI image FOR AN EXISTING POST OR PAGE and set it as that post's featured image. This is a step of authoring a post, not a standalone image generator: post_id is REQUIRED and must be a real post/page on the site. Use it when the user wants artwork specific to their content or carrying their brand; for generic illustrative photos prefer the free search_stock_photos. Generates ONE image and waits (~15-30s); the returned media id means it is really in the library. THE ONE-IMAGE RULE: a featured image alone is often NOT shown inside the article (theme-dependent), so also EMBED the returned URL in the post body with patch_post_content — wrap the <img> in <a href='THE_IMAGE_URL'> so any lightbox plugin gives click-to-zoom. Prefer a WIDE size ('1792x1024') for a hero. Images come from the user's own connected provider key when they have one, otherwise from their image credit balance or their free trial allowance. This tool never sells anything and never quotes a price.
get_account_identity
ChatGPTUse when the user asks which WP Agent account or email this connection is signed in with. Returns the email of the WP Agent account that the current connection belongs to. It never returns the WordPress site's admin email or any other person's details.
get_custom_css
ChatGPTRead the active theme's Additional CSS (the Customizer → Additional CSS box). Read this BEFORE update_custom_css so you can edit the existing rules instead of replacing them blindly. Requires the WP Agent Connector plugin. Large CSS is returned in pages (use offset to continue).
get_post_content
ChatGPTRead a post's editable title and raw HTML content from WordPress, so you (the assistant) can reason over the real content before editing or optimizing it. Returns the raw HTML exactly as stored. Works for posts AND pages — use the post_id from list_posts / search_posts / list_pages. Long posts are returned in pages — if the result ends with a 'Partial content' note, call again with the suggested offset to read the rest.
get_post_seo_analysis
ChatGPTAnalyze ONE post's or page's on-page SEO and content quality (for a whole-site gap list, use get_posts_seo_overview). Returns 0-100 scores for the SEO title, meta description, URL slug, featured image, content length, heading structure, structured data and internal links, plus content-quality scores and concrete improvement suggestions. Read this before optimizing, then act with update_post_seo / patch_post_content. (SEO title/description scores need the WP Agent Connector plugin to read them; without it the content scores still work.)
get_posts_seo_overview
ChatGPTScan recent published posts and report each one's SEO gaps in a table — whether it has an SEO title, meta description, focus keyword, and featured image — so you can spot what to fix across the site. Then drill into a single post with get_post_seo_analysis, or fix one with update_post_seo. (Reading SEO meta needs the WP Agent Connector plugin; featured-image coverage is shown even without it.)
get_revision
ChatGPTRead the title and content of one saved revision, so you can compare it to the current post or pull back an earlier version (paste it into replace_post_content to restore). Get the revision_id from list_revisions. Long revisions are returned in pages — if the result ends with a 'Partial content' note, call again with the suggested offset.
get_site_overview
ChatGPTGet a verbose snapshot of a connected WordPress site so you know exactly what you're working with before acting: WordPress/PHP version, active theme, which SEO plugin is active (Yoast/Rank Math/AIOSEO), whether WooCommerce is present, multisite, and the installed plugins. Works on every connected site: without the WP Agent Connector plugin it returns a core snapshot (posts, drafts, pages, active SEO plugin); the plugin adds theme, versions and multisite detail.
get_site_settings
ChatGPTRead the site's general settings — title, tagline, admin email, timezone, date/time format, posts-per-page, language.
get_usage
ChatGPTShow the user's current WP Agent plan and live usage: posts used/remaining this month (posts are the only plan limit; words are unlimited), AI image balance, bonus credits, site slots used/included, and subscription status (renewal or cancellation date). USE THIS whenever the user asks how many posts they have left, what plan they're on, how many sites they can connect, or anything about usage/limits/billing status. Present the numbers to the user as-is.
install_plugin
ChatGPTInstall a plugin by its slug (e.g. 'wordpress-seo' for Yoast) — only from the official, publicly vetted WordPress.org directory, never from arbitrary URLs. Because this adds code to the site it always previews first and the server returns a preview instead of installing unless the confirm parameter is set. By default the plugin is installed but left INACTIVE (set activate=true to activate on install). The user's host must allow plugin installs.
list_authors
ChatGPTList the site's users/authors — id, name, and slug. Use an author id with update_post_author or when creating posts via rest_api.
list_categories
ChatGPTList a site's post categories — id, name, and post count. Use ids when creating/updating posts, or create_post which takes category names directly.
list_media
ChatGPTList items in the site's media library — id, title, URL, alt text, and type. Use a media id with set_featured_image / update_media, or to embed an existing image. Returns the newest first; pass offset to page beyond the first batch, or search to find by filename/title.
list_pages
ChatGPTList the site's pages (not posts) — id, title, status, URL. Use the ids with the edit/SEO tools, same as posts.
list_plugins
ChatGPTList the plugins installed on the site — identifier, name, version, and whether each is active. Use the identifier (e.g. 'akismet/akismet') with activate_plugin / deactivate_plugin.
list_posts
ChatGPTList recent posts on a connected WordPress site — id, title, status, date, and URL. Queries WordPress directly. Use the ids with get_post_content, patch_post_content, update_post_seo, etc.
list_revisions
ChatGPTList the saved revisions of a post or page — id, date, and author. WordPress keeps a revision on every save, so use this to see the edit history, then get_revision to read a specific older version.
list_sites
ChatGPTList the WordPress sites connected to this WP Agent account. Returns each site's name, URL, and site_id. Use the site_id with every other tool. Keyless: WP Agent never generates content itself — you (the assistant) write the content and SEO, and these tools execute it against the user's WordPress.
list_tags
ChatGPTList a site's post tags — id, name, and post count.
patch_post_content
ChatGPTSurgically edit a post or page: replace an EXACT snippet of its current HTML with new HTML, leaving everything else untouched. Put the exact text to change in find_text and the replacement in replace_text. YOU DO NOT NEED THE WHOLE ARTICLE IN CONTEXT — this tool re-reads the post server-side and matches find_text there, so you only ever need the snippet you are changing. If you no longer have the text, re-read just the part you need with get_post_content (use offset to jump to it) — never re-read a long post in full just to make an edit. To revise an article THROUGHOUT, call this repeatedly, once per section. That is the intended way; do not fall back to replace_post_content for a multi-part edit. This is the safe way to edit — no full rewrite. Fails if find_text isn't found, or isn't unique unless you set replace_all.
publish_post
ChatGPTPublish a draft/pending post or page — makes it live publicly. (To schedule for later, use schedule_post.) Posts with an empty body are blocked (pass allow_empty=true only for an intentionally empty page, e.g. a blog Posts page). Outward-facing. The server returns a preview instead of publishing unless the confirm parameter is set.
replace_post_content
ChatGPTReplace a post or page's ENTIRE body with new HTML. Use this for a full rewrite. For small surgical edits, prefer patch_post_content (safer). Only use this when you are holding the complete new body. If you do not have the full article in context, DO NOT re-read the whole post to get here — use patch_post_content instead, section by section. DESTRUCTIVE: it overwrites the whole body. The server returns a preview instead of replacing it unless the confirm parameter is set.
rest_api_read
ChatGPTAdvanced read-only access for the rare WordPress REST endpoint the dedicated tools don't cover (revisions, custom post types, block patterns, settings, etc.). GET only — it can never change the site. path is relative to the REST root, e.g. '/wp/v2/types' or '/wp/v2/comments?per_page=5'. Tip: GET '/' lists the site's namespaces. Prefer the dedicated tools whenever one exists.
rest_api_write
ChatGPTAdvanced write access for the rare WordPress REST endpoint the dedicated tools don't cover: POST/PUT/PATCH/DELETE. The server returns a preview of exactly what would run unless the confirm parameter is set. Guarded by design: DELETE always trashes, never permanently erases (force is stripped); a new post/page defaults to draft unless you set status; method-override (_method/rest_route) is rejected; and writes to users, plugins, settings, themes, and application passwords are blocked (those go through the dedicated, individually-gated tools). path is relative to the REST root; body is a JSON object string. Prefer the dedicated tools whenever one exists.
schedule_post
ChatGPTSchedule a post or page to publish automatically at a future time. publish_at MUST be an ISO 8601 datetime WITH a timezone offset so the moment is unambiguous, e.g. 2026-07-01T09:00:00-04:00 (use the site's local offset) or 2026-07-01T13:00:00Z (UTC). A bare time without an offset is rejected. Posts with an empty body are blocked (pass allow_empty=true only for an intentionally empty page). Outward-facing: it goes live automatically. The server returns a preview instead of scheduling it unless the confirm parameter is set. If the user asks for RECURRING auto-posting (e.g. 'post every Monday'), there is no server-side recurrence — offer to write a BATCH of posts now and schedule each across the coming weeks with this tool, or point them at their AI client's own scheduled-tasks feature to run a prompt on a cadence.
search_posts
ChatGPTSearch a connected WordPress site's posts by keyword (title + content). Returns id, title, status, date, URL.
search_stock_photos
ChatGPTSearch free high-quality stock photos (external Unsplash library — NOT the site's own media; for that use list_media). This is the free way to get real photos for a post; for an ORIGINAL AI image on an existing post, use generate_featured_image instead. Returns image URLs with photographer attribution. Pick one and call add_media_from_url with its url to store it in the media library, then set_featured_image or embed it. Use specific queries ('modern kitchen workspace' beats 'kitchen'). Always credit the photographer.
set_featured_image
ChatGPTSet a post or page's featured image (thumbnail) to an existing media library item. Get the media_id from list_media.
set_post_categories_and_tags
ChatGPTSet the categories and/or tags on an EXISTING post, by NAME (this assigns terms TO a post — to rename a category/tag itself, use update_category/update_tag). Categories are matched to existing ones (unknown names are reported, not invented); tags are auto-created if missing. By default this REPLACES the post's current categories/tags with exactly what you pass; set add=true to ADD to the existing ones instead. Pass only the one you want to change.
update_category
ChatGPTRename a category and/or set its description. Get the category id from list_categories.
update_custom_css
ChatGPTReplace the active theme's Additional CSS with the CSS you provide. This OVERWRITES all existing Additional CSS (WordPress keeps a revision you can restore), so call get_custom_css first and pass the full combined CSS. Requires the WP Agent Connector plugin. DESTRUCTIVE — pass confirm=true to proceed; without it you get a preview.
update_media
ChatGPTUpdate a media library item's metadata — alt text (important for SEO/accessibility), title, and/or description. Pass only the field(s) you want to change; you can set several at once. Get the media_id from list_media.
update_post_author
ChatGPTReassign a post to a different author. Get the author_id from list_authors.
update_post_excerpt
ChatGPTSet a post or page's excerpt (the short summary used in listings and some SEO contexts).
update_post_seo
ChatGPTWrite SEO meta for a post — SEO title, meta description, and/or focus keyword — to whichever SEO plugin is active (Yoast, Rank Math, or All in One SEO). You decide the optimized values; this writes them to WordPress. Only the fields you pass are changed. Uses the WP Agent Connector plugin (the same free plugin offered at connect time) when it is installed; without it, Yoast and Rank Math fields are written through core WordPress REST when this site exposes them there, and only otherwise does this return install instructions.
update_post_title
ChatGPTChange a post or page's title (a page id from list_pages works the same). Leaves the body untouched.
update_site_settings
ChatGPTUpdate general site settings. Only the fields you pass are changed. Supported: title, tagline, timezone, language, posts_per_page, date_format, time_format, comments_enabled (site-wide default for NEW posts — existing posts keep their per-post setting), and the front-page setup — front_page_id makes a PUBLISHED page the site's homepage (create it with create_post post_type='page' first; pass 0 to revert to the latest-posts feed), and posts_page_id makes another published page the blog feed. This is the only settings tool — use it for all of these.
update_tag
ChatGPTRename a tag and/or set its description. Get the tag id from list_tags.
upload_attached_images
ChatGPTUse when the user attached the image or images in this chat. For a public URL use add_media_from_url; for an image only on the user's device, use get_image_upload_link when it is in your tool list. Adds up to 10 attached images to the WordPress media library, each with optional alt text and caption. The server re-saves each image without camera or location data (WebP becomes JPG, or PNG if lossless or transparent) and returns, per image, the WordPress media id and URL, or why that image was not added. Only these returned WordPress URLs work in posts (for create_post); attachment and local URLs do not. The same attachment sent again within a day returns the existing item (best effort). An UNKNOWN outcome could not be confirmed; list_media shows whether it arrived. With featured_for_post_id, the server also sets one of the images as that post's featured image, replacing the current one.
activate_plugin
Claudeadd_media_from_url
Claudeconnect_site
Claudecreate_category
Claudecreate_post
Claudecreate_tag
Claudedeactivate_plugin
Claudedelete_category
Claudedelete_media
Claudedelete_post
Claudedelete_tag
Claudedisconnect_site
Claudegenerate_featured_image
Claudeget_custom_css
Claudeget_post_content
Claudeget_post_seo_analysis
Claudeget_posts_seo_overview
Claudeget_revision
Claudeget_site_overview
Claudeget_site_settings
Claudeget_upgrade_link
Claudeget_usage
Claudeinstall_plugin
Claudelist_authors
Claudelist_categories
Claudelist_media
Claudelist_pages
Claudelist_plugins
Claudelist_posts
Claudelist_revisions
Claudelist_sites
Claudelist_tags
Claudepatch_post_content
Claudepublish_post
Clauderecommend_purchase
Claudereplace_post_content
Clauderest_api_read
Clauderest_api_write
Claudeschedule_post
Claudesearch_posts
Claudesearch_stock_photos
Claudeset_featured_image
Claudeset_post_categories_and_tags
Claudeupdate_category
Claudeupdate_custom_css
Claudeupdate_media
Claudeupdate_post_author
Claudeupdate_post_excerpt
Claudeupdate_post_seo
Claudeupdate_post_title
Claudeupdate_site_settings
Claudeupdate_tag
Claude