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.
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 |