Upload file to S3
s3_uploadUpload a local file to S3 or S3-compatible object storage by specifying the file path, target bucket, and object key, with optional endpoint, metadata, and content type settings.
Instructions
Upload a local file to S3 or S3-compatible object storage.
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": {
"file_path": "<file_path>",
"bucket": "<bucket>",
"key": "<key>"
},
"name": "s3_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Target object key in bucket. | |
| bucket | Yes | Target bucket name. | |
| region | No | AWS region. Default: AWS_REGION or us-east-1. | |
| endpoint | No | Optional endpoint for S3-compatible providers. | |
| metadata | No | Optional metadata key/value pairs. | |
| file_path | Yes | Local file path to upload. | |
| content_type | No | Optional explicit Content-Type header. | |
| force_path_style | No | Use path-style addressing for S3-compatible providers. |