Create bucket
create_bucketCreate a bucket in a project. Public: anyone with the address can open a file (pictures on a website). Private: files open only with a signed link that runs out, or with the token (documents, users' uploads, anything personal). The project's first bucket also puts STORAGE_URL, STORAGE_TOKEN and STORAGE_PUBLIC_URL into its variables, so the app can upload and list files; the answer says how.
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": {
"project": "<project>",
"name": "<name>"
},
"name": "create_bucket"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Bucket name: a-z, 0-9, dashes, e.g. images, uploads, documents | |
| project | Yes | Project slug | |
| isPublic | No | true for public files, false for private (the default) |