Update a screen
update_screenReplaces one screen's title and/or blocks, leaving every other screen untouched. Prefer this over update_course for editing content — it reads and writes a single screen rather than the whole array, so a concurrent edit elsewhere in the course isn't overwritten.
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>",
"screenId": "<screenId>"
},
"name": "update_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | New screen title. Omit to leave it unchanged. | |
| blocks | No | Replaces the screen's whole blocks array, in order. Each block needs a unique id and a type, plus the fields list_block_types gives for that type; keep existing ids for blocks you are editing. Omit to leave the blocks unchanged. | |
| courseId | Yes | Id of the course that holds the screen. | |
| screenId | Yes | Id of the screen within that course, as found in the course's screens array. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| screen | Yes | A screen: { id, title, blocks: [...] }. Block shapes are listed by list_block_types. |