list_chats_structured
Retrieve recent iMessage conversations as structured JSON, including chat IDs, handles, last message preview, and group status. Optionally filter by recency and limit results.
Instructions
List recent chats as structured JSON with chat IDs, handles, last sender, last message preview, group status, and message counts.
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": "list_chats_structured"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of conversations to return (default: 20) | |
| hours_ago | No | Only show chats active in the last N hours (optional) |