AACFlow

WordPress

Manage WordPress content

Usage Instructions

Integrate with WordPress to create, update, and manage posts, pages, media, comments, categories, tags, and users. Supports WordPress.com sites via OAuth and self-hosted WordPress sites using Application Passwords authentication.

Tools

wordpress_create_post

Input

ParameterTypeRequiredDescription
siteIdstringYesNo description
titlestringYesNo description
contentstringNoNo description
statusstringNoNo description
excerptstringNoNo description
categoriesstringNoNo description
tagsstringNoNo description
featuredMedianumberNoNo description
slugstringNoNo description

Output

ParameterTypeDescription
postobjectThe created post
idnumberPost ID
datestringPost creation date
modifiedstringPost modification date
slugstringPost slug
statusstringPost status
typestringPost type
linkstringPost URL
titleobjectPost title object
contentobjectPost content object
excerptobjectPost excerpt object
authornumberAuthor ID
featured_medianumberFeatured media ID
categoriesarrayCategory IDs
tagsarrayTag IDs

wordpress_update_post

Input

ParameterTypeRequiredDescription
siteIdstringYesNo description
postIdnumberYesNo description
titlestringNoNo description
contentstringNoNo description
statusstringNoNo description
excerptstringNoNo description
categoriesstringNoNo description
tagsstringNoNo description
featuredMedianumberNoNo description
slugstringNoNo description

Output

ParameterTypeDescription
postobjectThe updated post
idnumberPost ID
datestringPost creation date
modifiedstringPost modification date
slugstringPost slug
statusstringPost status
typestringPost type
linkstringPost URL
titleobjectPost title object
contentobjectPost content object
excerptobjectPost excerpt object
authornumberAuthor ID
featured_medianumberFeatured media ID
categoriesarrayCategory IDs
tagsarrayTag IDs

wordpress_delete_post

Input

ParameterTypeRequiredDescription
siteIdstringYesNo description
postIdnumberYesNo description
forcebooleanNoNo description

Output

ParameterTypeDescription
deletedbooleanWhether the post was deleted
postobjectThe deleted post
idnumberPost ID
datestringPost creation date
modifiedstringPost modification date
slugstringPost slug
statusstringPost status
typestringPost type
linkstringPost URL
titleobjectPost title object
contentobjectPost content object
excerptobjectPost excerpt object
authornumberAuthor ID
featured_medianumberFeatured media ID
categoriesarrayCategory IDs
tagsarrayTag IDs

wordpress_get_post

Input

ParameterTypeRequiredDescription
siteIdstringYesNo description
postIdnumberYesNo description

Output

ParameterTypeDescription
postobjectThe retrieved post
idnumberPost ID
datestringPost creation date
modifiedstringPost modification date
slugstringPost slug
statusstringPost status
typestringPost type
linkstringPost URL
titleobjectPost title object
contentobjectPost content object
excerptobjectPost excerpt object
authornumberAuthor ID
featured_medianumberFeatured media ID
categoriesarrayCategory IDs
tagsarrayTag IDs

wordpress_list_posts

Input

ParameterTypeRequiredDescription
siteIdstringYesNo description
perPagenumberNoNo description
pagenumberNoNo description
statusstringNoNo description
authornumberNoNo description
categoriesstringNoComma-separated category IDs to filter by (e.g., "1,2,3")
tagsstringNoComma-separated tag IDs to filter by (e.g., "5,10,15")
searchstringNoSearch term to filter posts (e.g., "tutorial", "announcement")
orderBystringNoNo description
orderstringNoNo description

Output

ParameterTypeDescription
postsarrayList of posts
idnumberPost ID
datestringPost creation date
modifiedstringPost modification date
slugstringPost slug
statusstringPost status
typestringPost type
linkstringPost URL
titleobjectPost title object
contentobjectPost content object
excerptobjectPost excerpt object
authornumberAuthor ID
featured_medianumberFeatured media ID
categoriesarrayCategory IDs
tagsarrayTag IDs
totalnumberTotal number of posts
totalPagesnumberTotal number of pages

wordpress_create_page

Input

ParameterTypeRequiredDescription
siteIdstringYesNo description
titlestringYesNo description
contentstringNoNo description
statusstringNoNo description
excerptstringNoNo description
parentnumberNoNo description
menuOrdernumberNoNo description
featuredMedianumberNoNo description
slugstringNoNo description

Output

