Danh mục thao tác

Tạo nhắc hẹn

reminders.createMCP:reminders_createBộ công cụ: Tài khoản & quan hệ

Create a reminder in a group (groupRowId) or in a conversation (conversationId: a group chat, or 1:1 with agent 1.4.0); start time in ms epoch, repeat none/daily/weekly/monthly.

Cần Idempotency-Key
Xếp hàng theo hạn mức của tài khoản
Quyền: Thao tác Zalo

Gọi bằng REST v2

curl -X POST https://zl.builera.app/api/public/v2/ops/reminders.create \
  -H "Authorization: Bearer za_live_…" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"title":"Chào anh, em gửi thông tin ạ","startTime":1793500000000,"repeat":"none"}'

Mỗi khoá/kết nối tối đa 300 lệnh đọc và 60 lệnh ghi mỗi phút. Gọi lại cùng Idempotency-Key trả đúng kết quả cũ, không làm lại.

Gọi qua MCP

{
  "method": "tools/call",
  "params": {
    "name": "reminders_create",
    "arguments": {
      "title": "Chào anh, em gửi thông tin ạ",
      "startTime": 1793500000000,
      "repeat": "none"
    }
  }
}

Thêm https://zl.builera.app/mcp vào ứng dụng AI rồi cho phép kết nối; AI chỉ thấy công cụ trong bộ bạn chọn.

Kết quả

HTTP 202
{ "status": "accepted", "operationId": "…", "jobId": "…", "data": { … } }

→ operations.wait (tối đa 20 giây) hoặc webhook để biết kết quả trên Zalo

Ví dụ đầu vào

{
  "title": "Chào anh, em gửi thông tin ạ",
  "startTime": 1793500000000,
  "repeat": "none"
}

Thay mã (id) mẫu bằng mã thật lấy từ các thao tác liệt kê/tìm kiếm.

Lược đồ đầu vào (JSON Schema)

{
  "type": "object",
  "properties": {
    "groupRowId": {
      "type": "string",
      "format": "uuid",
      "description": "Group id from groups_list (our row id, not the Zalo group id)."
    },
    "conversationId": {
      "type": "string",
      "format": "uuid",
      "description": "A conversation (from inbox_conversations_list): 1:1 or group chat."
    },
    "title": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "startTime": {
      "type": "integer"
    },
    "repeat": {
      "type": "string",
      "enum": [
        "none",
        "daily",
        "weekly",
        "monthly"
      ]
    }
  },
  "required": [
    "title",
    "startTime",
    "repeat"
  ],
  "additionalProperties": false
}

Cùng bộ công cụ