Tengence GEO Agent
v0.1.1GEO/SEO content pipeline MCP: plan, write, gate-check, publish, submit, monitor AI visibility.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
workspace_use
Bind the user workspace directory (call this first): all site config, credentials and output files live under it. Ask the user which directory to use if it was not mentioned; `~` is supported and expanded here.
| Parameter | Type | Description |
|---|---|---|
path * | string | absolute directory path chosen by the user (e.g. ~/my-geo-workspace) |
create | boolean | create the directory when missing (default false) |
site_init
Scaffold a site inside the bound workspace: <workspace>/<key>/{config,data/inbox,data/reports,.env} (idempotent, never overwrites existing files)
| Parameter | Type | Description |
|---|---|---|
key * | string | site key (lowercase letters, digits, underscore) |
domain | string | canonical domain, defaults to the key |
lang | string | default language (default zh-CN) |
name | string | display name, defaults to the domain |
site_list
List the sites inside the bound user workspace (site key, domain, app_id, storage driver). Returns a hint instead when no workspace is bound yet.
site_status
Site status: config paths, .env readiness, DB driver and SQLite init state
| Parameter | Type | Description |
|---|---|---|
site | string | site key; auto-selected when the workspace holds exactly one site |
article_list
List articles (articles table), with status/limit filters
| Parameter | Type | Description |
|---|---|---|
limit | number | max rows (default 50) |
site | string | site key; auto-selected when the workspace holds exactly one site |
status | string | draft|queued|published etc. (optional) |
article_ingest
Content ingest (single entry): body md + research brief → articles table (CLI canonical orchestration)
| Parameter | Type | Description |
|---|---|---|
md_path * | string | absolute path to the body Markdown file |
slug * | string | article slug |
lang | string | language (defaults to the site default) |
research_path | string | absolute path to the research brief (required by the publish gate) |
site | string | site key; auto-selected when the workspace holds exactly one site |
article_export
Export an article md + brief from the DB to the site data/inbox (for rewriting)
| Parameter | Type | Description |
|---|---|---|
slug * | string | article slug |
site | string | site key; auto-selected when the workspace holds exactly one site |
check_article
Publish gate: enforces the editorial rules codified in the "article-writing-standards" standard (citation dual-channel, word count by T1–T7 type, banned words, the three GEO blocks — Summary / Key Takeaways / FAQ / Data Sources — and the research-brief hard check). Read that standard via standards_read before authoring, and run article_draft first to scaffold per-spec.
| Parameter | Type | Description |
|---|---|---|
slug * | string | article slug |
site | string | site key; auto-selected when the workspace holds exactly one site |
type | string | T1..T7 (hard word-count check by type when declared) |
publish_draft
Publish a draft (default draft → WP; can --status=publish directly, must pass the gate first)
| Parameter | Type | Description |
|---|---|---|
md_path * | string | absolute path to the body Markdown |
site | string | site key; auto-selected when the workspace holds exactly one site |
status | string | draft|publish (default draft) |
publish_from_db
Publish an article from the DB to WordPress (--force updates an existing article)
| Parameter | Type | Description |
|---|---|---|
article_id * | number | articles.id |
force | boolean | force-update when it already exists |
site | string | site key; auto-selected when the workspace holds exactly one site |
status | string | draft|publish (default draft) |
publish_update_article
Bypass update of an existing article (title/content/status + sync SEO/GEO meta). When meta_title / meta_description / post_title is provided, runs meta-only mode: updates ONLY those fields (meta_title → DB seo.title + WP seo_meta_title; meta_description → DB seo.meta_description + WP seo_meta_description, 165–175 chars hard gate; post_title → DB title + WP post_title itself); body/content/status/excerpt untouched.
| Parameter | Type | Description |
|---|---|---|
md_path | string | absolute path to the body Markdown (required for full update; omit in meta-only mode) |
meta_description | string | new meta_description (165–175 characters). Providing it switches to meta-only mode |
meta_title | string | new SEO title (≤200 characters). Providing it switches to meta-only mode |
post_id | number | target WP post id (either slug or post_id) |
post_title | string | new WordPress post title itself (≤200 characters, also updates DB title column). Providing it switches to meta-only mode |
site | string | site key; auto-selected when the workspace holds exactly one site |
slug | string | target slug |
publish_daily
Run the daily promotion task (promotes due drafts to publish by plan publish_order; default 1/day). Optional date sets the promoted article publish/modified time (YYYY-MM-DDTHH:MM:SS, site timezone).
| Parameter | Type | Description |
|---|---|---|
date | string | publish/modified time for the promoted article, YYYY-MM-DDTHH:MM:SS in the site timezone; omit to leave WordPress untouched |
site | string | site key; auto-selected when the workspace holds exactly one site |
plan_list
Article plan table list (status/batch/category/node filters)
| Parameter | Type | Description |
|---|---|---|
batch | string | batch |
limit | number | max rows (default 100) |
site | string | site key; auto-selected when the workspace holds exactly one site |
status | string | todo|written|queued|published etc. |
plan_import
Import/update the plan table from the site plan directory (idempotent)
| Parameter | Type | Description |
|---|---|---|
file | string | absolute path to a plan file (default: scan the site plan directory) |
site | string | site key; auto-selected when the workspace holds exactly one site |
plan_mark_status
Update a plan row status (todo/written/queued/published/archived)
| Parameter | Type | Description |
|---|---|---|
slug * | string | article slug |
status * | string | target status |
site | string | site key; auto-selected when the workspace holds exactly one site |
image_acquire
Auto image pipeline (search → red-line filter → download → WebP crop → upload to WP media library)
| Parameter | Type | Description |
|---|---|---|
query * | string | image search keyword |
slug * | string | target article slug (for registration) |
count | number | count (default 3) |
dry_run | boolean | preview only, nothing persisted |
site | string | site key; auto-selected when the workspace holds exactly one site |
monitor_run
Run GEO monitoring (one round of site prompts × models; results persisted)
| Parameter | Type | Description |
|---|---|---|
layers | array | subset of layers |
models | array | subset of model keys |
run_id | string | YYYYMMDD (default today) |
site | string | site key; auto-selected when the workspace holds exactly one site |
monitor_report
Read monitoring results (latest round or a given run_id)
| Parameter | Type | Description |
|---|---|---|
run_id | string | YYYYMMDD (default latest) |
site | string | site key; auto-selected when the workspace holds exactly one site |
db_init
Explicitly initialize the database (sqlite idempotent table creation / mysql DDL; --drop rebuilds)
| Parameter | Type | Description |
|---|---|---|
drop | boolean | drop and rebuild (dangerous) |
site | string | site key; auto-selected when the workspace holds exactly one site |
db_status
Database status: driver, path, schema version, table list, missing tables
| Parameter | Type | Description |
|---|---|---|
site | string | site key; auto-selected when the workspace holds exactly one site |
search_gsc_stats
Read Google Search Console Search Analytics data: clicks / impressions / CTR / average position, grouped by query (default), page, date, country or device. This is the ONLY Google source for search performance — and the only source at all for page-level data (Bing dropped its page/traffic endpoints on 2026-08-31). GSC data is finalised 2–3 days late: the default window is the 28 days ending 3 days ago. Requires the GSC service account (secrets/gsc-service-account.json or GOOGLE_SA_JSON).
| Parameter | Type | Description |
|---|---|---|
dimensions | array | group-by dimensions; default ["query"]. Use ["page"] for per-URL clicks/impressions, ["date"] for a daily trend, ["query","page"] for both. |
end_date | string | YYYY-MM-DD (default: 3 days ago) |
row_limit | number | max rows to return (default 100) |
site | string | site key; auto-selected when the workspace holds exactly one site |
start_date | string | YYYY-MM-DD (default: 27 days before end_date) |
search_gsc_inspect
Query one URL's Google indexing status (URL Inspection API, read-only): verdict, coverageState, indexingState, lastCrawlTime, googleCanonical. Use it to check whether a specific article page is indexed. Quota: 2000 calls/day.
| Parameter | Type | Description |
|---|---|---|
url * | string | fully-qualified URL to inspect, e.g. https://www.tengence.com/blog/article/<slug>/ |
site | string | site key; auto-selected when the workspace holds exactly one site |
search_submit_gsc
Submit the sitemap to Google Search Console (soft-fail)
| Parameter | Type | Description |
|---|---|---|
site | string | site key; auto-selected when the workspace holds exactly one site |
sitemap_url | string | sitemap URL (default: auto-derived) |
search_submit_indexnow
Submit URLs to IndexNow (requires INDEXNOW_KEY)
| Parameter | Type | Description |
|---|---|---|
url * | string | URLs to submit (multiple allowed, comma-separated) |
site | string | site key; auto-selected when the workspace holds exactly one site |
search_submit_baidu
Submit URLs to Baidu normal inclusion (requires BAIDU_TOKEN / BAIDU_SITE). Two modes: pass url for an explicit list, or all=true to push the sitemap incrementally — it recursively flattens sitemap_index.xml, skips every URL already logged as submitted in data/baidu-log.jsonl, and pushes at most limit URLs (default 10) so a scheduled run stays inside the daily quota.
| Parameter | Type | Description |
|---|---|---|
all | boolean | sitemap incremental mode: push only URLs not yet logged as submitted |
limit | number | max URLs to push when all=true (default 10) |
site | string | site key; auto-selected when the workspace holds exactly one site |
url | string | URLs to submit (multiple allowed, comma-separated, ≤2000 per call); omit when all=true |
webmaster_bing_status
Read Bing Webmaster console data (verified sites / URL submission quota / query stats / crawl issues). Requires BING_WEBMASTER_API_KEY in the site .env. Note: Bing trimmed its JSON API on 2026-08-31 (GetPages/GetSitemaps/GetTrafficStats/GetUrlSubmissionStatus now 404).
| Parameter | Type | Description |
|---|---|---|
action * | string | what to read from the Bing Webmaster console |
site | string | site key; auto-selected when the workspace holds exactly one site |
webmaster_bing_submit
Write to Bing Webmaster: submit URL(s) (comma-separated = batch, ≤10000 per call). Requires BING_WEBMASTER_API_KEY in the site .env.
| Parameter | Type | Description |
|---|---|---|
url * | string | URL(s) to submit; multiple allowed, comma-separated |
site | string | site key; auto-selected when the workspace holds exactly one site |
diagnose_site
Full GEO/SEO site diagnosis: domain (DNS/TLS cert/WHOIS), transport & server fingerprint (CMS/framework/platform/CDN), robots.txt, sitemap, homepage + representative pages (meta, H1..H6 structure, JSON-LD, OG, images/alt, links, mixed content), performance and security checks. Bootstraps the site on first use (url → site key, dots → underscores).
| Parameter | Type | Description |
|---|---|---|
url * | string | site URL, e.g. https://www.example.com |
max_pages | integer | max representative pages to sample (default 4; the site is sampled, never fully crawled) |
pages | array | extra page URLs to diagnose in addition to the homepage |
site | string | site key; auto-selected when the workspace holds exactly one site |
report_write
Write a Markdown report into the site data/reports/ directory (path-safe: filename is basenamed and confined to the reports dir). Auto-bootstraps the site on first use.
| Parameter | Type | Description |
|---|---|---|
content * | string | Markdown report content |
filename | string | report filename (default <YYYYMMDD>-<site>-diagnosis.md) |
site | string | site key; auto-selected when the workspace holds exactly one site |
util_ping
Connectivity self-check: SDK version, driver, internal data directory, bound workspace and site count
standards_list
List the generic writing & GEO standards shipped with the engine (titles, whether a site-specific supplement exists). Read one with standards_read before authoring an article; see article_draft for a ready-to-use brief.
standards_read
Read a generic standard document (base + any site-specific supplement merged). Names are repository-relative without `.md`, e.g. "article-writing-standards", "content-strategy", "block-conventions", "templates/skeletons/howto", "templates/research-brief". This is the canonical way to pull the requirements an article must satisfy.
| Parameter | Type | Description |
|---|---|---|
name * | string | standard name without .md, e.g. article-writing-standards |
article_draft
Assemble a ready-to-use writing brief for a new article: the matched T1–T7 body skeleton, the pre-writing research-brief template, and the full writing standard (base + supplement). The body you author MUST follow this brief; the check_article gate enforces the same G1–G14 editorial gates before publishing. Call this first, then write the Markdown body, then check_article.
| Parameter | Type | Description |
|---|---|---|
site | string | site key; auto-selected when the workspace holds exactly one site |
topic | string | working topic / target keyword (echoed into the brief for context) |
type | string | T1–T7 body type: definition|howto|product|case|industry|comparison|guide (default guide) |
channel_list
List all external content platforms in the syndicate registry: API type (official|cookie|none), status (ready|pending|manual), capabilities (multi-article merge, per-platform limits, draft/cover/tags) and the full platform rewrite rules (styles). The rewrite rules are the HARNESS rewriting guide — the server never rewrites content: read the original via article_export, apply these rules yourself, then channel_publish to land the draft/export. READY PLATFORMS: wechat (微信公众号, official API), juejin (掘金, cookie — can publish article drafts) and csdn (CSDN, cookie — the creator-…
| Parameter | Type | Description |
|---|---|---|
platform | string | filter to one platform key |
channel_style_get
Return the FULL platform style / rewrite rules for ONE platform (wechat / juejin / blog / …). This is the RULES half of the rewrite surface: the server only serves the rules, the harness/Skill does the actual rewriting. Covers rewrite.strategy (source|title|body|both — what to change), title hooks + forbidden words, body structure + style, internalLinks requirement, cta and the acceptance checklist. ALWAYS call this BEFORE rewriting an article for a platform so the latest rules are used (never hardcode rules in the client). Multi-channel: pick by platform=.
| Parameter | Type | Description |
|---|---|---|
platform * | string | platform key, e.g. wechat / juejin / blog |
channel_check
Validate a title/body against a platform's style rules — the 校验 (validation) half. Deterministic, no content generation. Returns errors (HARD: title length / forbidden words / body length / removeBlocks) and warnings (SOFT: CTA presence / internal links / keepBlocks) plus the platform checklist and rewrite.strategy. Run AFTER rewriting to confirm it passes before channel_publish. Platform-scoped (wechat / juejin / blog / any registry platform).
| Parameter | Type | Description |
|---|---|---|
platform * | string | platform key, e.g. wechat / juejin / blog |
body | string | article body (markdown) to validate |
title | string | article title to validate |
channel_publish
Publish/export to one external platform. Mode A: pass slugs[] and the server reads the DB and runs the platform pipeline (wechat drafts box — preview in mp.weixin.qq.com before mass-sending; juejin draft → publish; csdn draft → publish; devto publish). Mode B: pass pre-written articles[] ({slug,title,contentMd,summary,tags,sourceUrl,cover}) — the harness-rewritten draft — and the server exports a publish package to <site>/data/channel-export/<platform>/<slug>.md with full front matter (manual publishing on every platform; required for api:none platforms). asDraft defaults true (never…
| Parameter | Type | Description |
|---|---|---|
platform * | string | platform key (see channel_list) |
articles | array | Mode B: pre-written (harness-rewritten) articles to export as publish packages |
asDraft | boolean | default true: create draft (wechat/juejin), never mass-send |
dryRun | boolean | print the plan, no external calls |
keepOrder | boolean | wechat only: keep slugs order (1st = headline) |
site | string | site key; auto-selected when the workspace holds exactly one site |
slugs | array | Mode A: article slugs to publish through the platform pipeline |
channel_plan_next
Per-platform publishing calendar: return the next article to publish for a platform plus all calendar rows (status/period/topic/weekday/slugs). Each platform has its OWN rows in the same channel_plan table. wechat keeps a real per-issue calendar (returns the earliest row still todo). juejin / csdn (and other api platforms) treat the table as a PUBLISH LOG — nextDue is DERIVED from the blog article_plan: it returns the next blog-published article (by publish_order) that is NOT yet recorded as published on THAT platform, so each platform's queue follows the blog order and resumes right after t…
| Parameter | Type | Description |
|---|---|---|
platform | string | filter rows to one platform (default: all platforms) |
channel_plan_mark
Update a channel_plan row status (todo | draft | published | paused) and optionally record its draft ids (media ids). Call after channel_publish to persist the created draft (e.g. wechat media_id) and keep the calendar in sync.
| Parameter | Type | Description |
|---|---|---|
id * | number | channel_plan row id (see channel_plan_next rows) |
status * | string | new row status |
draftIds | array | draft/media ids to record (e.g. wechat media_id); omit to keep existing |
juejin_status
Read the Juejin (掘金) backend for this site: the draft box (article_draft/list_by_user) and the published list (article/list_by_user). Read-only. Requires JUEJIN_COOKIE + JUEJIN_UID in the site .env. Use it to verify before publishing (idempotency) and to see what is already on Juejin. page defaults to 0 (50 per page).
| Parameter | Type | Description |
|---|---|---|
page | number | page index (default 0) |
site | string | site key; auto-selected when the workspace holds exactly one site |
juejin_draft_delete
Delete a Juejin draft (article_draft/delete). IRREVERSIBLE — pass confirm=true only after verifying the draft id via juejin_status. Requires JUEJIN_COOKIE + JUEJIN_UID in the site .env.
| Parameter | Type | Description |
|---|---|---|
confirm * | boolean | must be true to actually delete |
draftId * | string | draft id from juejin_status drafts[].id |
site | string | site key; auto-selected when the workspace holds exactly one site |
juejin_article_delete
Delete a published Juejin article (article/delete). IRREVERSIBLE — pass confirm=true only after verifying the article id via juejin_status. Requires JUEJIN_COOKIE + JUEJIN_UID in the site .env.
| Parameter | Type | Description |
|---|---|---|
articleId * | string | article id from juejin_status published[].id |
confirm * | boolean | must be true to actually delete |
site | string | site key; auto-selected when the workspace holds exactly one site |
csdn_status
Read the CSDN blog backend for this site: the draft box and the published list (blog/phoenix/console/v1/article/list with status=draft / all_v2). Read-only. Requires CSDN_COOKIE in the site .env. Use it to verify before publishing (idempotency) and to see what is already on CSDN. page is 1-based (default 1). An expired login is surfaced as cookieExpired=true + code 401 instead of an empty list — renew CSDN_COOKIE then. This is the CSDN counterpart of juejin_status.
| Parameter | Type | Description |
|---|---|---|
page | number | 1-based page index (default 1) |
pageSize | number | page size (default 20) |
site | string | site key; auto-selected when the workspace holds exactly one site |
csdn_article_delete
Delete a CSDN article (blog/phoenix/console/v1/article/del). IRREVERSIBLE — pass confirm=true only after verifying the article id via csdn_status. Requires CSDN_COOKIE in the site .env. NOTE: this removes it from CSDN only; the local channel_plan publish log (the CSDN publishing calendar) is not touched — re-run channel_plan_reconcile(platform=csdn) afterwards if you want the log back in sync.
| Parameter | Type | Description |
|---|---|---|
articleId * | string | article id from csdn_status items[].id |
confirm * | boolean | must be true to actually delete |
deep | boolean | also purge from the recycle bin (default false) |
site | string | site key; auto-selected when the workspace holds exactly one site |
channel_plan_reconcile
Reconcile a platform channel_plan with what is ACTUALLY published on that platform (platform=juejin | csdn). This SEEDS the publish log with already-published articles — we do NOT bulk-import the blog plan (the table only logs real outcomes, so each platform keeps its own calendar). Pass map[] of {slug, title?, blogOrder?} for the explicitly-known published articles (recommended — avoids API rate limits), or omit map to live-read the platform published list and match titles back to blog slugs. Idempotent (upsert by slug). Run this once per platform before the first channel_plan_next so the…
| Parameter | Type | Description |
|---|---|---|
platform * | string | platform key, e.g. juejin or csdn |
map | array | explicit known published articles; omit to live-read the platform |
site | string | site key; auto-selected when the workspace holds exactly one site |
channel_taxonomy_sync
Refresh the cached dictionary of an EXTERNAL platform's own taxonomy (category + tag id/name) into the workspace table channel_taxonomy. Currently juejin: 8 categories + ~725 tags fetched from the platform APIs. The dictionary is PLATFORM-scoped, shared by every site — a site publishing to Juejin needs NO mapping file of its own. It is used to map our article_plan category/tags onto the platform's category_id/tag_ids at publish time. Idempotent (upsert by platform id); publish auto-runs this once when the dictionary is empty, so calling it manually is only needed to refresh after a platform…
| Parameter | Type | Description |
|---|---|---|
platform | string | platform key (default juejin) |
site | string | site key; auto-selected when the workspace holds exactly one site |
channel_taxonomy_list
Read the cached external-platform taxonomy dictionary (channel_taxonomy) — the platform's OWN categories and tags with their ids. Filter by kind (category|tag); look one up exactly with name=, or by prefix with prefix= (prefix lookups use the NOCASE index; infix/contains search is NOT index-accelerated, so do it client-side over this list). Use it to see which platform tags exist before choosing an alias.
| Parameter | Type | Description |
|---|---|---|
kind | string | category | tag (omit for both) |
limit | number | max rows (default 100) |
name | string | exact name lookup (case-insensitive) |
platform | string | platform key (default juejin) |
prefix | string | name prefix lookup, e.g. "搜索" |
site | string | site key; auto-selected when the workspace holds exactly one site |
channel_taxonomy_resolve
Preview how OUR taxonomy maps onto a platform's (article_plan.category/tags → platform category_id/tag_ids) WITHOUT publishing. Returns the chosen ids/names plus a per-item origin showing which fallback layer fired (alias / exact / token:<kw> / fuzzy / default / env / first / hardcoded). Use it to sanity-check a mapping before a real publish; it never makes external calls and never writes.
| Parameter | Type | Description |
|---|---|---|
category | string | our category slug, e.g. geo-ai-search |
keywords | array | extra keywords (article target_keywords) |
platform | string | platform key (default juejin) |
site | string | site key; auto-selected when the workspace holds exactly one site |
tags | array | our tag slugs, e.g. ["geo-seo","search-system"] |
wechat_status
Read the WeChat official-account backend: the draft box (draft/batchget — media_id + titles) and the mass-sent list (freepublish/batchget — article_id + titles). Read-only. Requires WECHAT_APP_ID/SECRET in the site .env and the current outbound IP whitelisted in mp.weixin.qq.com.
| Parameter | Type | Description |
|---|---|---|
site | string | site key; auto-selected when the workspace holds exactly one site |
wechat_stats
Read official-account statistics from the WeChat backend (datacube/*, served WITHOUT the /cgi-bin/ prefix — the /cgi-bin/datacube/* variant is blocked by the egress proxy in this environment). Returns: user growth (user_summary), cumulative users (user_cumulate), upstream/interactive messages (upstream_msg, maxSpan 30d), interface quality (interface_summary, 30d), account biz summary (biz_summary, 30d), daily article reads (article_read, single-day), shares (article_share, single-day) and per-article detail incl. 送达率/读完率/平均阅读时长/跳出 (article_detail, single-day). Rea…
| Parameter | Type | Description |
|---|---|---|
action | string | report to read; default overview = user_summary + user_cumulate + biz_summary + upstream_msg in one 7-day window |
begin_date | string | YYYY-MM-DD; default = 6 days before end_date |
end_date | string | YYYY-MM-DD; default = yesterday (data is T+1, today is never available) |
site | string | site key; auto-selected when the workspace holds exactly one site |
wechat_sync_progress
Reconcile the channel_plan calendar with the real WeChat backend and auto-fix the DB: draft rows whose media_id is missing from the draft box and not found in the publish list are rolled back to todo (draft_ids cleared); draft rows whose titles appear in the publish list are upgraded to published. Published rows are never downgraded. Returns the reconciliation report. dryRun=true previews without writing.
| Parameter | Type | Description |
|---|---|---|
dryRun | boolean | preview only — compute and report, do not write to the DB |
site | string | site key; auto-selected when the workspace holds exactly one site |
wechat_mass_preview
Send a draft (media_id from the draft box) to one user as a preview (message/mass/preview). Requires a verified account; pass openid (touser) or wxname (towxname). Use this to check layout before mass-sending.
| Parameter | Type | Description |
|---|---|---|
media_id * | string | draft box media_id (see wechat_status drafts) |
dryRun | boolean | print the payload, do not send |
openid | string | receiver openid |
site | string | site key; auto-selected when the workspace holds exactly one site |
wxname | string | receiver wxname (user must have interacted with the account) |
wechat_mass_send
Mass-send (PUSH to followers) a draft via message/mass/sendall (all followers or one tag) or message/mass/send (specific openids). Subscription accounts get 1 mass-send per day. After a successful send the draft is consumed (auto-deleted from the draft box). If 风险操作保护 is on, the admin must confirm in mp.weixin.qq.com before it really goes out. Safety: execution requires confirm="YES"; dryRun=true only prints the payload.
| Parameter | Type | Description |
|---|---|---|
media_id * | string | draft box media_id (see wechat_status drafts) |
client_msg_id | string | clientmsgid — de-duplicates repeated sends |
confirm | string | must be "YES" to actually push to followers (not needed for dryRun) |
dryRun | boolean | print the payload, do not send |
site | string | site key; auto-selected when the workspace holds exactly one site |
tag_id | number | send to one user tag only (omit = all followers) |
to_users | array | specific openids (message/mass/send) |
wechat_mass_status
Query a mass-send task status (message/mass/get, msg_id from wechat_mass_send).
| Parameter | Type | Description |
|---|---|---|
msg_id * | number | mass-send task msg_id |
site | string | site key; auto-selected when the workspace holds exactly one site |
wechat_article_delete
Delete a published article (freepublish/delete, article_id from wechat_status published). IRREVERSIBLE — verify the article_id first; index (1-based) deletes one article of a multi-article message, omit to delete the whole message.
| Parameter | Type | Description |
|---|---|---|
article_id * | string | published article_id (see wechat_status published) |
confirm | string | must be "YES" to actually delete (irreversible); not needed for dryRun |
dryRun | boolean | print the payload, do not delete |
index | number | 1-based position within the message; omit to delete the whole message |
site | string | site key; auto-selected when the workspace holds exactly one site |
wechat_draft_publish
Publish a draft box media_id to the account homepage via freepublish/submit (NO push to followers — the draft is consumed and moves to the published list, where it is visible in the account homepage). Use for the "发布" step; mass push (推送粉丝) is a separate tool wechat_mass_send.
| Parameter | Type | Description |
|---|---|---|
media_id * | string | draft box media_id (see wechat_status drafts) |
dryRun | boolean | print the payload, do not publish |
site | string | site key; auto-selected when the workspace holds exactly one site |