ParameterTypeDescription
pageobjectThe created page
idnumberPage ID
datestringPage creation date
modifiedstringPage modification date
slugstringPage slug
statusstringPage status
typestringContent type
linkstringPage URL
titleobjectPage title object
contentobjectPage content object
excerptobjectPage excerpt object
authornumberAuthor ID
featured_medianumberFeatured media ID
parentnumberParent page ID
menu_ordernumberMenu order

wordpress_update_page

Input

ParameterTypeRequiredDescription
siteIdstringYesNo description
pageIdnumberYesNo description
titlestringNoNo description
contentstringNoNo description
statusstringNoNo description
excerptstringNoNo description
parentnumberNoNo description
menuOrdernumberNoNo description
featuredMedianumberNoNo description
slugstringNoNo description

Output

ParameterTypeDescription
pageobjectThe updated page
idnumberPage ID
datestringPage creation date
modifiedstringPage modification date
slugstringPage slug
statusstringPage status
typestringContent type
linkstringPage URL
titleobjectPage title object
contentobjectPage content object
excerptobjectPage excerpt object
authornumberAuthor ID
featured_medianumberFeatured media ID
parentnumberParent page ID
menu_ordernumberMenu order

wordpress_delete_page

Input

ParameterTypeRequiredDescription
siteIdstringYesNo description
pageIdnumberYesNo description
forcebooleanNoNo description

Output

ParameterTypeDescription
deletedbooleanWhether the page was deleted
pageobjectThe deleted page
idnumberPage ID
datestringPage creation date
modifiedstringPage modification date
slugstringPage slug
statusstringPage status
typestringContent type
linkstringPage URL
titleobjectPage title object
contentobjectPage content object
excerptobjectPage excerpt object
authornumberAuthor ID
featured_medianumberFeatured media ID
parentnumberParent page ID
menu_ordernumberMenu order

wordpress_get_page

Input

ParameterTypeRequiredDescription
siteIdstringYesNo description
pageIdnumberYesNo description

Output

ParameterTypeDescription
pageobjectThe retrieved page
idnumberPage ID
datestringPage creation date
modifiedstringPage modification date
slugstringPage slug
statusstringPage status
typestringContent type
linkstringPage URL
titleobjectPage title object
contentobjectPage content object
excerptobjectPage excerpt object
authornumberAuthor ID
featured_medianumberFeatured media ID
parentnumberParent page ID
menu_ordernumberMenu order

wordpress_list_pages

Input

ParameterTypeRequiredDescription
siteIdstringYesNo description
perPagenumberNoNo description
pagenumberNoNo description
statusstringNoNo description
parentnumberNoNo description
searchstringNoSearch term to filter pages (e.g., "about", "contact")
orderBystringNoNo description
orderstringNoNo description

Output

ParameterTypeDescription
pagesarrayList of pages
idnumberPage ID
datestringPage creation date
modifiedstringPage modification date
slugstringPage slug
statusstringPage status
typestringContent type
linkstringPage URL
titleobjectPage title object
contentobjectPage content object
excerptobjectPage excerpt object
authornumberAuthor ID
featured_medianumberFeatured media ID
parentnumberParent page ID
menu_ordernumberMenu order
totalnumberTotal number of pages
totalPagesnumberTotal number of result pages

wordpress_upload_media

Input

ParameterTypeRequiredDescription
siteIdstringYesNo description
filefileNoNo description
filenamestringNoNo description
titlestringNoNo description
captionstringNoNo description
altTextstringNoNo description
descriptionstringNoNo description

Output

ParameterTypeDescription
mediaobjectThe uploaded media item
idnumberMedia ID
datestringUpload date
slugstringMedia slug
typestringContent type
linkstringMedia page URL
titleobjectMedia title object
captionobjectMedia caption object
alt_textstringAlt text
media_typestringMedia type (image, video, etc.)
mime_typestringMIME type
source_urlstringDirect URL to the media file
media_detailsobjectMedia details (dimensions, etc.)

wordpress_get_media

Input

ParameterTypeRequiredDescription
siteIdstringYesNo description
mediaIdnumberYesNo description

Output

ParameterTypeDescription
mediaobjectThe retrieved media item
idnumberMedia ID
datestringUpload date
slugstringMedia slug
typestringContent type
linkstringMedia page URL
titleobjectMedia title object
captionobjectMedia caption object
alt_textstringAlt text
media_typestringMedia type (image, video, etc.)
mime_typestringMIME type
source_urlstringDirect URL to the media file
media_detailsobjectMedia details (dimensions, etc.)

