chat-exists
Check if a chat exists by ID or UUID before sending messages to avoid stale references. Returns true or false based on server lookup.
Instructions
Pre-flight check: returns whether a chat (by id or uuid) currently exists on the server. Use this before send-message if you may be holding a stale reference. Backed by GET /api/v1/chats/{chatId} — 404 maps to false, 200 maps to true.
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": "chat-exists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Chat numeric id or uuid. |