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

1.8 KiB

title, type, weight, description
title type weight description
serverless-spark-get-session-template docs 1 A "serverless-spark-get-session-template" tool retrieves a specific Spark session template from the source.

About

A serverless-spark-get-session-template tool retrieves a specific Spark session template from a Google Cloud Serverless for Apache Spark source.

serverless-spark-get-session-template accepts the following parameters:

  • name (required): The short name of the session template, e.g. for projects/my-project/locations/us-central1/sessionTemplates/my-session-template, pass my-session-template.

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

Compatible Sources

{{< compatible-sources >}}

Example

kind: tool
name: get_spark_session_template
type: serverless-spark-get-session-template
source: my-serverless-spark-source
description: Use this tool to get details of a serverless spark session template.

Output Format

{
  "sessionTemplate": { 
    "name": "projects/my-project/locations/us-central1/sessionTemplates/my-session-template",
    "description": "Template for Spark Session",
    // ... complete session template resource definition
  }
}

Reference

field type required description
type string true Must be "serverless-spark-get-session-template".
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