upload_object
Upload a local file to a Google Cloud Storage bucket. Specify project, bucket, and source path; optionally set destination name or content type.
Instructions
Upload a file to a Cloud Storage bucket.
Args:
project_id: The ID of the GCP project
bucket_name: The name of the bucket to upload to
source_file_path: The local file path to upload
destination_blob_name: The name to give the file in GCS (default: filename from source)
content_type: The content type of the file (default: auto-detect)
Returns:
Result of the upload operation
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_id": "<project_id>",
"bucket_name": "<bucket_name>",
"source_file_path": "<source_file_path>"
},
"name": "upload_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| bucket_name | Yes | ||
| content_type | No | ||
| source_file_path | Yes | ||
| destination_blob_name | No |