update_post
Update Post
Update an existing blog post. Can modify the title, content, excerpt, status, categories, tags, featured image, slug, and other settings. Only provided fields are updated.
update_post
Update an existing blog post. Can modify the title, content, excerpt, status, categories, tags, featured image, slug, and other settings. Only provided fields are updated.
list_users
Retrieve a list of users on the WordPress site. Filter by search term or role. Results are paginated.
list_pages
Retrieve a list of pages with optional filtering by status, search term, and sorting. Results are paginated.
create_page
Create a new page on the WordPress site. Pages are hierarchical and can have parent pages. Supports setting title, content, status, parent page, and featured image.
get_site_stats
Retrieve site traffic statistics including page views, visitors, and top posts. **Only available for WordPress.com sites and Jetpack-connected self-hosted sites.**
delete_page
Permanently delete a page by its ID. This action cannot be undone.
update_media
Update metadata of an existing media item including title, caption, alt text, and description. Only provided fields are updated.
get_post
Retrieve a single blog post by its ID, including full content, metadata, and comment count.
moderate_comment
Moderate a comment by updating its status (approve, hold, spam, or trash) or editing its content.
delete_post
Permanently delete a blog post by its ID. This action cannot be undone.
list_media
Browse the site's media library. Filter by media type (image, video, audio, application) or search by keyword. Results are paginated.
list_tags
Retrieve all tags on the site. Tags are flat (non-hierarchical) taxonomy terms used to describe posts. Supports search filtering.
get_media
Retrieve details of a single media item by its ID, including URL, dimensions, caption, and alt text.
update_page
Update an existing page. Can modify the title, content, status, parent page, and other settings. Only provided fields are updated.
create_post
Create a new blog post on the WordPress site. Supports setting title, content, excerpt, status (draft/publish/pending/private), scheduling via date, post format, categories, tags, featured image, and comment settings.
list_categories
Retrieve all categories on the site. Categories are hierarchical and can be used to organize posts. Supports search filtering.
delete_media
Permanently delete a media item from the library. This action cannot be undone.
create_category
Create a new post category. Categories are hierarchical — you can specify a parent category to create subcategories.
search_content
Search across posts and pages on the site by keyword. Returns matching content with titles, excerpts, and URLs. Useful for finding specific content or checking for duplicate topics.
list_posts
Retrieve a list of blog posts with filtering options. Filter by status, search term, category, tag, author, and date range. Results are paginated.
get_site_info
Retrieve general site information including title, description, URL, and other metadata. Useful for verifying site configuration and connectivity.
list_comments
Retrieve comments from the site. Can filter by post ID, status, and search term. Results are paginated.
create_tag
Create a new post tag for organizing and labeling content.
create_comment
Add a new comment to a post. Can create top-level comments or replies to existing comments by specifying a parent comment ID.
delete_tag
Delete a tag. Posts with this tag will not be deleted but will lose this tag assignment.
delete_comment
Permanently delete a comment by its ID. This action cannot be undone.
delete_category
Delete a category. Posts in this category will not be deleted but will be reassigned to the default category.
get_current_user
Retrieve the profile of the currently authenticated user, including display name, email, avatar, and roles.
update_category
Update a post category name, description, parent, or slug. For WordPress.com, categoryId may be the numeric ID returned by list/create tools or the category slug.
upload_media
Upload an image, document, or other supported file to the WordPress media library from a publicly accessible URL. Returns the created media item ID and URL for use as a featured image or attachment.
get_site_settings
Retrieve editable WordPress site settings such as title, description, timezone, date format, time format, and default content settings.
update_tag
Update a post tag name, description, or slug. For WordPress.com, tagId may be the numeric ID returned by list/create tools or the tag slug.
get_tag
Retrieve a single post tag by ID. For WordPress.com, a tag slug is also accepted.
update_site_settings
Update common editable WordPress site settings. Only provided fields are changed.
get_category
Retrieve a single post category by ID. For WordPress.com, a category slug is also accepted.
Create, read, update, and delete WordPress posts and pages. Manage media library items, comments, categories, tags, site users, site metadata, editable site settings, content search, and WordPress.com site statistics. Supports WordPress.com hosted sites via OAuth and self-hosted WordPress sites via application passwords.
Common questions about connecting WordPress to AI agents with Metorial.