remindersInfo
Gets information about a reminder.
Details
- Method:
GET - Path:
/reminders.info - Operation ID:
reminders_info
Parameters
{
"token": {
"description": "Authentication token. Requires scope: `reminders:read`",
"required": false,
"location": "query",
"type": "string"
},
"reminder": {
"description": "The ID of the reminder",
"required": false,
"location": "query",
"type": "string"
}
}Response Schema
{
"additionalProperties": false,
"description": "Schema for successful response from reminders.info method",
"properties": {
"ok": {
"enum": [
true
],
"title": "default success response",
"type": "boolean"
},
"reminder": {
"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"
}
},
"required": [
"ok",
"reminder"
],
"title": "reminders.info schema",
"type": "object"
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('slack')
# Call this tool
result = await agent.call_tool('remindersInfo', {
# Add required parameters here
})