Tecrübetecrube.com
Référence des outils — Données & site

WordPress tools

Post and page editing, media, comment moderation, plugin/theme operations, WooCommerce product and order tools, rollback.

Les noms et descriptions des outils sont générés directement depuis le code du serveur ; les descriptions sont le texte anglais d'origine vu par l'assistant.

Outils de lecture11 outils

wordpress_site_info

Lecture1 crédits

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.

ParamètreTypeDescription
siteFacultatifstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

wordpress_site_style

Lecture1 crédits

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.

ParamètreTypeDescription
postsFacultatifinteger (3–30)—
siteFacultatifstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

list_wordpress_posts

Lecture1 crédits

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

ParamètreTypeDescription
searchFacultatifstring—
statusFacultatifpublish | draft | pending | private | future | any—
typeFacultatifpost | page—
limitFacultatifinteger (1–100)—
siteFacultatifstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

search_wordpress_content

Lecture1 crédits

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

ParamètreTypeDescription
queryObligatoirestring—
limitFacultatifinteger (1–50)—
siteFacultatifstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

list_wordpress_comments

Lecture1 crédits

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

ParamètreTypeDescription
statusFacultatifhold | approve | spam | trash | all—
limitFacultatifinteger (1–100)—
siteFacultatifstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

list_wordpress_plugins

Lecture1 crédits

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.

ParamètreTypeDescription
check_updatesFacultatifboolean—
siteFacultatifstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

list_wordpress_themes

Lecture1 crédits

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

ParamètreTypeDescription
siteFacultatifstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

list_wordpress_change_log

Lecture1 crédits

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.

ParamètreTypeDescription
limitFacultatifinteger (1–200)—
siteFacultatifstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

list_woocommerce_products

Lecture1 crédits

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

ParamètreTypeDescription
low_stockFacultatifboolean—
thresholdFacultatifinteger (1–…)low-stock threshold, default 5
searchFacultatifstring—
limitFacultatifinteger (1–100)—
siteFacultatifstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

woocommerce_orders_summary

Lecture1 crédits

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

ParamètreTypeDescription
daysFacultatifinteger (1–365)—
siteFacultatifstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

wordpress_backup_note

Lecture1 crédits

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

ParamètreTypeDescription
post_idObligatoireinteger—
typeFacultatifpost | page—
siteFacultatifstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

Outils d'écriture15 outils

create_wordpress_post

Écriture2 crédits

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.

ParamètreTypeDescription
titleObligatoirestring—
briefFacultatifstringwhat the post is about; used when content is not given
contentFacultatifstringHTML body; if omitted a draft is generated from the brand profile and the site's voice
excerptFacultatifstring—
wordsFacultatifinteger (150–2000)—
statusFacultatifdraft | pending—
categoriesFacultatifarray<integer>—
tagsFacultatifarray<integer>—
siteFacultatifstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

Outil d'écriture : l'appel produit d'abord un aperçu ; la modification n'atteint la plateforme qu'après votre validation.

update_wordpress_post

Écriture2 crédits

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.

ParamètreTypeDescription
post_idObligatoireinteger—
typeFacultatifpost | page—
titleFacultatifstring—
contentFacultatifstring—
excerptFacultatifstring—
slugFacultatifstring—
statusFacultatifdraft | pending | publish | private—
siteFacultatifstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

Outil d'écriture : l'appel produit d'abord un aperçu ; la modification n'atteint la plateforme qu'après votre validation.

update_wordpress_page

Écriture2 crédits

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.

ParamètreTypeDescription
page_idObligatoireinteger—
typeFacultatifpage | post—
replacementsFacultatifarray<object>—
link_fixesFacultatifarray<object>broken link URL -> working URL
siteFacultatifstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

Outil d'écriture : l'appel produit d'abord un aperçu ; la modification n'atteint la plateforme qu'après votre validation.

add_wordpress_faq_section

Écriture2 crédits

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

ParamètreTypeDescription
post_idObligatoireinteger—
typeFacultatifpost | page—
headingFacultatifstring—
faqObligatoirearray<object>—
siteFacultatifstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

Outil d'écriture : l'appel produit d'abord un aperçu ; la modification n'atteint la plateforme qu'après votre validation.

moderate_wordpress_comments

Écriture2 crédits

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

ParamètreTypeDescription
approveFacultatifarray<integer>—
spamFacultatifarray<integer>—
siteFacultatifstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

Outil d'écriture : l'appel produit d'abord un aperçu ; la modification n'atteint la plateforme qu'après votre validation.

update_wordpress_plugin

Écriture2 crédits

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.

ParamètreTypeDescription
pluginObligatoirestringplugin file from list_wordpress_plugins, e.g. akismet/akismet
actionObligatoireactivate | deactivate | upgrade—
siteFacultatifstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

Outil d'écriture : l'appel produit d'abord un aperçu ; la modification n'atteint la plateforme qu'après votre validation.

install_wordpress_plugin

Écriture2 crédits

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.

ParamètreTypeDescription
slugObligatoirestringWordPress.org plugin slug, e.g. contact-form-7
activateFacultatifboolean—
siteFacultatifstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

Outil d'écriture : l'appel produit d'abord un aperçu ; la modification n'atteint la plateforme qu'après votre validation.

activate_wordpress_theme

Écriture2 crédits

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

ParamètreTypeDescription
stylesheetObligatoirestringtheme directory name from list_wordpress_themes
siteFacultatifstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

Outil d'écriture : l'appel produit d'abord un aperçu ; la modification n'atteint la plateforme qu'après votre validation.

update_wordpress_theme

Écriture2 crédits

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.

ParamètreTypeDescription
stylesheetObligatoirestring—
siteFacultatifstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

Outil d'écriture : l'appel produit d'abord un aperçu ; la modification n'atteint la plateforme qu'après votre validation.

update_wordpress_setting

Écriture2 crédits

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.

ParamètreTypeDescription
nameObligatoireblogname | blogdescription | timezone_string | permalink_structure | date_format | time_format | posts_per_page | default_comment_status—
valueObligatoirestringnew value, e.g. Europe/Istanbul, /%postname%/ or 10
siteFacultatifstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

Outil d'écriture : l'appel produit d'abord un aperçu ; la modification n'atteint la plateforme qu'après votre validation.

run_wordpress_command

ÉcritureIrréversible2 crédits

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.

ParamètreTypeDescription
commandObligatoirecron-list | db-size | cache-flush | rewrite-flush | cron-run | transient-delete | search-replace—
argsFacultatifobjectcron-run: {hook}; transient-delete: {name} or {expired: true}; search-replace: {search, replace}
siteFacultatifstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

Outil d'écriture : l'appel produit d'abord un aperçu ; la modification n'atteint la plateforme qu'après votre validation.

upload_wordpress_media

Écriture2 crédits

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.

ParamètreTypeDescription
urlObligatoirestringpublic http(s) URL of the file
titleFacultatifstring—
altFacultatifstring—
post_idFacultatifintegerattach to this post (optional)
siteFacultatifstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

Outil d'écriture : l'appel produit d'abord un aperçu ; la modification n'atteint la plateforme qu'après votre validation.

rollback_wordpress_change

ÉcritureIrréversible2 crédits

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.

ParamètreTypeDescription
change_idFacultatifstringid from list_wordpress_change_log (plugin/theme/setting/search-replace changes)
post_idFacultatifinteger—
revision_idFacultatifintegercontent revision to restore
typeFacultatifpost | page—
siteFacultatifstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

Outil d'écriture : l'appel produit d'abord un aperçu ; la modification n'atteint la plateforme qu'après votre validation.

update_woocommerce_product_price

Écriture2 crédits

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

ParamètreTypeDescription
product_idObligatoireinteger—
regular_priceFacultatifnumber—
sale_priceFacultatifnumber—
siteFacultatifstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

Outil d'écriture : l'appel produit d'abord un aperçu ; la modification n'atteint la plateforme qu'après votre validation.

update_woocommerce_stock

Écriture2 crédits

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.

ParamètreTypeDescription
product_idFacultatifinteger—
variation_idFacultatifintegerfor variable products (stock is per variation)
stock_quantityFacultatifintegerabsolute quantity; turns stock management on
adjust_byFacultatifintegerrelative change, e.g. -3 or +20 (applied to the quantity at approval time)
manage_stockFacultatifboolean—
stock_statusFacultatifinstock | outofstock | onbackorder—
itemsFacultatifarray<object>bulk: several products/variations in one approval
siteFacultatifstringsite URL when more than one WordPress site is connected (see wordpress_site_info.sites); default: the most recently connected site

Outil d'écriture : l'appel produit d'abord un aperçu ; la modification n'atteint la plateforme qu'après votre validation.