作用范围
每个工具的作用范围要么是 Profile(配置文件级),要么是 Account(账户级):- Profile —— 工具接受
profileKey参数,以某个子配置文件为目标。 - Account —— 工具 不接受
profileKey,它在账户层面执行操作。
profileKey 参数的 7 个工具为:create_profile、list_profiles、get_connection_info、explain_error、validate_media、generate_post 和 recommend_hashtags。其他所有工具都接受 profileKey;其中 generate_jwt_social_linking_url 必须 提供 profileKey。注意:recommend_hashtags 虽然不接受 profileKey 参数,但它仍会读取连接的 Profile-Key 请求头来决定使用哪个已关联的 TikTok 账户,因此其结果与具体配置文件相关。
所有接受 profileKey 的工具(generate_jwt_social_linking_url 除外)也接受 profileRefId:即 list_profiles 返回的该配置文件的 refId。当你没有某个配置文件的 Profile Key 时,可以用它来操作该配置文件。
当本次调用的 profileKey 参数与 Profile-Key 请求头同时存在时,参数优先生效。优先级规则详见 Connect & Setup。
帖子(Posts)
历史(History)
分析(Analytics)
评论(Comments)
消息 / 私信(Messages / DMs)
配置文件(Profiles)
媒体(Media)
生成(Generate)
Webhook
广告(Ads)
广告工具需要 Launch、Business 或 Enterprise 套餐。如没有这些套餐,这些工具会返回Error 403: The Business Plan is required to access this endpoint. Find out more about the business plan. https://www.ayrshare.com/business-plan-for-multiple-users/ (code 167) This needs a Launch, Business or Enterprise plan.。每个工具都接受一个 platform 参数:facebook 或 instagram。
错误(Errors)
本目录与线上服务器的
tools/list 保持一致。后续还会规划更多工具(例如 Links 相关工具)。如有疑问,请以 tools/list 的返回结果为准。本目录由 MCP 服务器团队维护。