Skip to main content
GET
/
api
/
public
/
v2
/
tool-registry
/
{identifier}
Get Tool Registry
curl --request GET \
  --url https://api.promptlayer.com/api/public/v2/tool-registry/{identifier} \
  --header 'X-API-KEY: <api-key>'
{
  "success": true,
  "tool_registry": {
    "id": 123,
    "name": "<string>",
    "workspace_id": 123,
    "labels": [
      {}
    ],
    "version": {},
    "tool_definition": {}
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.promptlayer.com/llms.txt

Use this file to discover all available pages before exploring further.

Retrieve a tool from the Tool Registry by ID or name. Optionally resolve a specific version using the label or version query parameter. If neither is specified, the latest version is returned. The identifier can be either:
  • A numeric tool ID (e.g., 123)
  • A tool name (e.g., get_weather)

Authorizations

X-API-KEY
string
header
required

Path Parameters

identifier
string
required

Tool ID (numeric) or name

Query Parameters

label
string

Resolve version by label name (e.g. production)

version
string

Resolve by specific version number

Response

Successful Response

success
boolean
tool_registry
object