Delete Workspace
delete_workspacePermanently removes an empty Meshive workspace after a preview and confirmation, refusing deletion while blockers remain and requiring admin or billing role.
Instructions
Delete an empty workspace (it needs the admin or billing role). This can't be undone.
workspace is required and never picked for you: pass its id, or its label for the preview.
A workspace that still holds anything is refused (workspace_not_empty) and blockers counts what is left: pods,
storage, servings, tasks (finished ones too), task outputs still being saved, assets, custom templates and models,
credentials, webhooks, inference keys, other members, open invitations, pending payouts and operations in
progress. Follow its next_step, and clear nothing the user didn't ask you to.
With confirm=false (default) it only checks and deletes nothing; call again with the workspace id and confirm=true
after the user agreed (a label is refused there). Deletion runs in the background: the workspace leaves the list
within a moment. Its name becomes available when deletion finishes.
Every write requires operation_id. Reuse the ID returned by the preview, or generate a UUID before the first call. Keep it for confirmation and all retries; a new ID means a new operation. After a timeout, check operation_status and resource state before retrying.
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": {
"workspace": "<workspace>"
},
"name": "delete_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| workspace | Yes | ||
| operation_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||