looker-update-agent Tool

“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.

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

Compatible Sources

This tool can be used with the following database sources:

Source Name
Looker Source

Example

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

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.
  - `description` (string): The description 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

fieldtyperequireddescription
typestringtrueMust be “looker-update-agent”.
sourcestringtrueName of the Looker source.
descriptionstringtrueDescription of the tool that is passed to the LLM.