curl --request POST \
  --url https://api.honeyhive.ai/tools \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "task": "<string>",
  "name": "<string>",
  "description": "<string>",
  "parameters": {},
  "type": "function"
}'
{
  "result": {
    "insertedId": "<string>"
  }
}

Authorizations

Authorization
string
headerrequired

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

Body

application/json
task
string
required

Name of the project associated with this tool

name
string
required
description
string
parameters
object
required

These can be function call params or plugin call params

type
enum<string>
required
Available options:
function,
tool

Response

200 - application/json
result
object