e04ed9c211
CF: Deploy Dev Docs / deploy (push) Has been cancelled
Sync Labels / build (push) Has been cancelled
tests / unit tests (macos-latest) (push) Has been cancelled
tests / unit tests (windows-latest) (push) Has been cancelled
tests / unit tests (ubuntu-latest) (push) Has been cancelled
1.5 KiB
1.5 KiB
title, type, weight, description
| title | type | weight | description |
|---|---|---|---|
| cloud-storage-delete-bucket | docs | 5 | A "cloud-storage-delete-bucket" tool deletes an empty Cloud Storage bucket. |
About
A cloud-storage-delete-bucket tool deletes an empty Cloud Storage bucket. It
does not delete objects first; if the bucket is not empty, Cloud Storage rejects
the operation.
Compatible Sources
{{< compatible-sources >}}
Requirements
The Cloud Storage credentials must be able to delete the target bucket. The bucket must be empty before the tool is invoked.
Parameters
| parameter | type | required | description |
|---|---|---|---|
| bucket | string | true | Name of the empty Cloud Storage bucket to delete. |
Example
kind: tool
name: delete_bucket
type: cloud-storage-delete-bucket
source: my-gcs-source
description: Use this tool to delete empty Cloud Storage buckets.
Output Format
The tool returns a JSON object with:
| field | type | description |
|---|---|---|
| bucket | string | Cloud Storage bucket that was deleted. |
| deleted | boolean | Whether the bucket was deleted. |
Reference
| field | type | required | description |
|---|---|---|---|
| type | string | true | Must be "cloud-storage-delete-bucket". |
| source | string | true | Name of the Cloud Storage source to delete buckets from. |
| description | string | true | Description of the tool that is passed to the LLM. |