Back to Genai Toolbox

looker-update-agent Tool

docs/en/integrations/looker/tools/looker-update-agent.md

1.1.01.4 KB
Original Source

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