Tecrübetecrube.com
Tool reference — Data & Site

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

อ่าน1 credits

Connected 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.

ParameterTypeDescription
siteOptionalstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

wordpress_site_style

อ่าน1 credits

Measured 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.

ParameterTypeDescription
postsOptionalinteger (3–30)—
siteOptionalstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

list_wordpress_posts

อ่าน1 credits

Posts or pages with id, title, status, link, dates, excerpt and word count. Optional WordPress search.

ParameterTypeDescription
searchOptionalstring—
statusOptionalpublish | draft | pending | private | future | any—
typeOptionalpost | page—
limitOptionalinteger (1–100)—
siteOptionalstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

search_wordpress_content

อ่าน1 credits

Search posts and pages by text (e.g. 'shipping times', 'about'). Returns ids to pass to the update tools.

ParameterTypeDescription
queryRequiredstring—
limitOptionalinteger (1–50)—
siteOptionalstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

list_wordpress_comments

อ่าน1 credits

Comments by status; default 'hold' = awaiting moderation. Returns id, post, author, date and text so you can judge genuine vs spam.

ParameterTypeDescription
statusOptionalhold | approve | spam | trash | all—
limitOptionalinteger (1–100)—
siteOptionalstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

list_wordpress_plugins

อ่าน1 credits

Installed 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.

ParameterTypeDescription
check_updatesOptionalboolean—
siteOptionalstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

list_wordpress_themes

อ่าน1 credits

Installed themes with version, active flag and (with the Tecrübe Connector plugin) available updates. Read only.

ParameterTypeDescription
siteOptionalstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

list_wordpress_change_log

อ่าน1 credits

The Tecrübe Connector plugin's own audit log on the site: signed calls, rollback-able changes (with change_id) and zip backups. Read only.

ParameterTypeDescription
limitOptionalinteger (1–200)—
siteOptionalstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

list_woocommerce_products

อ่าน1 credits

WooCommerce products with price, stock quantity and status; low_stock=true lists products below the threshold or out of stock.

ParameterTypeDescription
low_stockOptionalboolean—
thresholdOptionalinteger (1–…)low-stock threshold, default 5
searchOptionalstring—
limitOptionalinteger (1–100)—
siteOptionalstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

woocommerce_orders_summary

อ่าน1 credits

Order summary for the last N days: count, revenue, average order, breakdown by status, latest orders. Read only.

ParameterTypeDescription
daysOptionalinteger (1–365)—
siteOptionalstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

wordpress_backup_note

อ่าน1 credits

Record the rollback point before editing: latest revision id, modified time and content length of a post/page (WordPress revisions are the safety net).

ParameterTypeDescription
post_idRequiredinteger—
typeOptionalpost | page—
siteOptionalstringsite 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

เขียน2 credits

Draft 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.

ParameterTypeDescription
titleRequiredstring—
briefOptionalstringwhat the post is about; used when content is not given
contentOptionalstringHTML body; if omitted a draft is generated from the brand profile and the site's voice
excerptOptionalstring—
wordsOptionalinteger (150–2000)—
statusOptionaldraft | pending—
categoriesOptionalarray<integer>—
tagsOptionalarray<integer>—
siteOptionalstringsite 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

เขียน2 credits

Update 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.

ParameterTypeDescription
post_idRequiredinteger—
typeOptionalpost | page—
titleOptionalstring—
contentOptionalstring—
excerptOptionalstring—
slugOptionalstring—
statusOptionaldraft | pending | publish | private—
siteOptionalstringsite 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

เขียน2 credits

Edit 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.

ParameterTypeDescription
page_idRequiredinteger—
typeOptionalpage | post—
replacementsOptionalarray<object>—
link_fixesOptionalarray<object>broken link URL -> working URL
siteOptionalstringsite 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

เขียน2 credits

Append a short FAQ section (heading + question/answer blocks) at the bottom of a post or page. Preview and approval first; revision id recorded.

ParameterTypeDescription
post_idRequiredinteger—
typeOptionalpost | page—
headingOptionalstring—
faqRequiredarray<object>—
siteOptionalstringsite 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

เขียน2 credits

Approve the listed comment ids and/or mark others as spam. Queued for approval with a preview; applied to WordPress only after approval.

ParameterTypeDescription
approveOptionalarray<integer>—
spamOptionalarray<integer>—
siteOptionalstringsite 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

เขียน2 credits

activate/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.

ParameterTypeDescription
pluginRequiredstringplugin file from list_wordpress_plugins, e.g. akismet/akismet
actionRequiredactivate | deactivate | upgrade—
siteOptionalstringsite 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

เขียน2 credits

Install 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.

ParameterTypeDescription
slugRequiredstringWordPress.org plugin slug, e.g. contact-form-7
activateOptionalboolean—
siteOptionalstringsite 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

เขียน2 credits

Switch the active theme (preview shows current vs new; approval required; previous theme recorded for rollback). Needs the Tecrübe Connector plugin.

ParameterTypeDescription
stylesheetRequiredstringtheme directory name from list_wordpress_themes
siteOptionalstringsite 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

เขียน2 credits

Update 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.

ParameterTypeDescription
stylesheetRequiredstring—
siteOptionalstringsite 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

เขียน2 credits

Change 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.

ParameterTypeDescription
nameRequiredblogname | blogdescription | timezone_string | permalink_structure | date_format | time_format | posts_per_page | default_comment_status—
valueRequiredstringnew value, e.g. Europe/Istanbul, /%postname%/ or 10
siteOptionalstringsite 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

เขียนIrreversible2 credits

WP-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.

ParameterTypeDescription
commandRequiredcron-list | db-size | cache-flush | rewrite-flush | cron-run | transient-delete | search-replace—
argsOptionalobjectcron-run: {hook}; transient-delete: {name} or {expired: true}; search-replace: {search, replace}
siteOptionalstringsite 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

เขียน2 credits

Upload 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.

ParameterTypeDescription
urlRequiredstringpublic http(s) URL of the file
titleOptionalstring—
altOptionalstring—
post_idOptionalintegerattach to this post (optional)
siteOptionalstringsite 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

เขียนIrreversible2 credits

Roll 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.

ParameterTypeDescription
change_idOptionalstringid from list_wordpress_change_log (plugin/theme/setting/search-replace changes)
post_idOptionalinteger—
revision_idOptionalintegercontent revision to restore
typeOptionalpost | page—
siteOptionalstringsite 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

เขียน2 credits

Change a WooCommerce product's regular and/or sale price in the store currency. Shows current vs new price, then waits for approval.

ParameterTypeDescription
product_idRequiredinteger—
regular_priceOptionalnumber—
sale_priceOptionalnumber—
siteOptionalstringsite 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

เขียน2 credits

Update 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.

ParameterTypeDescription
product_idOptionalinteger—
variation_idOptionalintegerfor variable products (stock is per variation)
stock_quantityOptionalintegerabsolute quantity; turns stock management on
adjust_byOptionalintegerrelative change, e.g. -3 or +20 (applied to the quantity at approval time)
manage_stockOptionalboolean—
stock_statusOptionalinstock | outofstock | onbackorder—
itemsOptionalarray<object>bulk: several products/variations in one approval
siteOptionalstringsite 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.