bridgistic

v1.5.2
io.github.Wordpressistic/bridgistic Checked 11 hours ago Published 1 month ago

Connect Claude to WordPress safely: signed requests, scoped keys, approvals, logs, snapshots.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

bridgistic_list_sites List connected WordPress sites

List the WordPress sites this bridge can operate on, by alias. Use the returned alias as the `site` parameter in other tools. Returns no secrets.

bridgistic_get_site_info Get WordPress site info

Discover a site's stack before acting: WP/PHP versions, active theme, installed plugins (active flag), and detected frameworks (WooCommerce, Elementor, ACF). Read-only; requires the key's `site:read` scope. Always call this first on an unfamiliar site.

ParameterTypeDescription
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_execute_php Execute PHP in WordPress context

Run PHP inside the full WordPress runtime ($wpdb, all functions, loaded plugins). Highest-privilege tool; requires the key's `php:execute` scope. Use `return` to surface a value; echoed output is captured separately. Args: - code (string): PHP to run. A leading "<?php" is optional. - site (string, optional): target alias. Returns: { output, return, errors[], exception, elapsed_ms }. Use when: a task has no dedicated structured tool yet. Prefer the structured tools (posts/options/etc.) when they exist, and snapshot before risky writes.

ParameterTypeDescription
code *stringPHP source. Example: return get_option("blogname");
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_db_query Run a SQL query

Execute SQL against the site database. The bridge classifies the statement: SELECT/SHOW/EXPLAIN/DESCRIBE/WITH need `db:read`; anything else needs `db:write`. Writes are routed through the Guard: dry_run previews impact in a rolled-back transaction, destructive writes auto-snapshot the affected table(s), and approval applies if the key requires it. Args: - sql (string): a single SQL statement using the site's real table prefix. - site (string, optional): target alias. - dry_run / approval_id / force: guard controls (writes only).

ParameterTypeDescription
sql *stringSingle SQL statement.
approval_idstringApproval id returned by a previous call that needed approval. Re-pass the SAME args plus this id once an admin approves.
dry_runbooleanIf true, return what WOULD change without modifying anything. Nothing is persisted, snapshotted, or queued.
forcebooleanProceed even if a pre-op snapshot could not be taken. Irreversible — use sparingly.
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_list_posts List posts / pages / CPTs

List content with pagination. Scope: `posts:read`. Args: post_type (default 'post'), status (default 'any'), search, per_page (≤100), page. Returns id/title/type/status/slug/link + total + has_more.

ParameterTypeDescription
pageinteger
per_pageinteger
post_typestring
searchstring
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.
statusstring

bridgistic_get_post Get a single post

Fetch one post/page/CPT by id with full content + meta. Scope: `posts:read`.

ParameterTypeDescription
id *integer
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_create_post Create a post

Create a post/page/CPT. Scope: `posts:write`. Args: title, content, excerpt, status (draft|publish|...), slug, type, author, parent, meta (object). Supports dry_run and approval flow.

ParameterTypeDescription
approval_idstringApproval id returned by a previous call that needed approval. Re-pass the SAME args plus this id once an admin approves.
authorinteger
contentstring
dry_runbooleanIf true, return what WOULD change without modifying anything. Nothing is persisted, snapshotted, or queued.
excerptstring
forcebooleanProceed even if a pre-op snapshot could not be taken. Irreversible — use sparingly.
metaobject
parentinteger
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.
slugstring
statusstring
titlestring
typestring

bridgistic_update_post Update a post

Update an existing post by id. Scope: `posts:write`. Auto-snapshots the post first (rollback via snapshot_id). Same fields as create. Supports dry_run + approval.

ParameterTypeDescription
id *integer
approval_idstringApproval id returned by a previous call that needed approval. Re-pass the SAME args plus this id once an admin approves.
contentstring
dry_runbooleanIf true, return what WOULD change without modifying anything. Nothing is persisted, snapshotted, or queued.
excerptstring
forcebooleanProceed even if a pre-op snapshot could not be taken. Irreversible — use sparingly.
metaobject
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.
slugstring
statusstring
titlestring

bridgistic_delete_post Delete a post

Trash (default) or permanently delete a post. Scope: `posts:write`. Auto-snapshots first. Set permanent=true to skip trash. Supports dry_run + approval.

