ドキュメント本文へスキップ
MCPサーバー

アシスタントとのチャット

アプリでアシスタントと交わした会話。

アシスタントとのチャットのツール

ツール機能
listChatsアプリでアシスタントと交わしたチャットを新しい順に、タイトルと各チャットのメッセージ数とともに示す。query はタイトルを検索する。1 ページずつ返る。
getChatID で指定した 1 件のチャット。
renameChatチャットに新しいタイトルを付ける。
deleteChatチャットとその中のすべてのメッセージを完全に削除する。アシスタントがメールボックスで行ったことは元に戻らない。

チャットに届くのはワークスペースのオーナーだけで、すべてのアドレスで接続したクライアントを使う。読み取りには threads:read、変更には threads:write が必要。

アプリのアシスタントはこれらのツールを持たないので、チャットが自分で名前を変えたり自分を削除したりすることはない。

リファレンス

listChats

スコープthreads:readMCP 専用で、アプリのアシスタントにはありませんツールキット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:readMCP 専用で、アプリのアシスタントにはありませんツールキット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:writeMCP 専用で、アプリのアシスタントにはありませんツールキットcore

Give a chat with the assistant a new title.

入力

idstring必須
空でないこと
titlestring必須
1〜120文字

ほかの提供先

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

deleteChat

スコープthreads:writeMCP 専用で、アプリのアシスタントにはありませんツールキット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()