WordPress tools
Post and page editing, media, comment moderation, plugin/theme operations, WooCommerce product and order tools, rollback.
Tool names and descriptions are generated straight from the server code; the descriptions are the original English text the assistant sees.
Read tools11 tools
wordpress_site_info
Read1 creditsConnected WordPress site: name, URL, connected user and roles, whether WooCommerce is present, pending comment count, latest posts. Read only; returns connected=false with a note if no site is connected.
| Parameter | Type | Description |
|---|---|---|
siteOptional | string | site URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site |
wordpress_site_style
Read1 creditsMeasured writing voice of the site from its recent published posts (length, sentence length, subheadings, lists, address form, tone). Use before drafting so new content matches the site.
| Parameter | Type | Description |
|---|---|---|
postsOptional | integer (3–30) | — |
siteOptional | string | site URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site |
list_wordpress_posts
Read1 creditsPosts or pages with id, title, status, link, dates, excerpt and word count. Optional WordPress search.
| Parameter | Type | Description |
|---|---|---|
searchOptional | string | — |
statusOptional | publish | draft | pending | private | future | any | — |
typeOptional | post | page | — |
limitOptional | integer (1–100) | — |
siteOptional | string | site URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site |
search_wordpress_content
Read1 creditsSearch posts and pages by text (e.g. 'shipping times', 'about'). Returns ids to pass to the update tools.
| Parameter | Type | Description |
|---|---|---|
queryRequired | string | — |
limitOptional | integer (1–50) | — |
siteOptional | string | site URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site |
list_wordpress_comments
Read1 creditsComments by status; default 'hold' = awaiting moderation. Returns id, post, author, date and text so you can judge genuine vs spam.
| Parameter | Type | Description |
|---|---|---|
statusOptional | hold | approve | spam | trash | all | — |
limitOptional | integer (1–100) | — |
siteOptional | string | site URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site |
list_wordpress_plugins
Read1 creditsInstalled plugins with status and installed version; compares with WordPress.org to flag available updates (unknown for plugins not on WordPress.org). Needs an administrator user.
| Parameter | Type | Description |
|---|---|---|
check_updatesOptional | boolean | — |
siteOptional | string | site URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site |
list_wordpress_themes
Read1 creditsInstalled themes with version, active flag and (with the Tecrübe Connector plugin) available updates. Read only.
| Parameter | Type | Description |
|---|---|---|
siteOptional | string | site URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site |
list_wordpress_change_log
Read1 creditsThe Tecrübe Connector plugin's own audit log on the site: signed calls, rollback-able changes (with change_id) and zip backups. Read only.
| Parameter | Type | Description |
|---|---|---|
limitOptional | integer (1–200) | — |
siteOptional | string | site URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site |
list_woocommerce_products
Read1 creditsWooCommerce products with price, stock quantity and status; low_stock=true lists products below the threshold or out of stock.
| Parameter | Type | Description |
|---|---|---|
low_stockOptional | boolean | — |
thresholdOptional | integer (1–…) | low-stock threshold, default 5 |
searchOptional | string | — |
limitOptional | integer (1–100) | — |
siteOptional | string | site URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site |
woocommerce_orders_summary
Read1 creditsOrder summary for the last N days: count, revenue, average order, breakdown by status, latest orders. Read only.
| Parameter | Type | Description |
|---|---|---|
daysOptional | integer (1–365) | — |
siteOptional | string | site URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site |
wordpress_backup_note
Read1 creditsRecord the rollback point before editing: latest revision id, modified time and content length of a post/page (WordPress revisions are the safety net).
| Parameter | Type | Description |
|---|---|---|
post_idRequired | integer | — |
typeOptional | post | page | — |
siteOptional | string | site URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site |
Write tools15 tools
create_wordpress_post
Write2 creditsDraft a blog post in the site's usual voice (brand profile + measured style) and queue saving it to WordPress as a DRAFT. Returns the draft text and an approval item; nothing is written until approved. Never publishes.
| Parameter | Type | Description |
|---|---|---|
titleRequired | string | — |
briefOptional | string | what the post is about; used when content is not given |
contentOptional | string | HTML body; if omitted a draft is generated from the brand profile and the site's voice |
excerptOptional | string | — |
wordsOptional | integer (150–2000) | — |
statusOptional | draft | pending | — |
categoriesOptional | array<integer> | — |
tagsOptional | array<integer> | — |
siteOptional | string | site URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site |
Write tool: the call first produces a preview; the change reaches the platform only after you approve it.
update_wordpress_post
Write2 creditsUpdate a post's or page's title, content, excerpt, slug or status (publishing included). Records the latest revision id as the rollback point. Goes through preview and approval.
| Parameter | Type | Description |
|---|---|---|
post_idRequired | integer | — |
typeOptional | post | page | — |
titleOptional | string | — |
contentOptional | string | — |
excerptOptional | string | — |
slugOptional | string | — |
statusOptional | draft | pending | publish | private | — |
siteOptional | string | site URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site |
Write tool: the call first produces a preview; the change reaches the platform only after you approve it.
update_wordpress_page
Write2 creditsEdit a page (or post) in place: find/replace text (e.g. old address -> new address) and fix broken links. Fetches the page HTML first, shows before/after and match counts, then queues the change for approval; replacements are re-applied on the live content at apply time.
| Parameter | Type | Description |
|---|---|---|
page_idRequired | integer | — |
typeOptional | page | post | — |
replacementsOptional | array<object> | — |
link_fixesOptional | array<object> | broken link URL -> working URL |
siteOptional | string | site URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site |
Write tool: the call first produces a preview; the change reaches the platform only after you approve it.
add_wordpress_faq_section
Write2 creditsAppend a short FAQ section (heading + question/answer blocks) at the bottom of a post or page. Preview and approval first; revision id recorded.
| Parameter | Type | Description |
|---|---|---|
post_idRequired | integer | — |
typeOptional | post | page | — |
headingOptional | string | — |
faqRequired | array<object> | — |
siteOptional | string | site URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site |
Write tool: the call first produces a preview; the change reaches the platform only after you approve it.
moderate_wordpress_comments
Write2 creditsApprove the listed comment ids and/or mark others as spam. Queued for approval with a preview; applied to WordPress only after approval.
| Parameter | Type | Description |
|---|---|---|
approveOptional | array<integer> | — |
spamOptional | array<integer> | — |
siteOptional | string | site URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site |
Write tool: the call first produces a preview; the change reaches the platform only after you approve it.
update_wordpress_plugin
Write2 creditsactivate/deactivate/upgrade a plugin (preview + approval). On a site connected with the Tecrübe Connector plugin (mode=plugin), 'upgrade' performs a real version update via WordPress's own upgrader after taking a zip backup (rollback point). On an application-password connection 'upgrade' is honest: the core REST API cannot upgrade versions, so it returns installed vs latest version and tells the user to update from WordPress admin › Updates.
| Parameter | Type | Description |
|---|---|---|
pluginRequired | string | plugin file from list_wordpress_plugins, e.g. akismet/akismet |
actionRequired | activate | deactivate | upgrade | — |
siteOptional | string | site URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site |
Write tool: the call first produces a preview; the change reaches the platform only after you approve it.
install_wordpress_plugin
Write2 creditsInstall a plugin from WordPress.org (optionally activate it). Shows name, version, requirements and rating, then waits for approval. Needs the Tecrübe Connector plugin; rollback deletes it again.
| Parameter | Type | Description |
|---|---|---|
slugRequired | string | WordPress.org plugin slug, e.g. contact-form-7 |
activateOptional | boolean | — |
siteOptional | string | site URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site |
Write tool: the call first produces a preview; the change reaches the platform only after you approve it.
activate_wordpress_theme
Write2 creditsSwitch the active theme (preview shows current vs new; approval required; previous theme recorded for rollback). Needs the Tecrübe Connector plugin.
| Parameter | Type | Description |
|---|---|---|
stylesheetRequired | string | theme directory name from list_wordpress_themes |
siteOptional | string | site URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site |
Write tool: the call first produces a preview; the change reaches the platform only after you approve it.
update_wordpress_theme
Write2 creditsUpdate a theme to its latest version after a zip backup (rollback point). Preview shows installed vs latest version; approval required. Needs the Tecrübe Connector plugin.
| Parameter | Type | Description |
|---|---|---|
stylesheetRequired | string | — |
siteOptional | string | site URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site |
Write tool: the call first produces a preview; the change reaches the platform only after you approve it.
update_wordpress_setting
Write2 creditsChange an allowed site setting (site title, tagline, time zone, permalink structure, date/time format, posts per page, default comment status). siteurl/home are never changed. Preview shows current vs new; previous value kept for rollback. Needs the Tecrübe Connector plugin.
| Parameter | Type | Description |
|---|---|---|
nameRequired | blogname | blogdescription | timezone_string | permalink_structure | date_format | time_format | posts_per_page | default_comment_status | — |
valueRequired | string | new value, e.g. Europe/Istanbul, /%postname%/ or 10 |
siteOptional | string | site URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site |
Write tool: the call first produces a preview; the change reaches the platform only after you approve it.
run_wordpress_command
WriteIrreversible2 creditsWP-CLI-like safe command set on the site. Read commands (cron-list, db-size) answer directly; cache-flush, rewrite-flush, cron-run, transient-delete and search-replace (posts/pages content and titles only, previewed with match counts, a revision taken before each item) go through approval. Needs the Tecrübe Connector plugin.
| Parameter | Type | Description |
|---|---|---|
commandRequired | cron-list | db-size | cache-flush | rewrite-flush | cron-run | transient-delete | search-replace | — |
argsOptional | object | cron-run: {hook}; transient-delete: {name} or {expired: true}; search-replace: {search, replace} |
siteOptional | string | site URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site |
Write tool: the call first produces a preview; the change reaches the platform only after you approve it.
upload_wordpress_media
Write2 creditsUpload an image/file from a public URL into the WordPress media library (with title and alt text). Approval required. Needs the Tecrübe Connector plugin.
| Parameter | Type | Description |
|---|---|---|
urlRequired | string | public http(s) URL of the file |
titleOptional | string | — |
altOptional | string | — |
post_idOptional | integer | attach to this post (optional) |
siteOptional | string | site URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site |
Write tool: the call first produces a preview; the change reaches the platform only after you approve it.
rollback_wordpress_change
WriteIrreversible2 creditsRoll back a change: a plugin update (restores the zip backup), install, activation, theme switch/update, setting change or search-replace by change_id; or restore a post/page to a WordPress revision by post_id + revision_id. Preview and approval first.
| Parameter | Type | Description |
|---|---|---|
change_idOptional | string | id from list_wordpress_change_log (plugin/theme/setting/search-replace changes) |
post_idOptional | integer | — |
revision_idOptional | integer | content revision to restore |
typeOptional | post | page | — |
siteOptional | string | site URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site |
Write tool: the call first produces a preview; the change reaches the platform only after you approve it.
update_woocommerce_product_price
Write2 creditsChange a WooCommerce product's regular and/or sale price in the store currency. Shows current vs new price, then waits for approval.
| Parameter | Type | Description |
|---|---|---|
product_idRequired | integer | — |
regular_priceOptional | number | — |
sale_priceOptional | number | — |
siteOptional | string | site URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site |
Write tool: the call first produces a preview; the change reaches the platform only after you approve it.
update_woocommerce_stock
Write2 creditsUpdate WooCommerce stock: quantity (absolute or relative), stock management on/off and stock status (instock, outofstock, onbackorder) for products and individual variations, one item or up to 100 at once. For a variable product without variation_id it lists the variations instead. Shows current vs new values, then waits for approval. Works with both the application-password and the Connector-plugin connection.
| Parameter | Type | Description |
|---|---|---|
product_idOptional | integer | — |
variation_idOptional | integer | for variable products (stock is per variation) |
stock_quantityOptional | integer | absolute quantity; turns stock management on |
adjust_byOptional | integer | relative change, e.g. -3 or +20 (applied to the quantity at approval time) |
manage_stockOptional | boolean | — |
stock_statusOptional | instock | outofstock | onbackorder | — |
itemsOptional | array<object> | bulk: several products/variations in one approval |
siteOptional | string | site URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site |
Write tool: the call first produces a preview; the change reaches the platform only after you approve it.