ParameterTypeDescription
id *integer
approval_idstringApproval id returned by a previous call that needed approval. Re-pass the SAME args plus this id once an admin approves.
dry_runbooleanIf true, return what WOULD change without modifying anything. Nothing is persisted, snapshotted, or queued.
forcebooleanProceed even if a pre-op snapshot could not be taken. Irreversible — use sparingly.
permanentboolean
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_list_media List media

List attachments (id/title/mime/url). Scope: `posts:read`. Args: per_page, page.

ParameterTypeDescription
pageinteger
per_pageinteger
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_upload_media Upload media

Upload to the media library from a URL or base64. Scope: `media:write`. Provide either url, or filename + content_base64. Supports dry_run + approval.

ParameterTypeDescription
approval_idstringApproval id returned by a previous call that needed approval. Re-pass the SAME args plus this id once an admin approves.
content_base64string
dry_runbooleanIf true, return what WOULD change without modifying anything. Nothing is persisted, snapshotted, or queued.
filenamestring
forcebooleanProceed even if a pre-op snapshot could not be taken. Irreversible — use sparingly.
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.
urlstring

bridgistic_delete_media Delete media

Permanently delete an attachment by id. Scope: `media:write`. Auto-snapshots first.

ParameterTypeDescription
id *integer
approval_idstringApproval id returned by a previous call that needed approval. Re-pass the SAME args plus this id once an admin approves.
dry_runbooleanIf true, return what WOULD change without modifying anything. Nothing is persisted, snapshotted, or queued.
forcebooleanProceed even if a pre-op snapshot could not be taken. Irreversible — use sparingly.
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_list_users List users

List users (id/login/email/display_name/roles). Scope: `users:read`. Never returns passwords. Args: search, per_page, page.

ParameterTypeDescription
pageinteger
per_pageinteger
searchstring
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_create_user Create a user

Create a user. Scope: `users:write`. Args: login, email (both required), role (default subscriber), display_name, password (auto-generated if omitted). Supports dry_run + approval.

ParameterTypeDescription
email *string
login *string
approval_idstringApproval id returned by a previous call that needed approval. Re-pass the SAME args plus this id once an admin approves.
display_namestring
dry_runbooleanIf true, return what WOULD change without modifying anything. Nothing is persisted, snapshotted, or queued.
forcebooleanProceed even if a pre-op snapshot could not be taken. Irreversible — use sparingly.
passwordstring
rolestring
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_update_user Update a user

Update a user by id (email, display_name, role). Scope: `users:write`. Auto-snapshots the user first. Supports dry_run + approval.

ParameterTypeDescription
id *integer
approval_idstringApproval id returned by a previous call that needed approval. Re-pass the SAME args plus this id once an admin approves.
display_namestring
dry_runbooleanIf true, return what WOULD change without modifying anything. Nothing is persisted, snapshotted, or queued.
emailstring
forcebooleanProceed even if a pre-op snapshot could not be taken. Irreversible — use sparingly.
rolestring
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_get_option Get an option

Read a wp_options value BY NAME. Scope: `options:read`. The name must be in the site's allowlist (WP Admin → Bridgistic → Settings) — secrets are unreadable by design.

ParameterTypeDescription
name *string
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_update_option Update an option

Write a wp_options value. Scope: `options:write`. Name must be allowlisted. Auto-snapshots the old value. Supports dry_run + approval.

ParameterTypeDescription
name *string
approval_idstringApproval id returned by a previous call that needed approval. Re-pass the SAME args plus this id once an admin approves.
dry_runbooleanIf true, return what WOULD change without modifying anything. Nothing is persisted, snapshotted, or queued.
forcebooleanProceed even if a pre-op snapshot could not be taken. Irreversible — use sparingly.
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.
value

bridgistic_list_plugins List plugins

List installed plugins with active flag + version. Scope: `plugins:manage`.

ParameterTypeDescription
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_toggle_plugin Activate / deactivate a plugin

Activate or deactivate a plugin. Scope: `plugins:manage`. High-risk: ALWAYS routes through approval and snapshots active_plugins first. Args: plugin (file, e.g. 'woocommerce/woocommerce.php'), state ('activate'|'deactivate').

ParameterTypeDescription
plugin *string
state *string
approval_idstringApproval id returned by a previous call that needed approval. Re-pass the SAME args plus this id once an admin approves.
dry_runbooleanIf true, return what WOULD change without modifying anything. Nothing is persisted, snapshotted, or queued.
forcebooleanProceed even if a pre-op snapshot could not be taken. Irreversible — use sparingly.
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_fs_list List a directory

