Back to Genai Toolbox

Get Git Branch Tool

docs/en/integrations/looker/tools/looker-get-git-branch.md

1.1.01.1 KB
Original Source

About

A looker-get-git-branch tool is used to retrieve the current git branch of a LookML project.

Compatible Sources

{{< compatible-sources >}}

Parameters

fieldtyperequireddescription
project_idstringtrueThe unique ID of the LookML project.

Example

yaml
kind: tool
name: get_project_git_branch
type: looker-get-git-branch
source: looker-source
description: |
  This tool is used to retrieve the current git branch of a LookML
  project.

Reference

fieldtyperequireddescription
typestringtrueMust be "looker-get-git-branch".
sourcestringtrueName of the source.
descriptionstringtrueDescription of the tool that is passed to the LLM.