serverless-spark-get-session-template

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. It’s compatible with the following sources:

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.

Example

kind: tools
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.

Response Format

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

Reference

fieldtyperequireddescription
typestringtrueMust be “serverless-spark-get-session-template”.
sourcestringtrueName of the source the tool should use.
descriptionstringtrueDescription of the tool that is passed to the LLM.
authRequiredstring[]falseList of auth services required to invoke this tool
Last modified March 13, 2026: chore(main): release 0.29.0 (#2608) (39832a0)