List files/dirs under a path (confined to ABSPATH). Scope: `fs:read`.

ParameterTypeDescription
path *string
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_fs_read Read a file

Read a file's contents (≤5MB, inside ABSPATH). Scope: `fs:read`.

ParameterTypeDescription
path *string
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_fs_write Write a file

Write a file inside ABSPATH. Scope: `fs:write`. PHP files may ONLY be written inside the uploads/bridgistic-sandbox dir. Overwrites auto-snapshot the old file. Supports dry_run + approval.

ParameterTypeDescription
content *string
path *string
approval_idstringApproval id returned by a previous call that needed approval. Re-pass the SAME args plus this id once an admin approves.
dry_runbooleanIf true, return what WOULD change without modifying anything. Nothing is persisted, snapshotted, or queued.
forcebooleanProceed even if a pre-op snapshot could not be taken. Irreversible — use sparingly.
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_fs_delete Delete a file

Delete a file inside ABSPATH. Scope: `fs:write`. High-risk: always routes through approval and snapshots the file first. Supports dry_run.

ParameterTypeDescription
path *string
approval_idstringApproval id returned by a previous call that needed approval. Re-pass the SAME args plus this id once an admin approves.
dry_runbooleanIf true, return what WOULD change without modifying anything. Nothing is persisted, snapshotted, or queued.
forcebooleanProceed even if a pre-op snapshot could not be taken. Irreversible — use sparingly.
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_snapshot_create Create a snapshot

Manually capture reversible state before a risky change. Scope: `snapshot:manage`. Types + target: - post { id } - user { id } - option { name } - tables { tables: ["wp_options", ...] } (≤50k rows each) - file { path } Returns a snapshot_id for bridgistic_snapshot_restore.

ParameterTypeDescription
target *object
type *string
labelstring
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_snapshot_restore Restore a snapshot

Roll back to a snapshot by id (undo a write/delete). Scope: `snapshot:manage`. Use the snapshot_id returned by a write tool or by bridgistic_snapshot_create / bridgistic_snapshot_list.

ParameterTypeDescription
snapshot_id *string
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_snapshot_list List snapshots

List recent snapshots (auto + manual) with id/type/label/size/created/restored. Scope: `snapshot:manage`.

ParameterTypeDescription
limitinteger
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_snapshot_delete Delete a snapshot

Delete a stored snapshot by id (frees space; cannot be restored after). Scope: `snapshot:manage`.

ParameterTypeDescription
snapshot_id *string
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_approval_status Check approval status

Check whether a queued operation has been approved. Returns status: pending | approved | rejected | executed. When approved, retry the ORIGINAL tool call with the same args plus approval_id to execute it.

ParameterTypeDescription
approval_id *string
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_usage Check this key's usage & limits

Return the calling key's tier, rate limit (req/min), monthly quota, and current usage (this minute / today / this month + top actions). Call before large batch operations to avoid hitting the quota mid-run.

ParameterTypeDescription
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_memory_set Save a site memory note

Persist a fact about this site for future sessions (conventions, IDs, client preferences, quirks). Scope: `memory:write`. Args: key (required), value (any JSON), category (default 'general'). Overwrites the same category+key.

ParameterTypeDescription
key *string
categorystring
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.
value

bridgistic_memory_get Get a site memory note

Read one memory note by key (+optional category). Scope: `memory:read`.

ParameterTypeDescription
key *string
categorystring
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_memory_list List site memory

List stored memory notes, optionally filtered by category. Scope: `memory:read`. Call at the start of a session to recall what's known about a site.

ParameterTypeDescription
categorystring
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_memory_delete Delete a site memory note

Remove a memory note by key (+optional category). Scope: `memory:write`.

ParameterTypeDescription
key *string
categorystring
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_playbook_save Save a reusable playbook

Store an ordered, parameterised sequence of bridge operations for replay. Scope: `playbook:manage`. Each step = { method, route, params, save_as }. Use templates in params: - {{vars.NAME}} → a run-time input - {{steps.REF.data.result.id}} → a value from an earlier step's result envelope Example steps (create a landing page then set it as the front page): [ { "method":"POST","route":"posts","params":{"type":"page","title":"{{vars.title}}","status":"publish"},"save_as":"page" }, { "method":"POST","route":"options","params":{"name":"page_on_front","value":"{{steps.p…

