looker-delete-project-file

A “looker-delete-project-file” tool deletes a LookML file in a project.

About

A looker-delete-project-file tool deletes a LookML file in a project

It’s compatible with the following sources:

looker-delete-project-file accepts a project_id parameter and a file_path parameter.

Example

tools:
    delete_project_file:
        kind: looker-delete-project-file
        source: looker-source
        description: |
          This tool permanently deletes a specified LookML file from within a project.
          Use with caution, as this action cannot be undone through the API.

          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 delete within the project.

          Output:
          A confirmation message upon successful file deletion.

Reference

fieldtyperequireddescription
kindstringtrueMust be “looker-delete-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)