Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
33e0a57
feat(tools/looker): add looker-agent tool
hiracky16 Mar 24, 2026
089ad98
fix(tools/looker): address copilot review feedback
hiracky16 Mar 24, 2026
afd8cde
fix(tools/looker): update error status codes to 400 for client errors
hiracky16 Mar 24, 2026
5df7717
docs(tools/looker): remove duplicate documentation file
hiracky16 Mar 24, 2026
bdf0205
fix(tools/looker): Minor fixes to docs and lookeragent.go
drstrangelooker Mar 24, 2026
8905e5b
fix(tools/looker): address feedback for agent tool (#2834)
hiracky16 Mar 25, 2026
e2c5ced
Merge remote-tracking branch 'origin/main' into looker-agent
drstrangelooker Mar 25, 2026
900e7c3
fix(tools/looker): support instructions, sources, and code interprete…
hiracky16 Mar 26, 2026
1c9944a
fix(tools/looker): address CI failures and enhance agent tool functio…
hiracky16 Mar 30, 2026
a93cb6b
Merge branch 'main' into looker-agent
drstrangelooker Mar 30, 2026
877e1b0
docs: fix location of looker-agent in docs
drstrangelooker Mar 30, 2026
7a08114
docs: fix looker-agent.md
drstrangelooker Mar 30, 2026
f571e9e
docs: fix looker-agent.md
drstrangelooker Mar 30, 2026
88926dc
Merge remote-tracking branch 'origin/main' into looker-agent
drstrangelooker Mar 31, 2026
12f5de2
docs: remove aliases from looker-agent.md
drstrangelooker Mar 31, 2026
8887deb
Merge branch 'main' into looker-agent
drstrangelooker Apr 1, 2026
8ef8780
Merge branch 'main' into looker-agent
drstrangelooker Apr 1, 2026
e1e295f
Merge branch 'main' into looker-agent
drstrangelooker Apr 1, 2026
5b35207
Merge remote-tracking branch 'origin/main' into looker-agent
drstrangelooker Apr 1, 2026
b487ff3
feat(tools/looker): refactor into five tools
drstrangelooker Apr 1, 2026
a05e0e8
fix(tool/looker): fix tests
drstrangelooker Apr 1, 2026
0f1314a
Merge remote-tracking branch 'origin/main' into looker-agent
drstrangelooker Apr 1, 2026
0d100d2
fix(tools/looker): refine datatypes and tests for create-agent and up…
drstrangelooker Apr 1, 2026
5fd2693
docs(tools/looker): updated docs for the looker agent management tools.
drstrangelooker Apr 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions cmd/internal/imports.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,16 @@ import (
_ "github.com/googleapis/genai-toolbox/internal/tools/looker/lookeradddashboardelement"
_ "github.com/googleapis/genai-toolbox/internal/tools/looker/lookeradddashboardfilter"
_ "github.com/googleapis/genai-toolbox/internal/tools/looker/lookerconversationalanalytics"
_ "github.com/googleapis/genai-toolbox/internal/tools/looker/lookercreateagent"
_ "github.com/googleapis/genai-toolbox/internal/tools/looker/lookercreateprojectdirectory"
_ "github.com/googleapis/genai-toolbox/internal/tools/looker/lookercreateprojectfile"
_ "github.com/googleapis/genai-toolbox/internal/tools/looker/lookercreateviewfromtable"
_ "github.com/googleapis/genai-toolbox/internal/tools/looker/lookerdeleteagent"
_ "github.com/googleapis/genai-toolbox/internal/tools/looker/lookerdeleteprojectdirectory"
_ "github.com/googleapis/genai-toolbox/internal/tools/looker/lookerdeleteprojectfile"
_ "github.com/googleapis/genai-toolbox/internal/tools/looker/lookerdevmode"
_ "github.com/googleapis/genai-toolbox/internal/tools/looker/lookergenerateembedurl"
_ "github.com/googleapis/genai-toolbox/internal/tools/looker/lookergetagent"
_ "github.com/googleapis/genai-toolbox/internal/tools/looker/lookergetconnectiondatabases"
_ "github.com/googleapis/genai-toolbox/internal/tools/looker/lookergetconnections"
_ "github.com/googleapis/genai-toolbox/internal/tools/looker/lookergetconnectionschemas"
Expand All @@ -139,6 +142,7 @@ import (
_ "github.com/googleapis/genai-toolbox/internal/tools/looker/lookerhealthanalyze"
_ "github.com/googleapis/genai-toolbox/internal/tools/looker/lookerhealthpulse"
_ "github.com/googleapis/genai-toolbox/internal/tools/looker/lookerhealthvacuum"
_ "github.com/googleapis/genai-toolbox/internal/tools/looker/lookerlistagents"
_ "github.com/googleapis/genai-toolbox/internal/tools/looker/lookermakedashboard"
_ "github.com/googleapis/genai-toolbox/internal/tools/looker/lookermakelook"
_ "github.com/googleapis/genai-toolbox/internal/tools/looker/lookerquery"
Expand All @@ -147,6 +151,7 @@ import (
_ "github.com/googleapis/genai-toolbox/internal/tools/looker/lookerrundashboard"
_ "github.com/googleapis/genai-toolbox/internal/tools/looker/lookerrunlook"
_ "github.com/googleapis/genai-toolbox/internal/tools/looker/lookerrunlookmltests"
_ "github.com/googleapis/genai-toolbox/internal/tools/looker/lookerupdateagent"
_ "github.com/googleapis/genai-toolbox/internal/tools/looker/lookerupdateprojectfile"
_ "github.com/googleapis/genai-toolbox/internal/tools/looker/lookervalidateproject"
_ "github.com/googleapis/genai-toolbox/internal/tools/mindsdb/mindsdbexecutesql"
Expand Down
50 changes: 50 additions & 0 deletions docs/en/integrations/looker/tools/looker-create-agent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
title: "looker-create-agent"
type: docs
weight: 1
description: >
"looker-create-agent" creates a Looker Conversation Analytics agent.
---

## About

The `looker-create-agent` tool allows LLMs to create a Looker Agent using the Looker Go SDK.

```json
{
"name": "looker-create-agent",
"parameters": {
"name": "My Agent",
"instructions": "You are a helpful assistant.",
"sources": [{"model": "my_model", "explore": "my_explore"}],
"code_interpreter": true
}
}
```

## Compatible Sources

{{< compatible-sources >}}

## Example

```yaml
kind: tool
name: create_agent
type: looker-create-agent
source: my-looker-instance
description: |
Create a new Looker agent.
- `name` (string): The name of the agent.
- `instructions` (string): The instructions (system prompt) for the agent.
- `sources` (array): Optional. A list of JSON-encoded data sources for the agent (e.g., `[{"model": "my_model", "explore": "my_explore"}]`).
- `code_interpreter` (boolean): Optional. Enables Code Interpreter for this Agent.
```

## Reference

| **field** | **type** | **required** | **description** |
|-------------|:--------:|:------------:|----------------------------------------------------|
| type | string | true | Must be "looker-create-agent". |
| source | string | true | Name of the Looker source. |
| description | string | true | Description of the tool that is passed to the LLM. |
46 changes: 46 additions & 0 deletions docs/en/integrations/looker/tools/looker-delete-agent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
title: "looker-delete-agent"
type: docs
weight: 1
description: >
"looker-delete-agent" deletes a Looker Conversation Analytics agent.
---

## About

The `looker-delete-agent` tool allows LLMs to delete a Looker Agent using the Looker Go SDK.

```json
{
"name": "looker-delete-agent",
"parameters": {
"agent_id": "123"
}
}
```

## Compatible Sources

{{< compatible-sources >}}

## Example

To use the `looker-delete-agent` tool, you must define it in your `server.yaml` file.

```yaml
kind: tool
name: delete_agent
type: looker-delete-agent
source: my-looker-instance
description: |
Delete a Looker agent.
- `agent_id` (string): The ID of the agent.
```

## Reference

| **field** | **type** | **required** | **description** |
|-------------|:--------:|:------------:|----------------------------------------------------|
| type | string | true | Must be "looker-delete-agent". |
| source | string | true | Name of the Looker source. |
| description | string | true | Description of the tool that is passed to the LLM. |
46 changes: 46 additions & 0 deletions docs/en/integrations/looker/tools/looker-get-agent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
title: "looker-get-agent"
type: docs
weight: 1
description: >
"looker-get-agent" retrieves a Looker Conversation Analytics agent.
---

## About

The `looker-get-agent` tool allows LLMs to retrieve a specific Looker Agent by ID using the Looker Go SDK.

To use the `looker-get-agent` tool, you must define it in your `server.yaml` file.

```json
{
"name": "looker-get-agent",
"parameters": {
"agent_id": "123"
}
}
```

## Compatible Sources

{{< compatible-sources >}}

## Example

```yaml
kind: tool
name: get_agent
type: looker-get-agent
source: my-looker-instance
description: |
Retrieve a Looker agent.
- `agent_id` (string): The ID of the agent.
```

## Reference

| **field** | **type** | **required** | **description** |
|-------------|:--------:|:------------:|----------------------------------------------------|
| type | string | true | Must be "looker-get-agent". |
| source | string | true | Name of the Looker source. |
| description | string | true | Description of the tool that is passed to the LLM. |
43 changes: 43 additions & 0 deletions docs/en/integrations/looker/tools/looker-list-agents.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
title: "looker-list-agents"
type: docs
weight: 1
description: >
"looker-list-agents" retrieves the list of Looker Conversation Analytics agents.
---

## About

The `looker-list-agents` tool allows LLMs to list Looker Agents using the Looker Go SDK.

```json
{
"name": "looker-list-agents"
}
```

## Compatible Sources

{{< compatible-sources >}}

## Example

To use the `looker-list-agents` tool, you must define it in your `server.yaml` file.

```yaml
kind: tool
name: list_agents
type: looker-list-agents
source: my-looker-instance
description: |
List all Looker agents.
This tool takes no parameters.
```

## Reference

| **field** | **type** | **required** | **description** |
|-------------|:--------:|:------------:|----------------------------------------------------|
| type | string | true | Must be "looker-list-agents". |
| source | string | true | Name of the Looker source. |
| description | string | true | Description of the tool that is passed to the LLM. |
51 changes: 51 additions & 0 deletions docs/en/integrations/looker/tools/looker-update-agent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
title: "looker-update-agent Tool"
type: docs
weight: 1
description: >
"looker-update-agent" updates a Looker Conversation Analytics agent.
---

## About

The `looker-update-agent` tool allows LLMs to update an existing Looker Agent using the Looker Go SDK.

```json
{
"name": "looker-update-agent",
"parameters": {
"agent_id": "123",
"name": "Updated Agent Name"
}
}
```

## Compatible Sources

{{< compatible-sources >}}

## Example

To use the `looker-update-agent` tool, you must define it in your `server.yaml` file.

```yaml
kind: tool
name: update_agent
type: looker-update-agent
source: my-looker-instance
description: |
Update a Looker agent.
- `agent_id` (string): The ID of the agent.
- `name` (string): The name of the agent.
- `instructions` (string): The instructions (system prompt) for the agent.
- `sources` (array): Optional. A list of JSON-encoded data sources for the agent (e.g., `[{"model": "my_model", "explore": "my_explore"}]`).
- `code_interpreter` (boolean): Optional. Enables Code Interpreter for this Agent.
```

## Reference

| **field** | **type** | **required** | **description** |
|-------------|:--------:|:------------:|----------------------------------------------------|
| type | string | true | Must be "looker-update-agents". |
| source | string | true | Name of the Looker source. |
| description | string | true | Description of the tool that is passed to the LLM. |
2 changes: 0 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ module github.com/googleapis/genai-toolbox

go 1.25.7

toolchain go1.26.1
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert?


require (
cloud.google.com/go/alloydbconn v1.18.0
cloud.google.com/go/bigquery v1.74.0
Expand Down
Loading
Loading