Back to Genai Toolbox

looker-create-agent Tool

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

1.1.01.4 KB
Original Source

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.
  - `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-create-agent".
sourcestringtrueName of the Looker source.
descriptionstringtrueDescription of the tool that is passed to the LLM.