Files
wehub-resource-sync e04ed9c211
CF: Deploy Dev Docs / deploy (push) Has been cancelled
Sync Labels / build (push) Has been cancelled
tests / unit tests (macos-latest) (push) Has been cancelled
tests / unit tests (windows-latest) (push) Has been cancelled
tests / unit tests (ubuntu-latest) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:32:45 +08:00

2.1 KiB

title, type, weight, description
title type weight description
dataproc-get-cluster docs 1 A "dataproc-get-cluster" tool retrieves a specific Dataproc cluster from the source.

About

A dataproc-get-cluster tool retrieves a specific Dataproc cluster from a Google Cloud Dataproc source.

dataproc-get-cluster accepts the following parameters:

  • clusterName The short name of the cluster to retrieve. e.g. for projects/my-project/regions/us-central1/clusters/my-cluster, pass my-cluster.

The tool gets the project and region from the source configuration.

Compatible Sources

{{< compatible-sources >}}

Example

kind: tool
name: get_cluster
type: dataproc-get-cluster
source: my-dataproc-source
description: Use this tool to get details of a Dataproc cluster.

Output Format

{
  "cluster": {
    "name": "projects/my-project/regions/us-central1/clusters/my-cluster",
    "uuid": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
    "state": "RUNNING",
    "createTime": "2023-10-27T10:00:00Z",
  },
  "consoleUrl": "https://console.cloud.google.com/dataproc/clusters/my-cluster/monitoring?region=us-central1&project=my-project",
  "logsUrl": "https://console.cloud.google.com/logs/viewer?advancedFilter=resource.type%3D%22cloud_dataproc_cluster%22%0Aresource.labels.project_id%3D%22my-project%22%0Aresource.labels.region%3D%22us-central1%22%0Aresource.labels.cluster_name%3D%22my-cluster%22%0Aresource.labels.cluster_uuid%3D%22a1b2c3d4-e5f6-7890-1234-567890abcdef%22&project=my-project&resource=cloud_dataproc_cluster%2Fcluster_name%2Fmy-cluster"
}

Reference

field type required description
type string true Must be "dataproc-get-cluster".
source string true Name of the source the tool should use.
description string true Description of the tool that is passed to the LLM.
authRequired string[] false List of auth services required to invoke this tool