Delete a screen
delete_screenRemoves a screen from a course. The learner answers already recorded against it are not deleted.
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": "delete_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 |
|---|---|---|---|
| deleted | Yes | ||
| screenId | Yes | The id of the screen that was deleted. | |
| remaining | Yes | How many screens the course has left. |