ParameterTypeDescription
slug *string
steps *array
descriptionstring
namestring
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_playbook_list List playbooks

List saved playbooks (slug/name/description). Scope: `playbook:manage`.

ParameterTypeDescription
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_playbook_get Get a playbook

Fetch one playbook incl. its steps. Scope: `playbook:manage`.

ParameterTypeDescription
slug *string
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_playbook_run Run a playbook

Execute a saved playbook. Scope: `playbook:manage`; each step also enforces its own scope + the Guard. Args: - slug, vars (object of run inputs) - dry_run (preview every step), force (skip snapshot aborts) - approvals: { "<step ref>": "<approval_id>" } to resume a step that paused for approval. If a step needs approval the run pauses and returns { status: "paused_for_approval", paused_at, approval_id }; approve in WP Admin, then re-run with approvals mapped to that ref.

ParameterTypeDescription
slug *string
approvalsobject
dry_runboolean
forceboolean
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.
varsobject

bridgistic_playbook_delete Delete a playbook

Delete a playbook by slug. Scope: `playbook:manage`.

ParameterTypeDescription
slug *string
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_schedule_create Schedule a playbook

Run a saved playbook unattended on a recurrence (WP-Cron). Scope: `schedule:manage`. The schedule runs under THIS key's current scopes, so the key must hold the scopes every step needs. Args: - playbook (slug), recurrence (once|bridgistic_5min|bridgistic_15min|bridgistic_30min|hourly|twicedaily|daily|weekly) - vars (object passed to the run), start_at (unix seconds, optional first-run time) - dry_run (run in preview mode every time — good for testing a schedule), force. Note: unattended runs never auto-approve. If a step needs approval the run records "paused_for_approval" and stops…

ParameterTypeDescription
playbook *string
recurrence *string
dry_runboolean
forceboolean
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.
start_atinteger
varsobject

bridgistic_schedule_list List schedules

List scheduled playbooks with recurrence, next/last run, and last status. Scope: `schedule:manage`.

ParameterTypeDescription
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_schedule_toggle Enable / disable a schedule

Pause or resume a schedule without deleting it. Scope: `schedule:manage`.

ParameterTypeDescription
enabled *boolean
schedule_id *string
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_schedule_delete Delete a schedule

Remove a schedule and unregister its cron event. Scope: `schedule:manage`.

ParameterTypeDescription
schedule_id *string
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_schedule_run_now Run a schedule now

Trigger a scheduled playbook immediately (does not change its recurrence). Scope: `schedule:manage`. Useful to test a schedule end-to-end.

ParameterTypeDescription
schedule_id *string
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_woo_list_products List WooCommerce products

List store products with pagination. Scope: `woo:products:read`. Args: search, status (draft|publish|...), stock_status (instock|outofstock|onbackorder), category (slug), per_page (≤100), page. Returns id/name/sku/type/status/price/stock per product plus total and has_more. Use this instead of SQL or PHP for any product question — it works the same whether or not the store uses High-Performance Order Storage.

ParameterTypeDescription
categorystringProduct category slug.
pageinteger
per_pageinteger
searchstring
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.
statusstring
stock_statusstring

bridgistic_woo_get_product Get one WooCommerce product

Fetch a single product by id, including description, categories, tags, attributes, and every variation's own price and stock. Scope: `woo:products:read`. For a variable product, the variation list is usually the real answer to "is this in stock?".

ParameterTypeDescription
id *integer
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_woo_create_product Create a WooCommerce product

Create a simple product. Scope: `woo:products:write`. `name` is required; prices must be non-negative numbers. Supports dry_run to preview the fields that would be set, and the approval queue when the key requires it. Publishes only if you pass status='publish' — the store's own default applies otherwise.

ParameterTypeDescription
name *stringProduct name. Required.
approval_idstringApproval id returned by a previous call that needed approval. Re-pass the SAME args plus this id once an admin approves.
descriptionstring
dry_runbooleanIf true, return what WOULD change without modifying anything. Nothing is persisted, snapshotted, or queued.
forcebooleanProceed even if a pre-op snapshot could not be taken. Irreversible — use sparingly.
manage_stockboolean
regular_pricestringDecimal string, e.g. "19.99".
sale_pricestring
short_descriptionstring
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.
skustring
statusstring
stock_quantityinteger
stock_statusstring

