deploy_file_contents
Deploy files directly to Cloud Run by providing their contents in a chat context. Specify filenames and content for quick deployment without local file storage.
Instructions
Deploy files to Cloud Run by providing their contents directly. Takes an array of file objects containing filename and content. Use this tool if the files only exist in the current chat context.
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": "<project>",
"files": "<files>"
},
"name": "deploy_file_contents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Array of file objects containing filename and content | |
| project | Yes | Google Cloud project ID. Leave unset for the app to be deployed in a new project. If provided, make sure the user confirms the project ID they want to deploy to. | |
| region | No | Region to deploy the service to | europe-west1 |
| service | No | Name of the Cloud Run service to deploy to | app |