---
title: "Update Tool User Preferences"
method: PATCH
path: "/tool/{tool_id}/preferences"
tags: ["public"]
---

# Update Tool User Preferences

`PATCH /tool/{tool_id}/preferences`

## Request

- Base URL: `https://cloud.onyx.app/api`
- URL: `https://cloud.onyx.app/api/tool/{tool_id}/preferences`
- Auth: HTTP bearer

## Path parameters

- `tool_id` integer, required

## Request body

- ToolUserPreferences
  - `enabled_in_chat` boolean, required

## Response `200`

Successful Response

- ToolUserPreferences
  - `enabled_in_chat` boolean, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-28** `76bc90bf55b6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/onyx-dot-app/apis/onyx-api/changes/tool/:tool_id/preferences/patch.md)

---

[API](https://skmtc.dev/onyx-dot-app/apis/onyx-api.md) - [All operations](https://skmtc.dev/onyx-dot-app/apis/onyx-api/llms.txt) - [OpenAPI document](https://skmtc.dev/onyx-dot-app/apis/onyx-api/revisions/76bc90bf55b6?raw)
