create_bucket
Create a new storage bucket in Akave's S3-compatible storage system to organize and manage your data objects.
Instructions
Create a new bucket
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | Yes | Bucket name |
Implementation Reference
- src/s3Client.ts:162-167 (handler)Core handler function that creates an S3 bucket using CreateBucketCommand.async createBucket(bucket: string) { const command = new CreateBucketCommand({ Bucket: bucket, }); return await this.client.send(command); }
- src/server.ts:253-265 (registration)MCP tool registration for 'create_bucket', including input schema and thin wrapper handler that delegates to S3Client.createBucket.this.server.tool( "create_bucket", "Create a new bucket", { bucket: z.string().describe("Bucket name"), }, async ({ bucket }) => { await this.s3Client.createBucket(bucket); return { content: [{ type: "text", text: JSON.stringify({ success: true }) }], }; } );
- src/server.ts:256-258 (schema)Zod input schema defining the 'bucket' parameter for the create_bucket tool.{ bucket: z.string().describe("Bucket name"), },