GET
/
tool
/
{tool_id}
Get Custom Tool
curl --request GET \
  --url https://cloud.onyx.app/api/tool/{tool_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": 123,
  "name": "<string>",
  "description": "<string>",
  "definition": {},
  "display_name": "<string>",
  "in_code_tool_id": "<string>",
  "custom_headers": [
    "<any>"
  ],
  "passthrough_auth": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

tool_id
integer
required

Response

200
application/json

Successful Response

The response is of type object.