Switch Git Branch Tool

A “looker-switch-git-branch” tool is used to switch the git branch of a LookML project.

About

A looker-switch-git-branch tool is used to switch the git branch of a LookML project.

Compatible Sources

This tool can be used with the following database sources:

Source Name
Looker Source

Parameters

fieldtyperequireddescription
project_idstringtrueThe unique ID of the LookML project.
branchstringtrueThe git branch to switch to.
refstringfalseThe ref to switch the branch to using reset --hard.

Example

kind: tool
name: switch_project_git_branch
type: looker-switch-git-branch
source: looker-source
description: |
  This tool is used to switch the git branch of a LookML
  project. This only works in dev mode.

Reference

fieldtyperequireddescription
typestringtrueMust be “looker-switch-git-branch”.
sourcestringtrueName of the source.
descriptionstringtrueDescription of the tool that is passed to the LLM.



Last modified April 13, 2026: chore(main): release 1.1.0 (#3024) (da6f5f8)