WordPress.com
wordpress_comManage WordPress.com and Jetpack-connected sites, content, media, comments, Reader data, statistics, and supported platform features through the centralized WordPress.com API.
Acciones disponibles (10)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Create Draft PostWORDPRESS_COM_CREATE_DRAFT_POSTAcciónCreate a non-public draft post on an authorized site. This tool never publishes content; use the returned post ID for review, update, and cleanup.
WORDPRESS_COM_CREATE_DRAFT_POSTAcciónCreate a non-public draft post on an authorized site. This tool never publishes content; use the returned post ID for review, update, and cleanup.
Parámetros de entrada
titlestringObligatorioDraft title as plain text.
contentstringDraft body as HTML or WordPress block markup.
excerptstringOptional draft excerpt.
site_idintegerObligatorioNumeric site ID returned by WORDPRESS_COM_LIST_SITES.
tag_idsinteger[]Tag IDs to assign.
category_idsinteger[]Category IDs to assign.
comment_statusstringenumWhether comments should be open if the draft is later published.
openclosedfeatured_media_idintegerExisting media item ID to use as the featured image.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Draft PostWORDPRESS_COM_DELETE_DRAFT_POSTAcciónPermanently delete an existing draft post after verifying it is still a draft. The tool refuses to delete published, scheduled, pending, or private posts.
WORDPRESS_COM_DELETE_DRAFT_POSTAcciónPermanently delete an existing draft post after verifying it is still a draft. The tool refuses to delete published, scheduled, pending, or private posts.
Parámetros de entrada
post_idintegerObligatorioID of a draft post to permanently delete.
site_idintegerObligatorioNumeric site ID returned by WORDPRESS_COM_LIST_SITES.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get PostWORDPRESS_COM_GET_POSTAcciónGet one post by ID in editable context, including raw content and its current status.
WORDPRESS_COM_GET_POSTAcciónGet one post by ID in editable context, including raw content and its current status.
Parámetros de entrada
post_idintegerObligatorioPost ID returned by create, list, or search.
site_idintegerObligatorioNumeric site ID returned by WORDPRESS_COM_LIST_SITES.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Site OverviewWORDPRESS_COM_GET_SITE_OVERVIEWAcciónGet concise identity, plan, capabilities, editable settings, and traffic summary for one authorized site. Settings or stats that are unavailable by capability are reported as unavailable without hiding valid site details.
WORDPRESS_COM_GET_SITE_OVERVIEWAcciónGet concise identity, plan, capabilities, editable settings, and traffic summary for one authorized site. Settings or stats that are unavailable by capability are reported as unavailable without hiding valid site details.
Parámetros de entrada
site_idintegerObligatorioNumeric site ID returned by WORDPRESS_COM_LIST_SITES.
stats_periodstringenumPeriod for the traffic summary.
dayweekmonthyearstats_periodsintegerNumber of periods to aggregate in the traffic summary.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Blogging PromptsWORDPRESS_COM_LIST_BLOGGING_PROMPTSAcciónList WordPress.com writing prompts for a site, optionally filtered by date or text, with agent-controlled pagination.
WORDPRESS_COM_LIST_BLOGGING_PROMPTSAcciónList WordPress.com writing prompts for a site, optionally filtered by date or text, with agent-controlled pagination.
Parámetros de entrada
yearintegerReturn the prompt calendar for this year.
afterstringReturn prompts after this ISO 8601 date.
orderstringenumSort direction by prompt date.
ascdescbeforestringReturn prompts before this ISO 8601 date.
cursorstringOpaque continuation cursor returned by a previous call.
searchstringLimit prompts to text matching this query.
site_idintegerObligatorioNumeric site ID returned by WORDPRESS_COM_LIST_SITES.
page_sizeintegerMaximum prompts in this page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List CMS ResourcesWORDPRESS_COM_LIST_CMS_RESOURCESAcciónList categories, tags, comments, media, or users for an authorized site through one consistent paginated read tool.
WORDPRESS_COM_LIST_CMS_RESOURCESAcciónList categories, tags, comments, media, or users for an authorized site through one consistent paginated read tool.
Parámetros de entrada
cursorstringOpaque continuation cursor returned by a previous call.
searchstringLimit results to records matching this text where the resource supports search.
site_idintegerObligatorioNumeric site ID returned by WORDPRESS_COM_LIST_SITES.
resourcestringObligatorioenumCMS resource collection to list.
categoriestagscommentsmediauserspage_sizeintegerMaximum resources in this page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ContentWORDPRESS_COM_LIST_CONTENTAcciónList and search editable posts or pages on an authorized site, including drafts, with compact raw and rendered content fields and agent-controlled pagination.
WORDPRESS_COM_LIST_CONTENTAcciónList and search editable posts or pages on an authorized site, including drafts, with compact raw and rendered content fields and agent-controlled pagination.
Parámetros de entrada
orderstringenumSort direction.
ascdesccursorstringOpaque continuation cursor returned by a previous call.
searchstringLimit results to content matching this text.
site_idintegerObligatorioNumeric site ID returned by WORDPRESS_COM_LIST_SITES.
order_bystringenumField used to sort results.
dateidmodifiedrelevanceslugtitlestatusesstring[]Filter by provider-defined status names such as draft, pending, private, future, or publish. WordPress sites may register custom statuses; omit this field to use the provider default.
author_idintegerLimit results to one author ID.
page_sizeintegerMaximum content items in this page.
content_typestringObligatorioenumContent collection to list: posts or pages.
postspages
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Reader SubscriptionsWORDPRESS_COM_LIST_READER_SUBSCRIPTIONSAcciónList feeds and sites followed by the connected WordPress.com account without changing subscriptions.
WORDPRESS_COM_LIST_READER_SUBSCRIPTIONSAcciónList feeds and sites followed by the connected WordPress.com account without changing subscriptions.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List SitesWORDPRESS_COM_LIST_SITESAcciónList every WordPress.com or Jetpack-connected site authorized by the global OAuth account, returning stable numeric site IDs and concise capability and plan summaries for use with other tools.
WORDPRESS_COM_LIST_SITESAcciónList every WordPress.com or Jetpack-connected site authorized by the global OAuth account, returning stable numeric site IDs and concise capability and plan summaries for use with other tools.
Parámetros de entrada
activitystringenumInclude all sites or filter by active or inactive status.
allactiveinactivevisibilitystringenumInclude all authorized sites or only sites visible or hidden in the user's site list.
allvisiblehidden
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Draft PostWORDPRESS_COM_UPDATE_DRAFT_POSTAcciónUpdate title, body, excerpt, taxonomy, featured media, or comment policy for an existing draft. Provide at least one field to update. The tool refuses to modify a post whose current status is not draft.
WORDPRESS_COM_UPDATE_DRAFT_POSTAcciónUpdate title, body, excerpt, taxonomy, featured media, or comment policy for an existing draft. Provide at least one field to update. The tool refuses to modify a post whose current status is not draft.
Parámetros de entrada
titlestringReplacement draft title.
contentstringReplacement draft body as HTML or WordPress block markup.
excerptstringReplacement excerpt.
post_idintegerObligatorioID of a draft post to update.
site_idintegerObligatorioNumeric site ID returned by WORDPRESS_COM_LIST_SITES.
tag_idsinteger[]Replacement tag IDs; use an empty list to clear them.
category_idsinteger[]Replacement category IDs; use an empty list to clear them.
comment_statusstringenumReplacement comment policy.
openclosedfeatured_media_idintegerReplacement featured media ID; use 0 to remove it.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not