wordpress_list_media

Input

ParameterTypeRequiredDescription
siteIdstringYesNo description
perPagenumberNoNo description
pagenumberNoNo description
searchstringNoSearch term to filter media (e.g., "logo", "banner")
mediaTypestringNoNo description
mimeTypestringNoNo description
orderBystringNoNo description
orderstringNoNo description

Output

ParameterTypeDescription
mediaarrayList of media items
idnumberMedia ID
datestringUpload date
slugstringMedia slug
typestringContent type
linkstringMedia page URL
titleobjectMedia title object
captionobjectMedia caption object
alt_textstringAlt text
media_typestringMedia type (image, video, etc.)
mime_typestringMIME type
source_urlstringDirect URL to the media file
media_detailsobjectMedia details (dimensions, etc.)
totalnumberTotal number of media items
totalPagesnumberTotal number of result pages

wordpress_delete_media

Input

ParameterTypeRequiredDescription
siteIdstringYesNo description
mediaIdnumberYesNo description
forcebooleanNoNo description

Output

ParameterTypeDescription
deletedbooleanWhether the media was deleted
mediaobjectThe deleted media item
idnumberMedia ID
datestringUpload date
slugstringMedia slug
typestringContent type
linkstringMedia page URL
titleobjectMedia title object
captionobjectMedia caption object
alt_textstringAlt text
media_typestringMedia type (image, video, etc.)
mime_typestringMIME type
source_urlstringDirect URL to the media file
media_detailsobjectMedia details (dimensions, etc.)

wordpress_create_comment

Input

ParameterTypeRequiredDescription
siteIdstringYesNo description
postIdnumberYesNo description
contentstringYesNo description
parentnumberNoNo description
authorNamestringNoNo description
authorEmailstringNoNo description
authorUrlstringNoNo description

Output

ParameterTypeDescription
commentobjectThe created comment
idnumberComment ID
postnumberPost ID
parentnumberParent comment ID
authornumberAuthor user ID
author_namestringAuthor display name
author_emailstringAuthor email
author_urlstringAuthor URL
datestringComment date
contentobjectComment content object
linkstringComment permalink
statusstringComment status

wordpress_list_comments

Input

ParameterTypeRequiredDescription
siteIdstringYesNo description
perPagenumberNoNo description
pagenumberNoNo description
postIdnumberNoNo description
statusstringNoNo description
searchstringNoSearch term to filter comments (e.g., "question", "feedback")
orderBystringNoNo description
orderstringNoNo description

Output

ParameterTypeDescription
commentsarrayList of comments
idnumberComment ID
postnumberPost ID
parentnumberParent comment ID
authornumberAuthor user ID
author_namestringAuthor display name
author_emailstringAuthor email
author_urlstringAuthor URL
datestringComment date
contentobjectComment content object
linkstringComment permalink
statusstringComment status
totalnumberTotal number of comments
totalPagesnumberTotal number of result pages

wordpress_update_comment

Input

ParameterTypeRequiredDescription
siteIdstringYesNo description
commentIdnumberYesNo description
contentstringNoNo description
statusstringNoNo description

Output

ParameterTypeDescription
commentobjectThe updated comment
idnumberComment ID
postnumberPost ID
parentnumberParent comment ID
authornumberAuthor user ID
author_namestringAuthor display name
author_emailstringAuthor email
author_urlstringAuthor URL
datestringComment date
contentobjectComment content object
linkstringComment permalink
statusstringComment status

wordpress_delete_comment

Input

ParameterTypeRequiredDescription
siteIdstringYesNo description
commentIdnumberYesNo description
forcebooleanNoNo description

Output

ParameterTypeDescription
deletedbooleanWhether the comment was deleted
commentobjectThe deleted comment
idnumberComment ID
postnumberPost ID
parentnumberParent comment ID
authornumberAuthor user ID
author_namestringAuthor display name
author_emailstringAuthor email
author_urlstringAuthor URL
datestringComment date
contentobjectComment content object
linkstringComment permalink
statusstringComment status

wordpress_create_category

Input

ParameterTypeRequiredDescription
siteIdstringYesNo description
namestringYesNo description
descriptionstringNoNo description
parentnumberNoNo description
slugstringNoNo description

Output

