---
title: "Check tool allowed"
url: https://hexelstudio.com/docs/api/titan/tool-registry/allowed
---

# Check tool allowed

**GET** `/titan/tools/workspaces/{workspace_id}/tools/{tool_slug}/allowed`

Check if tool is allowed for workspace

Requires permission `tool-gateway:tool:read`.

## Path parameters

- `workspace_id: string`

- `tool_slug: string`

## Headers

- `Authorization: string`

  `Bearer <token>`. A Hexel Studio access token for a member or a service user of your organization (or send a service user's API key as X-API-Key).

- `X-Workspace-Id: optional string`

  Workspace scope used by permission checks, if applicable.

- `X-Environment-Id: optional string`

  Optional environment scope.

## Returns

`200` OK (`object`)

## Errors

- `401` Unauthenticated: token missing or rejected at the edge
- `403` Forbidden: caller lacks the required permission

## Example

```bash
curl --request GET \
  --url 'https://api.hexelstudio.com/v1/titan/tools/workspaces/{workspace_id}/tools/{tool_slug}/allowed' \
  --header "Authorization: Bearer $ACCESS_TOKEN"
```

### Response (200)

```json
{}
```
