list_announcements
Retrieve course announcements and notices from Google Classroom. Filter by state, sort by update time, and control page size to stay informed.
Instructions
List stream announcements, notices, and updates for a course.
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": {
"courseId": "<courseId>"
},
"name": "list_announcements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderBy | No | Sort order, e.g. 'updateTime desc'. | |
| courseId | Yes | The unique identifier of the course. | |
| pageSize | No | Maximum number of announcements to return (default 20). | |
| announcementStates | No | Filter states: PUBLISHED, DRAFT, DELETED. Defaults to ['PUBLISHED']. |