bridgistic_woo_update_product Update a WooCommerce product

Update an existing product. Scope: `woo:products:write`. Only the fields you pass are changed. Overwrites prior values, so the bridge snapshots the product first and dry_run returns an explicit before/after for exactly the fields supplied.

ParameterTypeDescription
id *integer
approval_idstringApproval id returned by a previous call that needed approval. Re-pass the SAME args plus this id once an admin approves.
descriptionstring
dry_runbooleanIf true, return what WOULD change without modifying anything. Nothing is persisted, snapshotted, or queued.
forcebooleanProceed even if a pre-op snapshot could not be taken. Irreversible — use sparingly.
manage_stockboolean
namestring
regular_pricestring
sale_pricestring
short_descriptionstring
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.
skustring
statusstring
stock_quantityinteger
stock_statusstring

bridgistic_woo_list_orders List WooCommerce orders

List orders newest-first. Scope: `woo:orders:read`. Args: status (comma-separated, e.g. 'processing,completed'), customer_id, after (Y-m-d or ISO 8601), per_page (≤100), page. Returns id/number/status/total/currency/created/customer plus billing name, email, and country. Full addresses and payment details are never returned.

ParameterTypeDescription
afterstringOnly orders created on or after this date.
customer_idinteger
pageinteger
per_pageinteger
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.
statusstringComma-separated statuses, e.g. "processing,completed".

bridgistic_woo_get_order Get one WooCommerce order

Fetch a single order by id with its line items, shipping and tax totals, customer note, and payment method name. Scope: `woo:orders:read`. Payment tokens, transaction ids, and card data are never included.

ParameterTypeDescription
id *integer
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_woo_update_order_status Change a WooCommerce order's status

Move an order to a different status. Scope: `woo:orders:write`. The status is validated against the statuses this store actually defines, so plugin-added ones work and typos are refused with the valid list. SIDE EFFECTS: a status change fires WooCommerce hooks — customer emails, stock adjustments, and payment-gateway actions. Setting the status back afterwards does not un-send an email or un-restock an item, which is why this is marked destructive, snapshots first, and honours the approval queue. Use dry_run to see the transition before committing.

ParameterTypeDescription
id *integer
status *stringTarget status, e.g. "processing", "completed", "refunded". The "wc-" prefix is optional.
approval_idstringApproval id returned by a previous call that needed approval. Re-pass the SAME args plus this id once an admin approves.
dry_runbooleanIf true, return what WOULD change without modifying anything. Nothing is persisted, snapshotted, or queued.
forcebooleanProceed even if a pre-op snapshot could not be taken. Irreversible — use sparingly.
notestringOrder note recorded alongside the change.
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_woo_list_customers List WooCommerce customers

List users with the customer role, newest-first, with their order count and lifetime spend. Scope: `woo:customers:read`. Args: search (name/email/login), per_page (≤100), page. Password hashes, session tokens, and payment methods are never returned.

ParameterTypeDescription
pageinteger
per_pageinteger
searchstring
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_woo_get_customer Get one WooCommerce customer

Fetch a single customer by user id with order count, lifetime spend, billing/shipping country and city, and last order date. Scope: `woo:customers:read`. Street addresses, phone numbers, password hashes, and payment methods are not exposed.

ParameterTypeDescription
id *integer
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_woo_inventory_status WooCommerce inventory status

Out-of-stock and low-stock products in one call, with counts. Scope: `woo:analytics:read`. `low_stock_threshold` defaults to the store's own low-stock setting. Only stock-managed products can be low, so unmanaged products are counted separately rather than reported as zero.

ParameterTypeDescription
limitinteger
low_stock_thresholdinteger
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.

bridgistic_woo_sales_summary WooCommerce sales summary

Revenue, order count, average order value, orders by status, and top products for the last N days (default 30, max 365). Scope: `woo:analytics:read`. Counts only processing, completed, and on-hold orders — pending, cancelled, and failed orders are excluded so the revenue figure reconciles with what the store actually took. The counted statuses are echoed back in the response.

ParameterTypeDescription
daysinteger
sitestringSite alias to target (e.g. "guns2ammo"). Omit when only one site is configured.