ParameterTypeDescription
categoryobjectThe created category
idnumberCategory ID
countnumberNumber of posts in this category
descriptionstringdescription output from the tool
linkstringCategory archive URL
namestringname output from the tool
slugstringCategory slug
taxonomystringTaxonomy name
parentnumberParent category ID

wordpress_list_categories

Input

ParameterTypeRequiredDescription
siteIdstringYesNo description
perPagenumberNoNo description
pagenumberNoNo description
searchstringNoSearch term to filter categories (e.g., "news", "technology")
orderstringNoNo description

Output

ParameterTypeDescription
categoriesarrayList of categories
idnumberCategory ID
countnumberNumber of posts in this category
descriptionstringCategory description
linkstringCategory archive URL
namestringCategory name
slugstringCategory slug
taxonomystringTaxonomy name
parentnumberParent category ID
totalnumberTotal number of categories
totalPagesnumberTotal number of result pages

wordpress_create_tag

Input

ParameterTypeRequiredDescription
siteIdstringYesNo description
namestringYesNo description
descriptionstringNoNo description
slugstringNoNo description

Output

ParameterTypeDescription
tagobjectThe created tag
idnumberTag ID
countnumberNumber of posts with this tag
descriptionstringdescription output from the tool
linkstringTag archive URL
namestringname output from the tool
slugstringTag slug
taxonomystringTaxonomy name

wordpress_list_tags

Input

ParameterTypeRequiredDescription
siteIdstringYesNo description
perPagenumberNoNo description
pagenumberNoNo description
searchstringNoSearch term to filter tags (e.g., "javascript", "tutorial")
orderstringNoNo description

Output

ParameterTypeDescription
tagsarrayList of tags
idnumberTag ID
countnumberNumber of posts with this tag
descriptionstringTag description
linkstringTag archive URL
namestringTag name
slugstringTag slug
taxonomystringTaxonomy name
totalnumberTotal number of tags
totalPagesnumberTotal number of result pages

wordpress_get_current_user

Input

ParameterTypeRequiredDescription
siteIdstringYesNo description

Output

ParameterTypeDescription
userobjectThe current user
idnumberUser ID
usernamestringUsername
namestringDisplay name
first_namestringFirst name
last_namestringLast name
emailstringEmail address
urlstringUser website URL
descriptionstringUser bio
linkstringAuthor archive URL
slugstringUser slug
rolesarrayUser roles
avatar_urlsobjectAvatar URLs at different sizes

wordpress_list_users

Input

ParameterTypeRequiredDescription
siteIdstringYesNo description
perPagenumberNoNo description
pagenumberNoNo description
searchstringNoSearch term to filter users (e.g., "john", "admin")
rolesstringNoComma-separated role names to filter by (e.g., "administrator,editor")
orderstringNoNo description

Output

ParameterTypeDescription
usersarrayList of users
idnumberUser ID
usernamestringUsername
namestringDisplay name
first_namestringFirst name
last_namestringLast name
emailstringEmail address
urlstringUser website URL
descriptionstringUser bio
linkstringAuthor archive URL
slugstringUser slug
rolesarrayUser roles
avatar_urlsobjectAvatar URLs at different sizes
totalnumberTotal number of users
totalPagesnumberTotal number of result pages

wordpress_get_user

Input

ParameterTypeRequiredDescription
siteIdstringYesNo description
userIdnumberYesNo description

Output

ParameterTypeDescription
userobjectThe retrieved user
idnumberUser ID
usernamestringUsername
namestringDisplay name
first_namestringFirst name
last_namestringLast name
emailstringEmail address
urlstringUser website URL
descriptionstringUser bio
linkstringAuthor archive URL
slugstringUser slug
rolesarrayUser roles
avatar_urlsobjectAvatar URLs at different sizes

wordpress_search_content

Input

ParameterTypeRequiredDescription
siteIdstringYesNo description
querystringYesNo description
perPagenumberNoNo description
pagenumberNoNo description
typestringNoNo description
subtypestringNoNo description

Output

ParameterTypeDescription
resultsarraySearch results
idnumberContent ID
titlestringContent title
urlstringContent URL
typestringContent type (post, page, attachment)
subtypestringPost type slug
totalnumberTotal number of results
totalPagesnumberTotal number of result pages

On this page

Start building today
Trusted by over 100,000 builders.
The SaaS platform to build AI agents and run your agentic workforce.
Get started