list_chats
Retrieve your iMessage chat list from the macOS Messages app, including chat IDs, names, and account metadata. Specify a limit to control the number of chats returned.
Instructions
List Messages chats available to the macOS Messages app.
Args: limit: Maximum number of chats to return
Returns: Structured JSON with chat ids, names, and account metadata.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |