---
title: "listOrgExtensionVersionTools"
---

> Documentation Index
> Fetch the complete documentation index at: https://buildrforge.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# listOrgExtensionVersionTools

Path: Forge API › registry

`GET /orgs/{org_id}/extensions/{name}/versions/{version}/tools`

List the tools a release declares, with their input and output schemas. Pass names, comma-separated, for just those tools.

## Path parameters

- `org_id` (`listOrgExtensionVersionTools.path.org_id`; string, required)
  - pattern: `^org_[0-7][0-9a-hjkmnp-tv-z]{25}$`
- `name` (`listOrgExtensionVersionTools.path.name`; string, required)
  - maxLength: `129` · pattern: `^[a-z0-9]+(?:-[a-z0-9]+)*\.[a-z0-9]+(?:-[a-z0-9]+)*$`
- `version` (`listOrgExtensionVersionTools.path.version`; string, required) — A release, MAJOR.MINOR.PATCH. Only releases are in the org registry, and only releases install. A prerelease (MAJOR.MINOR.PATCH-pre.<commit>) runs only in the repo that defines the extension: read it there at the commit commit_<commit>. listRepoCommitExtensionPublications (`extensions list-commit-extension-publications --commit`) names the version each extension published at a commit, and the repo's extension reads at that commit (`extensions list-extensions` or `extensions read-files` with `--commit`) return its content.

## Query parameters

- `names` (`listOrgExtensionVersionTools.query.names`; string, optional)

## Code samples

### cURL

```bash
curl --request GET \
  --url '<base-url>/orgs/<org_id>/extensions/<name>/versions/<version>/tools'
```

### TypeScript

```typescript
const url = '<base-url>/orgs/<org_id>/extensions/<name>/versions/<version>/tools';
const options = {method: 'GET'};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "<base-url>/orgs/<org_id>/extensions/<name>/versions/<version>/tools"

response = requests.get(url)

print(response.text)
```

## Responses

### 200

Success

#### Example

```json
[
  {
    "name": "string",
    "description": "string",
    "input_schema": {},
    "output_schema": {}
  }
]
```

- `name` (`listOrgExtensionVersionTools.response.200.name`; string, required)
  - maxLength: `128` · pattern: `^[A-Za-z_][A-Za-z0-9_]*(?:\.[A-Za-z_][A-Za-z0-9_]*)*$`
- `description` (`listOrgExtensionVersionTools.response.200.description`; string, required)
- `input_schema` (`listOrgExtensionVersionTools.response.200.input_schema`; object, required)
- `output_schema` (`listOrgExtensionVersionTools.response.200.output_schema`; any of, required)
  - any of the following: `object`, `null`

### 400

InvalidRequest

#### Example

```json
{
  "_tag": "InvalidRequest",
  "part": "path",
  "issues": [
    {
      "path": [
        "string"
      ],
      "message": "string"
    }
  ]
}
```

- `_tag` (`listOrgExtensionVersionTools.response.400._tag`; string, required)
  - one of `"InvalidRequest"`
- `part` (`listOrgExtensionVersionTools.response.400.part`; string, required)
  - one of `"path"`, `"query"`, `"headers"`, `"body"`
- `issues` (`listOrgExtensionVersionTools.response.400.issues`; array of object, required)
  - `path` (`listOrgExtensionVersionTools.response.400.issues.path`; array\<any of\>, required)
    - any of the following: `string`, `integer`
  - `message` (`listOrgExtensionVersionTools.response.400.issues.message`; string, required)

### 401

InvalidCredentials

#### Example

```json
{
  "_tag": "InvalidCredentials"
}
```

- `_tag` (`listOrgExtensionVersionTools.response.401._tag`; string, required)
  - one of `"InvalidCredentials"`

### 403

ForbiddenOrigin | RequiresPersonalSession | RunBranchRequired

#### Example

```json
{
  "_tag": "ForbiddenOrigin"
}
```

Any of the following:

- `ForbiddenOriginEncoded`
  - `_tag` (`ForbiddenOriginEncoded._tag`; string, required)
    - one of `"ForbiddenOrigin"`
- `RequiresPersonalSessionEncoded`
  - `_tag` (`RequiresPersonalSessionEncoded._tag`; string, required)
    - one of `"RequiresPersonalSession"`
- `RunBranchRequiredEncoded`
  - `_tag` (`RunBranchRequiredEncoded._tag`; string, required)
    - one of `"RunBranchRequired"`
  - `branch` (`RunBranchRequiredEncoded.branch`; string, required)
    - minLength: `1`
  - `message` (`RunBranchRequiredEncoded.message`; string, required)

### 404

ExtensionVersionNotFound | OrgNotFound

#### Example

```json
{
  "_tag": "ExtensionVersionNotFound",
  "extension_name": "string",
  "version": "string",
  "message": "string"
}
```

Any of the following:

- `ExtensionVersionNotFoundEncoded`
  - `_tag` (`ExtensionVersionNotFoundEncoded._tag`; string, required)
    - one of `"ExtensionVersionNotFound"`
  - `extension_name` (`ExtensionVersionNotFoundEncoded.extension_name`; string, required)
    - minLength: `1`
  - `version` (`ExtensionVersionNotFoundEncoded.version`; string, required)
  - `message` (`ExtensionVersionNotFoundEncoded.message`; string, required)
- `OrgNotFoundEncoded`
  - `_tag` (`OrgNotFoundEncoded._tag`; string, required)
    - one of `"OrgNotFound"`

### 429

RateLimited

#### Example

```json
{
  "_tag": "RateLimited"
}
```

- `_tag` (`listOrgExtensionVersionTools.response.429._tag`; string, required)
  - one of `"RateLimited"`

### 500

OrgFailure

#### Example

```json
{
  "_tag": "OrgFailure",
  "reason": "string"
}
```

- `_tag` (`listOrgExtensionVersionTools.response.500._tag`; string, required)
  - one of `"OrgFailure"`
- `reason` (`listOrgExtensionVersionTools.response.500.reason`; string, required)

### 503

SessionUnavailable | RateLimitUnavailable

#### Example

```json
{
  "_tag": "SessionUnavailable"
}
```

Any of the following:

- `SessionUnavailableEncoded`
  - `_tag` (`SessionUnavailableEncoded._tag`; string, required)
    - one of `"SessionUnavailable"`
- `RateLimitUnavailableEncoded`
  - `_tag` (`RateLimitUnavailableEncoded._tag`; string, required)
    - one of `"RateLimitUnavailable"`


Source: https://buildrforge.com/docs/api/list-org-extension-version-tools/index.md
