upload_file
Upload a file to a specified S3 bucket and key using the s3-mcp server. Input the file path, bucket name, and key to receive a JSON success message upon completion.
Instructions
Uploads a file to an S3 object.
Args: filename (str): The path to the file to upload. bucket (str): The name of the bucket to upload to. key (str): The name of the key to upload to.
Returns: str: JSON formatted success message.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bucket | Yes | ||
filename | Yes | ||
key | Yes |
Input Schema (JSON Schema)
{
"properties": {
"bucket": {
"title": "Bucket",
"type": "string"
},
"filename": {
"title": "Filename",
"type": "string"
},
"key": {
"title": "Key",
"type": "string"
}
},
"required": [
"filename",
"bucket",
"key"
],
"type": "object"
}