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.7 KiB

title, type, weight, description
title type weight description
serverless-spark-cancel-batch docs 2 A "serverless-spark-cancel-batch" tool cancels a running Spark batch operation.

About

serverless-spark-cancel-batch tool cancels a running Spark batch operation in a Google Cloud Serverless for Apache Spark source. The cancellation request is asynchronous, so the batch state will not change immediately after the tool returns; it can take a minute or so for the cancellation to be reflected.

serverless-spark-cancel-batch accepts the following parameters:

  • operation (required): The name of the operation to cancel. For example, for projects/my-project/locations/us-central1/operations/my-operation, you would pass my-operation.

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

Compatible Sources

{{< compatible-sources >}}

Example

kind: tool
name: cancel_spark_batch
type: serverless-spark-cancel-batch
source: my-serverless-spark-source
description: Use this tool to cancel a running serverless spark batch operation.

Output Format

"Cancelled [projects/my-project/regions/us-central1/operations/my-operation]."

Reference

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