---
title: "Toggle Model Tool Calling"
method: PATCH
path: "/v1/admin/models/{model_id}/toggle-tool-calling"
tags: ["Admin Management"]
---

# Toggle Model Tool Calling

`PATCH /v1/admin/models/{model_id}/toggle-tool-calling`

## Request

- Base URL: `https://api.oneinfer.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.oneinfer.ai/v1/admin/models/{model_id}/toggle-tool-calling`
- Auth: HTTP bearer

Toggle the tool calling capability of a model

## Path parameters

- `model_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/oneinfer/apis/oneinfer-apis.md) · [All operations](https://skmtc.dev/oneinfer/apis/oneinfer-apis/llms.txt) · [OpenAPI document](https://skmtc.dev/oneinfer/apis/oneinfer-apis/revisions/5479122617c3?raw)
