get_function
Get Function
Retrieve full details of a specific Cloud Function including its build configuration, service configuration, event trigger settings, state, and deployment URL. Use a short function name or a fully qualified resource name.
Ask your agent in plain language. Each of these maps to a real tool on the server.
Cloud Functions runs small pieces of code on demand. The integration lets an agent list and inspect functions, deploy updates from source, and manage who can invoke them.
List functions with their runtimes and triggers across a project.
Generate an upload URL, upload new source and update the function.
Follow a deployment operation until it finishes or fails.
Review and change the IAM policy that controls who can call a function.
Cloud Functions accepts a service account JSON key or Google OAuth. Deploying needs the Cloud Functions Developer role, plus permission to act as the function’s runtime service account.
Sign-in options on Metorial: Service Account JSON Key, Google OAuth.
get_function
Retrieve full details of a specific Cloud Function including its build configuration, service configuration, event trigger settings, state, and deployment URL. Use a short function name or a fully qualified resource name.
list_functions
List Cloud Functions in a Google Cloud project. Returns a summary of each function including its state, runtime, URL, and labels. Supports filtering and pagination, and can query across all regions or a specific region.
list_runtimes
List available runtime environments for Cloud Functions, including their lifecycle status (supported, deprecated, decommissioned). Useful for choosing a runtime when creating or updating functions.
delete_function
Permanently delete a Cloud Function. This removes the function and all its associated resources. Returns a long-running operation that can be polled for completion.
generate_download_url
Generate a signed URL for downloading the source code of a deployed Cloud Function. The URL is time-limited and can be used to retrieve the function's source archive.
update_function
Update an existing Cloud Function's configuration. Modify runtime settings, memory, timeout, environment variables, labels, description, scaling limits, ingress/egress settings, and more. Only the fields you provide will be updated. Returns a long-running operation.
generate_upload_url
Generate a signed URL for uploading function source code to Cloud Storage. The returned URL and storage source should be used when creating or updating a function. Upload your source code archive (ZIP) to the signed URL before referencing it in a create or update call.
get_operation
Check the status of a long-running operation such as function creation, update, or deletion. Provides the current state and any error or success details.
create_function
Create and deploy a new Cloud Function. Configure the runtime, entry point, source code location, memory, timeout, environment variables, and event triggers. Source code must be uploaded to a Cloud Storage bucket or referenced from a Cloud Source Repository. Returns a long-running operation that can be polled for completion.
manage_iam_policy
Get or set the IAM policy for a Cloud Function. Use this to control who can invoke the function or manage its configuration. To make a function publicly accessible, grant the **roles/run.invoker** role to **allUsers**.
Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.
{"mcpServers": {"metorial": {"url": "<your-magic-mcp-url>"}}}
claude mcp add --transport http metorial <your-magic-mcp-url>
codex mcp add metorial --url <your-magic-mcp-url>codex mcp login metorial
One governed layer for every app your agents reach, not a separate connector per tool.
Manage serverless cloud functions on Google Cloud. Create, update, deploy, list, and delete functions triggered by HTTP requests or cloud events. Configure runtimes (Node.js, Python, Go, Java, .NET, Ruby), event triggers (Cloud Storage, Pub/Sub, Firestore), memory, timeouts, and environment variables. Upload and download function source code via signed URLs. Invoke deployed HTTP functions. Manage function upgrades from 1st gen to 2nd gen. List available runtimes and monitor long-running deployment operations. Configure ingress/egress networking, secret environment variables, and authentication settings for function invocation.
Common questions about connecting Google Cloud Functions to AI agents with Metorial.