toggle-chat-favorite
Flips the favorite (bookmark) flag for a specified chat by chat_id, toggling favorited to unfavorited or back. Verify the updated state via list-chats.
Instructions
Toggle the favorite (bookmark) flag of a chat. Mirrors syntx.chats.toggleFavorite. Issues POST /api/v1/chats/{chat_id}/favorite (no body). Each call flips the current state — favorited becomes unfavorited and vice versa; verify the result via list-chats.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chat_id": "<chat_id>"
},
"name": "toggle-chat-favorite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Chat UUID or numeric id (required). |