Files
genai-toolbox/docs/en/resources/tools/looker/looker-create-project-file.md
Dr. Strangelove 285aa46b88 feat(looker/tools): Enhance dashboard creation with dashboard filters (#2133)
## Description

Enhance dashboard creation with dashboard level filters. Also improve
tool descriptions.

## PR Checklist

> Thank you for opening a Pull Request! Before submitting your PR, there
are a
> few things you can do to make sure it goes smoothly:

- [X] Make sure you reviewed

[CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md)
- [x] Make sure to open an issue as a

[bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose)
  before writing your code! That way we can discuss the change, evaluate
  designs, and agree on the general idea
- [x] Ensure the tests and linter pass
- [x] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)
- [x] Make sure to add `!` if this involve a breaking change
2025-12-10 13:30:20 -08:00

1.7 KiB

title, type, weight, description, aliases
title type weight description aliases
looker-create-project-file docs 1 A "looker-create-project-file" tool creates a new LookML file in a project.
/resources/tools/looker-create-project-file

About

A looker-create-project-file tool creates a new LookML file in a project

It's compatible with the following sources:

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

Example

tools:
    create_project_file:
        kind: looker-create-project-file
        source: looker-source
        description: |
          This tool creates a new LookML file within a specified project, populating
          it with the provided content.

          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 desired path and filename for the new file within the project.
          - content (required): The full LookML content to write into the new file.

          Output:
          A confirmation message upon successful file creation.

Reference

field type required description
kind string true Must be "looker-create-project-file".
source string true Name of the source Looker instance.
description string true Description of the tool that is passed to the LLM.