Nuxa
Api referenceToolsApiToolsCustom

POST /api/tools/custom

POST
/api/tools/custom

Authorization

sessionAuth
better-auth.session_token<token>

Better Auth session cookie

In: cookie

Request Body

application/json

tools?array<unknown>
title*string
schema*object
function*object
description?string
parameters*object
properties*object
required?array<unknown>

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://app.nuxa.ai/api/tools/custom" \  -H "Content-Type: application/json" \  -d '{    "title": "string",    "schema": {},    "function": {},    "parameters": {},    "properties": {}  }'
{}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}