delete_snippet
Remove a code snippet from Bitbucket Cloud by specifying its ID, optionally including the workspace parameter for targeted deletion.
Instructions
Delete a snippet.
Args: snippet_id: Snippet ID workspace: Bitbucket workspace (optional if configured)
Returns: Confirmation or error message
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": {
"snippet_id": "<snippet_id>"
},
"name": "delete_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snippet_id | Yes | ||
| workspace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||