Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
21 changes: 12 additions & 9 deletions docs/en/resources/tools/looker/looker-agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,18 @@ name: agent_manage
type: looker-agent
source: my_looker_source
description: |
Manage Looker AI Agents.
Manage Looker AI Agents. This tool allows you to perform various operations on Looker Agents,
including listing all available agents, retrieving details for a specific agent,
creating a new agent, and deleting an existing one.

Parameters:
- operation (required): The action to perform.
- 'list': Returns a list of all existing agents. No other parameters needed.
- 'get': Retrieves detailed information about a specific agent. Requires 'agent_id'.
- 'create': Creates a new Looker AI Agent. Requires 'name'.
- 'delete': Removes an existing agent. Requires 'agent_id'.
- agent_id (optional): The unique identifier of the agent. Required for 'get' and 'delete' operations.
- name (optional): The display name for the new agent. Required for 'create' operation.
```

## Parameters
Expand Down Expand Up @@ -76,11 +87,3 @@ Delete an agent by its ID.

## Dependencies
This tool requires the underlying Looker Go SDK to support the `Agent` API resource (v0.26.6+).

## Reference

| **field** | **type** | **required** | **description** |
|-------------|:--------:|:------------:|----------------------------------------------------|
| type | string | true | Must be "looker-agent". |
| source | string | true | Name of the source the SQL should execute on. |
| description | string | true | Description of the tool that is passed to the LLM. |
6 changes: 3 additions & 3 deletions internal/tools/looker/lookeragent/lookeragent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ func TestParseFromYamlLookerAgent(t *testing.T) {
desc: "basic example",
in: `
kind: tool
name: example_tool
name: agent_manage
type: looker-agent
source: my-instance
description: some description
`,
want: server.ToolConfigs{
"example_tool": lkr.Config{
Name: "example_tool",
"agent_manage": lkr.Config{
Name: "agent_manage",
Type: "looker-agent",
Source: "my-instance",
Description: "some description",
Expand Down