Skip to main content
POST
/
tools
Create Tool
curl --request POST \
  --url https://api.truedy.ai/api/public/v1/tools \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Weather Lookup",
  "description": "Get current weather information",
  "endpoint": "https://api.weather.com/v1/current",
  "method": "GET",
  "authentication": {
    "type": "bearer",
    "token": "your-api-key"
  }
}
'
{
  "data": {
    "id": "tool_6e773da9-5",
    "name": "Weather Lookup",
    "description": "Get current weather information",
    "endpoint": "https://api.weather.com/v1/current",
    "method": "GET",
    "status": "active",
    "created_at": "2026-03-03T20:30:21.310278Z"
  },
  "meta": {
    "request_id": "req_32e7531c-8",
    "timestamp": "2026-03-03T20:30:21.310278Z"
  }
}

Authorizations

Authorization
string
header
required

Your API key. Get it from the Truedy Dashboard. Send as: Authorization: Bearer <your_key>

Headers

X-Idempotency-Key
string | null

Body

application/json

The body is of type Tool Data · object.

Response

Resource created successfully

Response body