WordPress

Connect your AI agents to WordPress.

Available Tools

list_blocks

List WordPress reusable blocks with filtering by status and search. Use page/per_page for pagination.

get_block

Get a single WordPress reusable block by ID. Returns block title, content, and metadata.

create_block

Create a new WordPress reusable block with title, content (HTML/block markup), and status.

update_block

Update an existing WordPress reusable block. Only provided fields will be changed. Use list_blocks to find valid IDs.

delete_block

Delete a WordPress reusable block. By default moves to trash. Set force=true to permanently delete.

list_categories

List WordPress categories with filtering and search. Use page/per_page for pagination.

get_category

Get a single WordPress category by ID. Returns name, slug, description, parent, and post count.

create_category

Create a new WordPress category with name, description, slug, and optional parent category.

update_category

Update an existing WordPress category. Only provided fields will be changed. Use list_categories to find valid IDs. O…

delete_category

Delete a WordPress category. Categories require force=true to delete (set by default). On WordPress.com, category IDs…

list_comments

List WordPress comments with filtering by post, status, and search. Use page/per_page for pagination.

get_comment

Get a single WordPress comment by ID. Returns comment content, author info, and metadata.

create_comment

Create a new comment on a WordPress post. Requires post ID and content. Use list_posts to find valid post IDs.

update_comment

Update an existing WordPress comment. Only provided fields will be changed. Use list_comments to find valid IDs.

delete_comment

Delete a WordPress comment. By default moves to trash. Set force=true to permanently delete.

list_media

List WordPress media items with filtering by type and search. Use page/per_page for pagination.

get_media

Get a single WordPress media item by ID. Returns file details, URLs, alt text, and metadata.

update_media

Update a WordPress media item’s title, alt text, caption, or description. Use list_media to find valid IDs.

delete_media

Permanently delete a WordPress media item. Media deletion requires force=true (set by default).

list_pages

List WordPress pages with filtering by status, author, and parent. Use page/per_page for pagination.

get_page

Get a single WordPress page by ID. Returns full page content including title, body, and metadata.

create_page

Create a new WordPress page with title, content, status, and parent. Defaults to draft status.

update_page

Update an existing WordPress page. Only provided fields will be changed. Use list_pages to find valid page IDs.

delete_page

Delete a WordPress page. By default moves to trash. Set force=true to permanently delete.

list_posts

List WordPress posts with filtering by status, author, category, tag, and search. Use page/per_page for pagination.

get_post

Get a single WordPress post by ID. Returns full post content including title, body, excerpt, and metadata.

create_post

Create a new WordPress post with title, content, status, categories, and tags. Defaults to draft status.

update_post

Update an existing WordPress post. Only provided fields will be changed. Use list_posts to find valid post IDs.

delete_post

Delete a WordPress post. By default moves to trash. Set force=true to permanently delete.

search

Search across all WordPress content (posts, pages, terms). Filter by type and subtype. Use page/per_page for pagination.

list_tags

List WordPress tags with filtering and search. Use page/per_page for pagination.

get_tag

Get a single WordPress tag by ID. Returns name, slug, description, and post count.

create_tag

Create a new WordPress tag with name, description, and optional slug.

update_tag

Update an existing WordPress tag. Only provided fields will be changed. Use list_tags to find valid tag IDs. On WordP…

delete_tag

Delete a WordPress tag. Tags require force=true to delete (set by default). On WordPress.com, tag IDs are global and …

list_taxonomies

List all registered WordPress taxonomies (e.g., category, post_tag, and custom taxonomies).

get_taxonomy

Get details of a specific WordPress taxonomy by slug (e.g., ‘category’, ‘post_tag’).

list_post_types

List all registered WordPress post types (e.g., post, page, attachment, and custom post types).

get_post_type

Get details of a specific WordPress post type by slug (e.g., ‘post’, ‘page’, ‘attachment’).

validate_credential

Validate WordPress credentials by calling the users/me endpoint. Returns success status and user info.