Upload object
gcs_upload_objectUpload a local file to a Google Cloud Storage bucket at the specified object path. Use it to place files into GCS buckets directly.
Instructions
Uploads a local file to a bucket at the given object path/key.
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": {
"bucket": "<bucket>",
"object": "<object>",
"filePath": "<filePath>"
},
"name": "gcs_upload_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | Yes | Bucket name (without gs:// prefix) | |
| object | Yes | Destination object path/key within the bucket | |
| filePath | Yes | Absolute local file path to upload | |
| contentType | No |