Skip to main content

WordPress Comments

Provider id: wp-comments ยท 5 tool(s).

create_commentโ€‹

Create a comment on a post.

Profiles: full, wp

Parameters

ParameterTypeRequiredDescription
postintegeryesPost ID to comment on.
contentstringyesComment body.
parentintegernoParent comment ID (for replies).
author_namestringnoAuthor name (for guest comments).
author_emailstringnoAuthor email (for guest comments).

delete_commentโ€‹

Delete a comment. Set force=true to bypass trash.

๐Ÿ”ด Destructive โ€” supports a dry_run preview flag.
Profiles: full, wp

Parameters

ParameterTypeRequiredDescription
idintegeryesComment ID.
forcebooleannoPermanently delete instead of trashing.

get_commentโ€‹

Get a single comment by ID.

Profiles: full, wp

Parameters

ParameterTypeRequiredDescription
idintegeryesComment ID.

list_commentsโ€‹

List WordPress comments, optionally filtered by post, status, or search.

Profiles: full, lean, wp

Parameters

ParameterTypeRequiredDescription
postintegernoFilter by post ID.
statusstringnoComment status (approve, hold, spam, trash).
searchstringnoSearch term.
per_pageintegernoItems per page (1-100).
pageintegernoPage number.

update_commentโ€‹

Update a comment (content or status). Only provided fields change.

Profiles: full, wp

Parameters

ParameterTypeRequiredDescription
idintegeryesComment ID.
contentstringno
statusstringnoapprove, hold, spam, or trash.