Add a screen
add_screenAppends a screen to a course, optionally seeded from a template (see list_screen_templates). Returns the created screen, including the ids you'll need to fill its blocks in with update_screen.
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": "add_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | The new screen's title. Defaults to "Untitled screen". | |
| courseId | Yes | Id of the course to append the screen to. | |
| templateKey | No | Key of a screen template from list_screen_templates to seed the screen's blocks, which arrive empty with fresh ids. Omit for a blank screen. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | The screen's zero-based position in the course. | |
| screen | Yes | A screen: { id, title, blocks: [...] }. Block shapes are listed by list_block_types. |