# List every Conversational-AI tool (auto-paginated)

Operation ID: `connectors.elevenlabsGetAllTools`

List every Conversational-AI tool (auto-paginated). Calls ElevenLabs through the HealthCloud connector gateway.

## Public method

`getAllTools`

Signature: `connectors.elevenlabs.createClient(config).getAllTools(body)`

Return type: `Promise<ElevenLabsGetAllToolsResult>`

## Authentication

Classification: **AUTHENTICATED**

Schemes: `bearerAuth`

## Prerequisites

None documented.

## HTTP

`POST /connectors/elevenlabs/get-all-tools`

## Path parameters

None.

## Query parameters

None.

## Body parameters

| Name | Type | Required | Format | Allowed values | Default | Nullable | Description |
|---|---|---:|---|---|---|---:|---|
| `body` | [`ElevenlabsGetAllToolsRequest`](../models/ElevenlabsGetAllToolsRequest.md) | Yes |  |  |  | No |  |

Request model: [`ElevenlabsGetAllToolsRequest`](../models/ElevenlabsGetAllToolsRequest.md)

## Request example

```json
{
  "api_key": "example-api-key",
  "mode": "sandbox"
}
```

## Success responses

| Status | Shape | Content type | Description |
|---|---|---|---|
| `200` | [`ElevenlabsGetAllToolsResponse`](../models/ElevenlabsGetAllToolsResponse.md) | application/json | Successful response |

## Success response examples

### 200

```json
[
  {
    "access_info": {
      "creator_email": "patient@example.com",
      "creator_name": "patient@example.com",
      "is_creator": true,
      "role": "admin"
    },
    "id": "example-id",
    "tool_config": {
      "api_schema": {
        "content_type": "application/json",
        "kind": "webhook",
        "method": "POST",
        "path_params_schema": {},
        "request_body_schema": {
          "description": "Use chosen AppointmentSlotID when user decides.",
          "dynamic_variable": "",
          "is_omitted": false,
          "properties": {
            "AppointmentSlotID": {}
          },
          "required": [
            "example-required"
          ],
          "type": "object"
        },
        "request_headers": {
          "Email": {
            "variable_name": "Email"
          },
          "TenantID": {
            "variable_name": "TenantID"
          }
        },
        "url": "https://dev-api-healthcheck.healthcloud-services.com/api/aitools/function/schedule_telehealth"
      },
      "assignments": [],
      "description": "schedule_telehealth for PHC Caller 2026",
      "disable_interruptions": false,
      "dynamic_variables": {
        "dynamic_variable_placeholders": {
          "Email": "patient@example.com",
          "TenantID": "healthcheck"
        }
      },
      "execution_mode": "immediate",
      "force_pre_tool_speech": false,
      "interruption_mode": "allow",
      "name": "example-name",
      "pre_tool_speech": "auto",
      "response_timeout_secs": 20,
      "tool_call_sound_behavior": "auto",
      "tool_error_handling_mode": "auto",
      "type": "webhook"
    },
    "usage_stats": {
      "avg_latency_secs": 3.53,
      "total_calls": 1
    }
  }
]
```

## Common errors

| Status | Shape | Content type | Description |
|---|---|---|---|
| `400` | [`StandardErrorResponse`](../models/StandardErrorResponse.md) | application/json | Connector validation rejected the payload, or a required field was missing or of the wrong type. |
| `401` | [`StandardErrorResponse`](../models/StandardErrorResponse.md) | application/json | The HealthCloud bearer token is missing or invalid, or the vendor rejected the supplied connector credentials. |
| `500` | [`StandardErrorResponse`](../models/StandardErrorResponse.md) | application/json | The connector failed unexpectedly. |
| `502` | [`StandardErrorResponse`](../models/StandardErrorResponse.md) | application/json | The vendor returned an application or transport-level failure. |
| `504` | [`StandardErrorResponse`](../models/StandardErrorResponse.md) | application/json | The vendor did not respond within the connector timeout. |

## Error examples

### 400 — Invalid request

```json
{
  "error": "Invalid request"
}
```

### 401 — Authorization required

```json
{
  "error": "Authorization required"
}
```

### 500 — Internal error

```json
{
  "error": "Internal error"
}
```

### 502 — Upstream vendor error

```json
{
  "error": "Upstream vendor error"
}
```

### 504 — Upstream timeout

```json
{
  "error": "Upstream timeout"
}
```

## NodeJS / TypeScript implementation

```ts
import { HCSDK } from "@healthcloudai/hc-sdk";
```

```ts
const body = {
  "api_key": "example-api-key",
  "mode": "sandbox"
};

const result = await connectors.elevenlabs.createClient(config).getAllTools(body);
```

## cURL

```bash
curl -X POST \
  -H 'Authorization: Bearer <ACCESS_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{"api_key":"example-api-key","mode":"sandbox"}' \
  'https://dev-api-connectors.health.cloud/connectors/elevenlabs/get-all-tools'
```

## Notes

None.

## Prepared Test Console scenario

No canonical scenario is currently associated.

## Real response

No approved real integration response is currently published. Unapproved candidates are never rendered as examples.
