---
title: "Create Toolfunction"
method: POST
path: "/api/v1/toolfunction"
tags: ["Tool Function"]
---

# Create Toolfunction

`POST /api/v1/toolfunction`

Create a toolfunction

## Request body

- IToolFunctionCreate
  - `name` string, nullable, required
  - `description` string, nullable, required
  - `tool_function_type` 'sdk' | 'curl' | 'query_index', required
  - `details` object
  - `tool_id` string, uuid, nullable
  - `is_enabled` boolean, nullable

## Response `201`

Successful Response

- IPostResponseBaseIToolFunctionCreate
  - `message` string, nullable
  - `meta` union
    - object
    - unknown
  - `data` IToolFunctionCreate
    - `name` string, nullable, required
    - `description` string, nullable, required
    - `tool_function_type` 'sdk' | 'curl' | 'query_index', required
    - `details` object
    - `tool_id` string, uuid, nullable
    - `is_enabled` boolean, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/insighto/apis/ragify.md) · [All operations](https://skmtc.net/insighto/apis/ragify/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/insighto/ragify/versions/cdca56191be9/schema)
