दस्तावेज़ पर जाएँ
MCP सर्वर

असिस्टेंट चैट

ऐप में असिस्टेंट के साथ हुई बातचीत।

असिस्टेंट चैट टूल

टूलयह क्या करता है
listChatsऐप में असिस्टेंट के साथ हुई चैट, नई पहले, उनके शीर्षक और हर एक में कितने संदेश हैं, के साथ। query शीर्षकों में खोजता है। एक बार में एक पेज लौटाया जाता है।
getChatएक चैट, उसकी id से।
renameChatकिसी चैट को नया शीर्षक दें।
deleteChatकिसी चैट और उसकी हर संदेश को हमेशा के लिए हटाएँ। असिस्टेंट ने मेलबॉक्स में जो किया, वह वापस नहीं होता।

चैट तक सिर्फ़ वर्कस्पेस का मालिक पहुँचता है, हर पते के साथ जुड़े क्लाइंट से। पढ़ने के लिए threads:read और बदलने के लिए threads:write चाहिए।

ऐप के असिस्टेंट के पास ये टूल नहीं हैं, इसलिए कोई चैट कभी ख़ुद अपना नाम नहीं बदलती या ख़ुद को नहीं हटाती।

संदर्भ

listChats

स्कोपthreads:readकेवल MCP पर, ऐप के असिस्टेंट में नहींटूलकिटcore

The conversations held with the assistant in the OpenEmail app, as its Chats page lists them, newest first, each with its title, id and how many messages it holds. query searches the titles. Only the workspace owner reaches them. One page at a time: when more follow, the last line gives a cursor to pass back for the next page.

इनपुट

querystring
अधिकतम 200 वर्ण
sortstring
इनमें से एक"newest""oldest""title"
limitinteger
कम से कम 1अधिकतम 100
cursorstring
1 से 2048 वर्ण

इनमें भी उपलब्ध

API
GET /chats
SDK
chats.list()chats.listAll()chats.iterate()

getChat

स्कोपthreads:readकेवल MCP पर, ऐप के असिस्टेंट में नहींटूलकिटcore

One chat with the assistant by its id: its title, how many messages it holds and when it last changed.

इनपुट

idstringआवश्यक
खाली नहीं

इनमें भी उपलब्ध

API
GET /chats/{id}
SDK
chats.get()

renameChat

स्कोपthreads:writeकेवल MCP पर, ऐप के असिस्टेंट में नहींटूलकिटcore

Give a chat with the assistant a new title.

इनपुट

idstringआवश्यक
खाली नहीं
titlestringआवश्यक
1 से 120 वर्ण

इनमें भी उपलब्ध

API
PATCH /chats/{id}
SDK
chats.rename()

deleteChat

स्कोपthreads:writeकेवल MCP पर, ऐप के असिस्टेंट में नहींटूलकिटcore

Delete a chat with the assistant and every message in it, for good. Nothing it did in the mailbox is undone. Ask the person first.

इनपुट

idstringआवश्यक
खाली नहीं

इनमें भी उपलब्ध

API
DELETE /chats/{id}
SDK
chats.delete()