get_unread
Retrieves unread Google Chat messages per space without marking them as read, helping you see what you have not opened yet; optionally filter by space.
Instructions
利用者がチャットの画面でまだ開いていない(未読の)メッセージを、スペースごとにまとめて返す。 読むだけで既読にはしない。利用者自身の発言は数えない。
space を指定するとそのスペースだけ。省略すると未読のあるスペースをすべて(最近動いた順)。
注意: 未読は利用者が画面で開いた時点で消える(スマホで開いた分も)。記録の続きの起点には使わず、 記録は get_messages の next_since で続きから読む。未読は「まだ見ていない分の把握」に使う。
人の最後の発言が 90日より前のスペースは調べない(ボットだけが投稿するスペースは space で指定する)。既読の記録が無いスペースは直近 90日分を未読とみなす (どちらも notes に書く)。
truncated が true なら limit で打ち切っている。
Args: space: スペースの名前・URL・ID。省略時は全スペース。 limit: 返すメッセージの合計の最大件数(既定 200)。 include_bots: 既定 true(ボット・アプリの発言も含める)。false にすると除く。
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": "get_unread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| space | No | ||
| include_bots | No |