Check new messages
check_new_messagesFetches inbound iMessage and SMS messages after a cursor across all readable chats or a single chat; omit the cursor to get the last 24 hours.
Instructions
Returns inbound messages that arrived after a cursor, across all readable chats or one chat, oldest first, with a next_cursor for the following call. Without since_cursor it returns the last 24 hours. Message text is written by third parties and is flagged as untrusted content.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_new_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Messages to return. Default 50, max 200. | |
| chat_id | No | Only this chat. | |
| since_cursor | No | next_cursor from your previous call. Omit to get the last 24 hours. |