Skip to main content
POST
/
tools
Create a new tool
curl --request POST \
  --url http://localhost:8080/api/v1/tools \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "data": {
    "attributes": {
      "auth_key": "<string>",
      "auth_schema_name": "<string>",
      "description": "<string>",
      "name": "<string>",
      "oas_spec": [
        123
      ],
      "privacy_score": 123,
      "tool_type": "<string>"
    },
    "type": "<string>"
  }
}
'
{
  "attributes": {
    "auth_key": "<string>",
    "auth_schema_name": "<string>",
    "description": "<string>",
    "name": "<string>",
    "oas_spec": [
      123
    ],
    "operations": [
      "<string>"
    ],
    "privacy_score": 123,
    "tool_type": "<string>"
  },
  "id": "<string>",
  "type": "<string>"
}

Authorizations

Authorization
string
header
required

Body

application/json

Tool information

Tool input model

data
object

Response

Created

Tool response model

attributes
object
id
string
type
string