looker-update-project-file

A “looker-update-project-file” tool updates the content of a LookML file in a project.

About

A looker-update-project-file tool updates the content of a LookML file.

It’s compatible with the following sources:

looker-update-project-file accepts a project_id parameter and a file_path parameter as well as the new file content.

Example

tools:
    update_project_file:
        kind: looker-update-project-file
        source: looker-source
        description: |
          This tool modifies the content of an existing LookML file within a specified project.

          Prerequisite: The Looker session must be in Development Mode. Use `dev_mode: true` first.

          Parameters:
          - project_id (required): The unique ID of the LookML project.
          - file_path (required): The exact path to the LookML file to modify within the project.
          - content (required): The new, complete LookML content to overwrite the existing file.

          Output:
          A confirmation message upon successful file modification.

Reference

fieldtyperequireddescription
kindstringtrueMust be “looker-update-project-file”.
sourcestringtrueName of the source Looker instance.
descriptionstringtrueDescription of the tool that is passed to the LLM.
Last modified December 19, 2025: chore(main): release 0.24.0 (#2162) (f520b4e)