Back to Genai Toolbox

Create Git Branch Tool

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

1.1.01.3 KB
Original Source

About

A looker-create-git-branch tool is used to create a new git branch for a LookML project.

Compatible Sources

{{< compatible-sources >}}

Parameters

fieldtyperequireddescription
project_idstringtrueThe unique ID of the LookML project.
branchstringtrueThe git branch to create.
refstringfalseThe ref to use as the start of a new branch. Defaults to HEAD of current branch.

Example

yaml
kind: tool
name: create_project_git_branch
type: looker-create-git-branch
source: looker-source
description: |
  This tool is used to create a new git branch of a LookML
  project. This only works in dev mode.

Reference

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