GET
/
rest
/
api
/
v1
/
tools
/
list
from glean import Glean
import os


with Glean(
    api_token=os.getenv("GLEAN_API_TOKEN", ""),
) as g_client:

    res = g_client.client.tools.list()

    # Handle response
    print(res)
{
  "tools": [
    {
      "type": "READ",
      "name": "<string>",
      "displayName": "<string>",
      "description": "<string>",
      "parameters": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

toolNames
string[]

Optional array of tool names to filter by

Response

200
application/json

Successful operation

The response is of type object.