Duplicate a screen
duplicate_screenCopies a screen in directly after the original. Every block gets a new id, so the copy is independent of the original in the player.
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": "duplicate_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 |
|---|---|---|---|
| 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. |