---
title: "Update Toolfunction By Id"
method: PUT
path: "/api/v1/toolfunction/{toolfunction_id}"
tags: ["Tool Function"]
---

# Update Toolfunction By Id

`PUT /api/v1/toolfunction/{toolfunction_id}`

Update toolfunction

## Path parameters

- `toolfunction_id` string, uuid, required

## Request body

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

## Response `200`

Successful Response

- IPutResponseBaseIToolFunctionUpdate
  - `message` string, nullable
  - `meta` union
    - object
    - unknown
  - `data` IToolFunctionUpdate
    - `name` string, nullable
    - `description` string, nullable
    - `tool_function_type` 'sdk' | 'curl' | 'query_index'
    - `details` object, nullable
    - `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)
