跳转到主要内容
跳到正文

MCP 服务器

get_action_items

Repliq 行动中心的优先待办列表:待回复、发布失败、未回复的低分评价、已断开的 Google 资料、配额和邀请。

7 分钟阅读更新于

功能说明

Repliq 行动中心的优先待办列表:待回复、发布失败、未回复的低分评价、已断开的 Google 资料、配额和邀请。

  • 通过 limit(1–50)和 offset 分页;nextOffset 与 hasMore 表示是否还有更多。
  • counts 按优先级统计:high、medium、low。

权限与限制

属性值
权限repliq:read
类型读取
每小时预算无
套餐配额无
行为提示只读 · 仅限 Repliq 内部

参数

workspace_id可选 · string (uuid)
A workspace id from list_locations; optional when the account has one workspace.
location_id可选 · string (uuid)
Only this location.
limit可选 · integer 1–50
Items per page, 1–50 (default 20).
offset可选 · integer 0–10000
—

示例

一次完整调用,分别给出原始 JSON-RPC 请求和官方 MCP SDK 的写法。把 REPLIQ_TOKEN 换成访问令牌或个人令牌(参见认证),并把 id 换成你自己通过 list_locations 得到的值。

curl -sS https://repliqds.com/api/mcp \
  -H "Authorization: Bearer $REPLIQ_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_action_items","arguments":{"location_id":"3f1c2a9e-5b7d-4c1e-9a3b-2d6f8e0a1b4c","limit":20}}}'

本示例的参数已在 Repliq 自己的测试中按该工具的输入模式校验通过。

响应

调用成功时会返回两份相同的 JSON:一份在 structuredContent 中,另一份序列化在文本块中。其顶层字段为:

  • workspaceId
  • businessId
  • plan
  • generatedAt
  • items
  • total
  • offset
  • nextOffset
  • hasMore
  • counts

错误

调用失败时返回 isError: true,文本为 JSON:{ "error": 错误码, "message": … }。除了不符合输入模式的参数(会在工具运行前被拒绝)外,该工具可能返回:

错误码含义处理方法
LOCATION_NOT_FOUND该连接看不到具有此 id 的地点。调用 list_locations,使用其返回的 id。
LOCATION_WITHOUT_WORKSPACE该地点尚未加入任何工作区。在 Repliq 应用中打开一次该地点后重试。
WORKSPACE_REQUIRED账户有多个工作区,工具需要知道使用哪一个。传入 workspace_id(错误信息会列出可用 id,list_locations 也会返回)。
NO_WORKSPACE账户中还没有包含地点的工作区。请先在 Repliq 应用中连接一个地点。
TEMPORARILY_UNAVAILABLERepliq 暂时无法完成请求,或无法检查每小时预算(此时会安全失败,不执行任何操作)。稍后重试。

服务器发布的描述

The prioritised to-do list of the Repliq action center: reviews waiting for a reply or approval, failed publications, unanswered low ratings, disconnected Google profiles, quota and invitations.

这个页面对你有帮助吗?

没有找到需要的内容?

查看常见问题,或给我们写信,我们会帮助你。

常见问题