快工助手跨境电商知识与商机助手

CLI command reference

TikTok Shop 官方资料 · TikTok Shop Partner Center 开发者文档 · 适合开发者

stable本次发布有变化全部展示

来自 TikTok Shop 官方资料快照 ·

打开官方原文 ↗
  1. 当前资料结构化阅读页
  2. 固定快照已留存,可追溯
  3. 官方原文可核对
查看技术与溯源信息
平台 / profile
TikTok Shop / profile.tiktok.docs_api
语言
en-US
发布版本
cn-20260909-2
标签
zhuge/sourceplatform/tiktok_shopaudience/developercategory/api_doctopic/compliancetopic/developer

资料正文

§1 CLI command reference

The executable is tts_open_toolkit. Use --json where supported when another program or AI agent consumes the result.

#

§2 Command groups

GroupPurpose
version, doctorPrint version, executable, platform, Node version, config layers, cache, and default skill directory.
skillInstall, update, list, and inspect bundled or custom coding-agent skills.
authSign in with Partner Center OAuth, manage profiles, inspect health, and run explicit diagnostics.
devapiList and call the fixed OAuth Toolkit method catalog.
appList developer Apps through the supported Developer Center route.
sandboxList sandbox accounts, inspect the endpoint catalog, and call supported non-delete operations.
openapi proxyStart a local, context-bound proxy for supported OpenAPI requests using the active OAuth profile.
mcpRegister and list MCP servers at user or project scope.
setupInstall managed Codex or Claude Code hooks, with dry-run and backup behavior.
historyRecord and query local prompt and skill-usage history.
updateCheck for or install a CLI package update.
#

§3 Common commands

tts_open_toolkit --help
tts_open_toolkit version
tts_open_toolkit doctor

tts_open_toolkit skill add --agent codex
tts_open_toolkit skill list --agent codex --json
tts_open_toolkit skill state --agent codex --json

tts_open_toolkit auth login
tts_open_toolkit auth status --json
tts_open_toolkit auth list --json

tts_open_toolkit devapi list --json
tts_open_toolkit app list --json
tts_open_toolkit sandbox endpoints --json

tts_open_toolkit update --check
#

§4 Advanced OpenAPI proxy

tts_open_toolkit openapi proxy --app-key <app_key> --shop-cipher <shop_cipher> --json

The proxy binds to localhost, injects the selected App and Shop context, uses the active protected OAuth profile, and validates a short-lived local request signature. Use it only with an explicit App/Shop selection and a supported API workflow.

#

§5 Exit and output behavior

  • A non-zero exit indicates validation, authentication, transport, or business failure.
  • Preserve sanitized error text and request or log IDs for troubleshooting.
  • Never log OAuth callbacks, authorization codes, access tokens, refresh tokens, App Secrets, or protected-store contents.

#

§6 Was this page helpful?

Was this page helpful?

Tell us what worked, what was unclear, or what should be added. TTS Open Toolkit Feedback Form

#