Google Cloud Platform MCP Server for Cloudflare Workers
88 tools available in the Google Cloud MCP server. Each tool can be called by AI assistants to perform specific actions.
gcloud_list_datasetsList BigQuery datasets in a project.
Args:
Returns: List of datasets with their location and metadata.
{
"type": "object",
"required": [
"projectId"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_get_datasetGet details of a specific BigQuery dataset.
Args:
Returns: Detailed dataset information.
{
"type": "object",
"required": [
"projectId",
"datasetId"
],
"properties": {
"datasetId": {
"type": "string",
"description": "Dataset ID"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_create_datasetCreate a new BigQuery dataset.
Args:
Returns: Created dataset details.
{
"type": "object",
"required": [
"projectId",
"datasetId"
],
"properties": {
"location": {
"type": "string",
"description": "Dataset location (e.g., US, EU)"
},
"datasetId": {
"type": "string",
"description": "ID for the new dataset"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_delete_datasetDelete a BigQuery dataset.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"projectId",
"datasetId"
],
"properties": {
"datasetId": {
"type": "string",
"description": "Dataset ID to delete"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"deleteContents": {
"type": "boolean",
"default": false,
"description": "Delete all tables in dataset"
}
}
}gcloud_list_tablesList tables in a BigQuery dataset.
Args:
Returns: List of tables with their type and row count.
{
"type": "object",
"required": [
"projectId",
"datasetId"
],
"properties": {
"datasetId": {
"type": "string",
"description": "Dataset ID"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_get_tableGet details of a specific BigQuery table.
Args:
Returns: Detailed table information including schema and row count.
{
"type": "object",
"required": [
"projectId",
"datasetId",
"tableId"
],
"properties": {
"tableId": {
"type": "string",
"description": "Table ID"
},
"datasetId": {
"type": "string",
"description": "Dataset ID"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_bigquery_queryRun a SQL query in BigQuery.
Args:
Returns: Query results with schema and rows.
{
"type": "object",
"required": [
"projectId",
"query"
],
"properties": {
"query": {
"type": "string",
"description": "SQL query to execute"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"useLegacySql": {
"type": "boolean",
"default": false,
"description": "Use legacy SQL syntax"
}
}
}gcloud_list_instancesList Compute Engine VM instances in a zone.
Args:
Returns: List of VM instances with their status, machine type, and network info.
{
"type": "object",
"required": [
"projectId",
"zone"
],
"properties": {
"zone": {
"type": "string",
"description": "Compute zone (e.g., us-central1-a)"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_get_instanceGet details of a specific Compute Engine VM instance.
Args:
Returns: Detailed instance information including status, machine type, disks, and network.
{
"type": "object",
"required": [
"projectId",
"zone",
"instanceName"
],
"properties": {
"zone": {
"type": "string",
"description": "Compute zone"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"instanceName": {
"type": "string",
"description": "Name of the instance"
}
}
}gcloud_start_instanceStart a stopped Compute Engine VM instance.
Args:
Returns: Operation details for the start request.
{
"type": "object",
"required": [
"projectId",
"zone",
"instanceName"
],
"properties": {
"zone": {
"type": "string",
"description": "Compute zone"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"instanceName": {
"type": "string",
"description": "Name of the instance to start"
}
}
}gcloud_get_firewallGet details of a specific firewall rule.
Args:
Returns: Detailed firewall rule information.
{
"type": "object",
"required": [
"projectId",
"firewallName"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"firewallName": {
"type": "string",
"description": "Name of the firewall rule"
}
}
}gcloud_stop_instanceStop a running Compute Engine VM instance.
Args:
Returns: Operation details for the stop request.
{
"type": "object",
"required": [
"projectId",
"zone",
"instanceName"
],
"properties": {
"zone": {
"type": "string",
"description": "Compute zone"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"instanceName": {
"type": "string",
"description": "Name of the instance to stop"
}
}
}gcloud_reset_instanceReset (reboot) a Compute Engine VM instance.
Args:
Returns: Operation details for the reset request.
{
"type": "object",
"required": [
"projectId",
"zone",
"instanceName"
],
"properties": {
"zone": {
"type": "string",
"description": "Compute zone"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"instanceName": {
"type": "string",
"description": "Name of the instance to reset"
}
}
}gcloud_delete_instanceDelete a Compute Engine VM instance.
Args:
Returns: Operation details for the delete request.
{
"type": "object",
"required": [
"projectId",
"zone",
"instanceName"
],
"properties": {
"zone": {
"type": "string",
"description": "Compute zone"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"instanceName": {
"type": "string",
"description": "Name of the instance to delete"
}
}
}gcloud_list_disksList Compute Engine persistent disks in a zone.
Args:
Returns: List of disks with their size, type, and status.
{
"type": "object",
"required": [
"projectId",
"zone"
],
"properties": {
"zone": {
"type": "string",
"description": "Compute zone"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_get_diskGet details of a specific Compute Engine disk.
Args:
Returns: Detailed disk information.
{
"type": "object",
"required": [
"projectId",
"zone",
"diskName"
],
"properties": {
"zone": {
"type": "string",
"description": "Compute zone"
},
"diskName": {
"type": "string",
"description": "Name of the disk"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_create_diskCreate a new Compute Engine persistent disk.
Args:
Returns: Operation details for the create request.
{
"type": "object",
"required": [
"projectId",
"zone",
"name",
"sizeGb"
],
"properties": {
"name": {
"type": "string",
"description": "Name for the new disk"
},
"type": {
"type": "string",
"description": "Disk type (pd-standard, pd-ssd)"
},
"zone": {
"type": "string",
"description": "Compute zone"
},
"sizeGb": {
"type": "string",
"description": "Size in GB"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"sourceImage": {
"type": "string",
"description": "Source image for the disk"
}
}
}gcloud_delete_diskDelete a Compute Engine persistent disk.
Args:
Returns: Operation details for the delete request.
{
"type": "object",
"required": [
"projectId",
"zone",
"diskName"
],
"properties": {
"zone": {
"type": "string",
"description": "Compute zone"
},
"diskName": {
"type": "string",
"description": "Name of the disk to delete"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_resize_diskResize a Compute Engine persistent disk (can only increase size).
Args:
Returns: Operation details for the resize request.
{
"type": "object",
"required": [
"projectId",
"zone",
"diskName",
"sizeGb"
],
"properties": {
"zone": {
"type": "string",
"description": "Compute zone"
},
"sizeGb": {
"type": "string",
"description": "New size in GB"
},
"diskName": {
"type": "string",
"description": "Name of the disk"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_list_networksList VPC networks in a project.
Args:
Returns: List of networks with their configuration.
{
"type": "object",
"required": [
"projectId"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_get_networkGet details of a specific VPC network.
Args:
Returns: Detailed network information.
{
"type": "object",
"required": [
"projectId",
"networkName"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"networkName": {
"type": "string",
"description": "Name of the network"
}
}
}gcloud_create_networkCreate a new VPC network.
Args:
Returns: Operation details for the create request.
{
"type": "object",
"required": [
"projectId",
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Name for the new network"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"autoCreateSubnetworks": {
"type": "boolean",
"default": true,
"description": "Auto-create subnets"
}
}
}gcloud_delete_networkDelete a VPC network.
Args:
Returns: Operation details for the delete request.
{
"type": "object",
"required": [
"projectId",
"networkName"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"networkName": {
"type": "string",
"description": "Name of the network to delete"
}
}
}gcloud_list_firewallsList firewall rules in a project.
Args:
Returns: List of firewall rules with their configuration.
{
"type": "object",
"required": [
"projectId"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_delete_firewallDelete a firewall rule.
Args:
Returns: Operation details for the delete request.
{
"type": "object",
"required": [
"projectId",
"firewallName"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"firewallName": {
"type": "string",
"description": "Name of the firewall rule to delete"
}
}
}gcloud_list_managed_zonesList Cloud DNS managed zones in a project.
Args:
Returns: List of managed zones with their DNS name and configuration.
{
"type": "object",
"required": [
"projectId"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_get_managed_zoneGet details of a specific Cloud DNS managed zone.
Args:
Returns: Managed zone details including DNS name and visibility.
{
"type": "object",
"required": [
"projectId",
"zoneName"
],
"properties": {
"zoneName": {
"type": "string",
"description": "Name of the managed zone"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_create_managed_zoneCreate a new Cloud DNS managed zone.
Args:
Returns: Created managed zone details.
{
"type": "object",
"required": [
"projectId",
"name",
"dnsName"
],
"properties": {
"name": {
"type": "string",
"description": "Name for the managed zone"
},
"dnsName": {
"type": "string",
"description": "DNS name (must end with a dot, e.g., example.com.)"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"visibility": {
"enum": [
"public",
"private"
],
"type": "string",
"default": "public",
"description": "Zone visibility"
},
"description": {
"type": "string",
"description": "Zone description"
}
}
}gcloud_delete_managed_zoneDelete a Cloud DNS managed zone. Zone must be empty (no records except NS and SOA).
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"projectId",
"zoneName"
],
"properties": {
"zoneName": {
"type": "string",
"description": "Name of the managed zone to delete"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_list_resource_record_setsList DNS resource record sets in a managed zone.
Args:
Returns: List of DNS records with their type, TTL, and data.
{
"type": "object",
"required": [
"projectId",
"zoneName"
],
"properties": {
"zoneName": {
"type": "string",
"description": "Name of the managed zone"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_create_resource_record_setCreate a DNS resource record set.
Args:
Returns: Created resource record set.
{
"type": "object",
"required": [
"projectId",
"zoneName",
"name",
"type",
"ttl",
"rrdatas"
],
"properties": {
"ttl": {
"type": "integer",
"minimum": 1,
"description": "TTL in seconds"
},
"name": {
"type": "string",
"description": "Record name (must end with a dot)"
},
"type": {
"type": "string",
"description": "Record type (A, AAAA, CNAME, MX, TXT, etc.)"
},
"rrdatas": {
"type": "array",
"items": {
"type": "string"
},
"description": "Record data values"
},
"zoneName": {
"type": "string",
"description": "Name of the managed zone"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_delete_resource_record_setDelete a DNS resource record set.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"projectId",
"zoneName",
"name",
"type"
],
"properties": {
"name": {
"type": "string",
"description": "Record name to delete"
},
"type": {
"type": "string",
"description": "Record type"
},
"zoneName": {
"type": "string",
"description": "Name of the managed zone"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_list_functionsList Cloud Functions in a location.
Args:
Returns: List of functions with their state, runtime, and endpoint.
{
"type": "object",
"required": [
"projectId",
"location"
],
"properties": {
"location": {
"type": "string",
"description": "Location (e.g., us-central1)"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_get_functionGet details of a specific Cloud Function.
Args:
Returns: Detailed function information including runtime, trigger, and endpoint.
{
"type": "object",
"required": [
"projectId",
"location",
"functionName"
],
"properties": {
"location": {
"type": "string",
"description": "Location"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"functionName": {
"type": "string",
"description": "Name of the function"
}
}
}gcloud_delete_functionDelete a Cloud Function.
Args:
Returns: Operation details for the delete request.
{
"type": "object",
"required": [
"projectId",
"location",
"functionName"
],
"properties": {
"location": {
"type": "string",
"description": "Location"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"functionName": {
"type": "string",
"description": "Name of the function to delete"
}
}
}gcloud_list_cloud_run_servicesList Cloud Run services in a location.
Args:
Returns: List of services with their URL and status.
{
"type": "object",
"required": [
"projectId",
"location"
],
"properties": {
"location": {
"type": "string",
"description": "Location (e.g., us-central1)"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_get_cloud_run_serviceGet details of a specific Cloud Run service.
Args:
Returns: Detailed service information including URL, conditions, and labels.
{
"type": "object",
"required": [
"projectId",
"location",
"serviceName"
],
"properties": {
"location": {
"type": "string",
"description": "Location"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"serviceName": {
"type": "string",
"description": "Name of the service"
}
}
}gcloud_delete_cloud_run_serviceDelete a Cloud Run service.
Args:
Returns: Operation details for the delete request.
{
"type": "object",
"required": [
"projectId",
"location",
"serviceName"
],
"properties": {
"location": {
"type": "string",
"description": "Location"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"serviceName": {
"type": "string",
"description": "Name of the service to delete"
}
}
}gcloud_list_clustersList GKE clusters in a location.
Args:
Returns: List of clusters with their status, version, and endpoint.
{
"type": "object",
"required": [
"projectId",
"location"
],
"properties": {
"location": {
"type": "string",
"description": "Location (region or zone, use \"-\" for all)"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_get_clusterGet details of a specific GKE cluster.
Args:
Returns: Detailed cluster information including version, endpoint, and node pools.
{
"type": "object",
"required": [
"projectId",
"location",
"clusterName"
],
"properties": {
"location": {
"type": "string",
"description": "Location"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"clusterName": {
"type": "string",
"description": "Name of the cluster"
}
}
}gcloud_delete_clusterDelete a GKE cluster.
Args:
Returns: Operation details for the delete request.
{
"type": "object",
"required": [
"projectId",
"location",
"clusterName"
],
"properties": {
"location": {
"type": "string",
"description": "Location"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"clusterName": {
"type": "string",
"description": "Name of the cluster to delete"
}
}
}gcloud_list_node_poolsList node pools in a GKE cluster.
Args:
Returns: List of node pools with their configuration and autoscaling settings.
{
"type": "object",
"required": [
"projectId",
"location",
"clusterName"
],
"properties": {
"location": {
"type": "string",
"description": "Location"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"clusterName": {
"type": "string",
"description": "Name of the cluster"
}
}
}gcloud_get_node_poolGet details of a specific node pool in a GKE cluster.
Args:
Returns: Node pool details including configuration and autoscaling.
{
"type": "object",
"required": [
"projectId",
"location",
"clusterName",
"nodePoolName"
],
"properties": {
"location": {
"type": "string",
"description": "Location"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"clusterName": {
"type": "string",
"description": "Name of the cluster"
},
"nodePoolName": {
"type": "string",
"description": "Name of the node pool"
}
}
}gcloud_list_service_accountsList service accounts in a project.
Args:
Returns: List of service accounts with their email and status.
{
"type": "object",
"required": [
"projectId"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_get_service_accountGet details of a specific service account.
Args:
Returns: Service account details.
{
"type": "object",
"required": [
"projectId",
"email"
],
"properties": {
"email": {
"type": "string",
"description": "Service account email"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_create_service_accountCreate a new service account.
Args:
Returns: Created service account details.
{
"type": "object",
"required": [
"projectId",
"accountId"
],
"properties": {
"accountId": {
"type": "string",
"description": "ID for the service account"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"displayName": {
"type": "string",
"description": "Display name"
}
}
}gcloud_delete_service_accountDelete a service account.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"projectId",
"email"
],
"properties": {
"email": {
"type": "string",
"description": "Service account email to delete"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_get_project_iam_policyGet the IAM policy for a project.
Args:
Returns: IAM policy with bindings showing roles and members.
{
"type": "object",
"required": [
"projectId"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_set_project_iam_policySet the IAM policy for a project. Warning: This replaces the entire policy.
Args:
Returns: Updated IAM policy.
{
"type": "object",
"required": [
"projectId"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_list_rolesList IAM roles. Can list predefined roles or custom project roles.
Args:
Returns: List of roles with their permissions.
{
"type": "object",
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID (optional)"
}
}
}gcloud_list_log_entriesList log entries from Cloud Logging.
Args:
Returns: List of log entries with their timestamp, severity, and payload.
{
"type": "object",
"required": [
"projectId"
],
"properties": {
"filter": {
"type": "string",
"description": "Filter expression"
},
"pageSize": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Number of entries"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_write_log_entryWrite a log entry to Cloud Logging.
Args:
Returns: Confirmation of write.
{
"type": "object",
"required": [
"projectId",
"message"
],
"properties": {
"labels": {
"type": "object",
"description": "Entry labels"
},
"logName": {
"type": "string",
"default": "INFO') .describe('Log severity",
"description": "Name of the log"
},
"message": {
"type": "string",
"description": "Log message"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_write_log_jsonWrite a JSON log entry to Cloud Logging.
Args:
Returns: Confirmation of write.
{
"type": "object",
"required": [
"projectId",
"jsonPayload"
],
"properties": {
"labels": {
"type": "object",
"description": "Entry labels"
},
"logName": {
"type": "string",
"default": "INFO') .describe('Log severity",
"description": "Name of the log"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"jsonPayload": {
"type": "object",
"description": "JSON payload"
}
}
}gcloud_list_logsList available logs in a project.
Args:
Returns: List of log names.
{
"type": "object",
"required": [
"projectId"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_list_topicsList Pub/Sub topics in a project.
Args:
Returns: List of topics.
{
"type": "object",
"required": [
"projectId"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_get_topicGet details of a specific Pub/Sub topic.
Args:
Returns: Topic details.
{
"type": "object",
"required": [
"projectId",
"topicName"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"topicName": {
"type": "string",
"description": "Name of the topic"
}
}
}gcloud_create_topicCreate a new Pub/Sub topic.
Args:
Returns: Created topic details.
{
"type": "object",
"required": [
"projectId",
"topicName"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"topicName": {
"type": "string",
"description": "Name for the new topic"
}
}
}gcloud_delete_topicDelete a Pub/Sub topic.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"projectId",
"topicName"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"topicName": {
"type": "string",
"description": "Name of the topic to delete"
}
}
}gcloud_publish_messagePublish a message to a Pub/Sub topic.
Args:
Returns: Published message ID.
{
"type": "object",
"required": [
"projectId",
"topicName",
"data"
],
"properties": {
"data": {
"type": "string",
"description": "Message data"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"topicName": {
"type": "string",
"description": "Name of the topic"
},
"attributes": {
"type": "object",
"description": "Message attributes"
}
}
}gcloud_list_subscriptionsList Pub/Sub subscriptions in a project.
Args:
Returns: List of subscriptions with their configuration.
{
"type": "object",
"required": [
"projectId"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_get_subscriptionGet details of a specific Pub/Sub subscription.
Args:
Returns: Subscription details including topic and configuration.
{
"type": "object",
"required": [
"projectId",
"subscriptionName"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"subscriptionName": {
"type": "string",
"description": "Name of the subscription"
}
}
}gcloud_create_subscriptionCreate a new Pub/Sub subscription.
Args:
Returns: Created subscription details.
{
"type": "object",
"required": [
"projectId",
"subscriptionName",
"topicName"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"topicName": {
"type": "string",
"description": "Name of the topic to subscribe to"
},
"subscriptionName": {
"type": "string",
"description": "Name for the new subscription"
}
}
}gcloud_delete_subscriptionDelete a Pub/Sub subscription.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"projectId",
"subscriptionName"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"subscriptionName": {
"type": "string",
"description": "Name of the subscription to delete"
}
}
}gcloud_list_databasesList databases in a Cloud SQL instance.
Args:
Returns: List of databases in the instance.
{
"type": "object",
"required": [
"projectId",
"instanceName"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"instanceName": {
"type": "string",
"description": "Name of the SQL instance"
}
}
}gcloud_pull_messagesPull messages from a Pub/Sub subscription.
Args:
Returns: List of received messages with their data and ack IDs.
{
"type": "object",
"required": [
"projectId",
"subscriptionName"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"maxMessages": {
"type": "integer",
"default": 10,
"maximum": 1000,
"minimum": 1,
"description": "Max messages to pull"
},
"subscriptionName": {
"type": "string",
"description": "Name of the subscription"
}
}
}gcloud_acknowledge_messagesAcknowledge messages from a Pub/Sub subscription.
Args:
Returns: Confirmation of acknowledgment.
{
"type": "object",
"required": [
"projectId",
"subscriptionName",
"ackIds"
],
"properties": {
"ackIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of ack IDs to acknowledge"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"subscriptionName": {
"type": "string",
"description": "Name of the subscription"
}
}
}gcloud_list_secretsList secrets in a project.
Args:
Returns: List of secrets (without their values).
{
"type": "object",
"required": [
"projectId"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_get_secretGet metadata of a specific secret (not the value).
Args:
Returns: Secret metadata including replication config and labels.
{
"type": "object",
"required": [
"projectId",
"secretName"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"secretName": {
"type": "string",
"description": "Name of the secret"
}
}
}gcloud_create_secretCreate a new secret (without a value).
Args:
Returns: Created secret metadata.
{
"type": "object",
"required": [
"projectId",
"secretId"
],
"properties": {
"secretId": {
"type": "string",
"description": "ID for the new secret"
},
"automatic": {
"type": "boolean",
"default": true,
"description": "Use automatic replication"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_delete_secretDelete a secret and all its versions.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"projectId",
"secretName"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"secretName": {
"type": "string",
"description": "Name of the secret to delete"
}
}
}gcloud_list_secret_versionsList versions of a secret.
Args:
Returns: List of secret versions with their state.
{
"type": "object",
"required": [
"projectId",
"secretName"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"secretName": {
"type": "string",
"description": "Name of the secret"
}
}
}gcloud_access_secret_versionAccess the value of a secret version.
Args:
Returns: Secret value (decoded from base64).
{
"type": "object",
"required": [
"projectId",
"secretName"
],
"properties": {
"version": {
"type": "string",
"default": "latest",
"description": "Version to access"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"secretName": {
"type": "string",
"description": "Name of the secret"
}
}
}gcloud_add_secret_versionAdd a new version to a secret.
Args:
Returns: Created version details.
{
"type": "object",
"required": [
"projectId",
"secretName",
"payload"
],
"properties": {
"payload": {
"type": "string",
"description": "Secret value to store"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"secretName": {
"type": "string",
"description": "Name of the secret"
}
}
}gcloud_list_sql_instancesList Cloud SQL instances in a project.
Args:
Returns: List of SQL instances with their configuration and status.
{
"type": "object",
"required": [
"projectId"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_get_sql_instanceGet details of a specific Cloud SQL instance.
Args:
Returns: Detailed instance information including IP addresses and settings.
{
"type": "object",
"required": [
"projectId",
"instanceName"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"instanceName": {
"type": "string",
"description": "Name of the instance"
}
}
}gcloud_delete_sql_instanceDelete a Cloud SQL instance.
Args:
Returns: Operation details for the delete request.
{
"type": "object",
"required": [
"projectId",
"instanceName"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"instanceName": {
"type": "string",
"description": "Name of the instance to delete"
}
}
}gcloud_restart_sql_instanceRestart a Cloud SQL instance.
Args:
Returns: Operation details for the restart request.
{
"type": "object",
"required": [
"projectId",
"instanceName"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"instanceName": {
"type": "string",
"description": "Name of the instance to restart"
}
}
}gcloud_get_databaseGet details of a specific database in a Cloud SQL instance.
Args:
Returns: Database details including charset and collation.
{
"type": "object",
"required": [
"projectId",
"instanceName",
"databaseName"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"databaseName": {
"type": "string",
"description": "Name of the database"
},
"instanceName": {
"type": "string",
"description": "Name of the SQL instance"
}
}
}gcloud_create_databaseCreate a new database in a Cloud SQL instance.
Args:
Returns: Operation details for the create request.
{
"type": "object",
"required": [
"projectId",
"instanceName",
"databaseName"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"databaseName": {
"type": "string",
"description": "Name for the new database"
},
"instanceName": {
"type": "string",
"description": "Name of the SQL instance"
}
}
}gcloud_delete_databaseDelete a database from a Cloud SQL instance.
Args:
Returns: Operation details for the delete request.
{
"type": "object",
"required": [
"projectId",
"instanceName",
"databaseName"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
},
"databaseName": {
"type": "string",
"description": "Name of the database to delete"
},
"instanceName": {
"type": "string",
"description": "Name of the SQL instance"
}
}
}gcloud_list_bucketsList Cloud Storage buckets in a project.
Args:
Returns: List of buckets with their location and storage class.
{
"type": "object",
"required": [
"projectId"
],
"properties": {
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_get_bucketGet details of a specific Cloud Storage bucket.
Args:
Returns: Detailed bucket information including location and storage class.
{
"type": "object",
"required": [
"bucketName"
],
"properties": {
"bucketName": {
"type": "string",
"description": "Name of the bucket"
}
}
}gcloud_create_bucketCreate a new Cloud Storage bucket.
Args:
Returns: Created bucket details.
{
"type": "object",
"required": [
"projectId",
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Name for the new bucket (globally unique)"
},
"location": {
"type": "string",
"description": "Bucket location (e.g., US, us-central1)"
},
"projectId": {
"type": "string",
"description": "GCP project ID"
}
}
}gcloud_delete_bucketDelete a Cloud Storage bucket. Bucket must be empty.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"bucketName"
],
"properties": {
"bucketName": {
"type": "string",
"description": "Name of the bucket to delete"
}
}
}gcloud_list_objectsList objects in a Cloud Storage bucket.
Args:
Returns: List of objects with their size and content type.
{
"type": "object",
"required": [
"bucketName"
],
"properties": {
"prefix": {
"type": "string",
"description": "Filter objects by prefix"
},
"bucketName": {
"type": "string",
"description": "Name of the bucket"
},
"maxResults": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Maximum results"
}
}
}gcloud_get_objectGet metadata of a specific object in Cloud Storage.
Args:
Returns: Object metadata including size, content type, and timestamps.
{
"type": "object",
"required": [
"bucketName",
"objectName"
],
"properties": {
"bucketName": {
"type": "string",
"description": "Name of the bucket"
},
"objectName": {
"type": "string",
"description": "Name of the object (full path)"
}
}
}gcloud_delete_objectDelete an object from Cloud Storage.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"bucketName",
"objectName"
],
"properties": {
"bucketName": {
"type": "string",
"description": "Name of the bucket"
},
"objectName": {
"type": "string",
"description": "Name of the object to delete"
}
}
}gcloud_copy_objectCopy an object within or between Cloud Storage buckets.
Args:
Returns: Copied object metadata.
{
"type": "object",
"required": [
"sourceBucket",
"sourceObject",
"destBucket",
"destObject"
],
"properties": {
"destBucket": {
"type": "string",
"description": "Destination bucket name"
},
"destObject": {
"type": "string",
"description": "Destination object name"
},
"sourceBucket": {
"type": "string",
"description": "Source bucket name"
},
"sourceObject": {
"type": "string",
"description": "Source object name"
}
}
}