---
title: "Lists agent tools present on the system."
method: GET
path: "/agents/tools"
tags: ["Agents"]
---

# Lists agent tools present on the system.

`GET /agents/tools`

## Request

- Base URL: `https://h2ogpte.genai.h2o.ai/api/v1`
- URL: `https://h2ogpte.genai.h2o.ai/api/v1/agents/tools`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/h2o/apis/h2ogpte-rest-api/docs/agents/tools/get.ts> (a function with typed inputs; its response is checked against the schema)

Lists agent tools present on the system.

## Response `200`

Successful operation

- AgentToolSpec[]
  - `name` string, required: The identifier representing the specific tool.
  - `description` string, required: Description of the tool.
  - `enabled` boolean, required: Specifies whether the tool is currently enabled in H2OGPT.
  - `default` boolean, required: Specifies if the tool is pre-selected by default when available.
  - `extendable` boolean, required: Specifies whether the tool supports custom API keys
  - `api_keys` AgentToolSpecApiKeys, required: The specific keys associated with an agent tool.
    - `required` string[], required: List of required keys set for the tool to function.
    - `optional` string[], required: The tool can still operate even if these keys are not set.
    - `internal` string[], required: Keys that are managed internally by the system.

## Other responses

- `400`: Bad request
- `401`: Unauthorized - Invalid or missing API key
- `500`: Internal server error
- `default`: Unexpected error

---

[API](https://skmtc.dev/h2o/apis/h2ogpte-rest-api.md) - [All operations](https://skmtc.dev/h2o/apis/h2ogpte-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/h2o/apis/h2ogpte-rest-api/revisions/a82a117320f4?raw)
