Create tool

Create a new tool definition.

Authentication

AuthorizationBearer
API key or Clerk session token

Request

This endpoint expects an object.
configmap from strings to anyRequired
descriptionstringRequired1-500 characters
namestringRequired1-100 characters
parametersSchemamap from strings to anyRequired
toolTypeenumRequired

Response

Created tool
configmap from strings to any or null
createdAtstring
descriptionstring or null
idstring
isActiveboolean
namestring
organizationIdstring or null
toolTypestring
updatedAtstring
userIdstring
lastModifiedSourcestring or null
parametersSchemamap from strings to any
validationobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error