Delete an empty prompt group
delete_prompt_groupDeletes one prompt group of the project, but only when it has no prompts — paused prompts count too. A group that still has prompts is refused: move each of them with update_prompt (groupId of another group, or null to leave it ungrouped)…
Instructions
Deletes one prompt group of the project, but only when it has no prompts — paused prompts count too. A group that still has prompts is refused: move each of them with update_prompt (groupId of another group, or null to leave it ungrouped) and then delete the group. Deleting cannot be undone: a group recreated under the same name is a new group and its prompts have to be filed into it again.
Never empty and delete a group on your own initiative, not even while restructuring a project or freeing capacity. Ask the user first, name the group and its prompts, and only go ahead on an explicit yes. To set a group aside for later, pause its prompts with update_prompt and keep the group.
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": {
"projectId": "<projectId>",
"groupId": "<groupId>"
},
"name": "delete_prompt_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupId | Yes | Id of the group to delete, as list_prompt_groups reports it. | |
| projectId | Yes | The project to work on — its id from list_projects. Required on every call, so that parallel conversations never read or write each other's project. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |