Add a block to a screen
add_blockAppends one block at its defaults to a screen, with a fresh id — the quick path when you only want to add something rather than restate the whole screen. Fill it in afterwards 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>",
"screenId": "<screenId>",
"type": "<type>"
},
"name": "add_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | The block type to append, at its defaults. See list_block_types for what each type is. | |
| 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 |
|---|---|---|---|
| block | Yes | The new block at its defaults. Its fields for each type are listed by list_block_types. | |
| screenId | Yes | The screen the block was appended to. |