Open Context Protocol is live! 🚀 Read the launch post

remindersList

Lists all reminders created by or for a given user.

Details

  • Method: GET
  • Path: /reminders.list
  • Operation ID: reminders_list

Parameters

{
  "token": {
    "description": "Authentication token. Requires scope: `reminders:read`",
    "required": false,
    "location": "query",
    "type": "string"
  }
}

Response Schema

{
  "additionalProperties": false,
  "description": "Schema for successful response from reminders.list method",
  "properties": {
    "ok": {
      "enum": [
        true
      ],
      "title": "default success response",
      "type": "boolean"
    },
    "reminders": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "complete_ts": {
            "type": "integer"
          },
          "creator": {
            "pattern": "^[UW][A-Z0-9]{2,}$",
            "title": "User ID",
            "type": "string"
          },
          "id": {
            "pattern": "^Rm[A-Z0-9]{8,}$",
            "title": "Reminder ID",
            "type": "string"
          },
          "recurring": {
            "type": "boolean"
          },
          "text": {
            "type": "string"
          },
          "time": {
            "type": "integer"
          },
          "user": {
            "pattern": "^[UW][A-Z0-9]{2,}$",
            "title": "User ID",
            "type": "string"
          }
        },
        "required": [
          "id",
          "creator",
          "user",
          "text",
          "recurring"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "ok",
    "reminders"
  ],
  "title": "reminders.list schema",
  "type": "object"
}

Usage

from ocp_agent import OCPAgent

agent = OCPAgent()
await agent.register_api('slack')

# Call this tool
result = await agent.call_tool('remindersList', {
    # Add required parameters here
})