---
title: "PUT /x/plugins/{name}/ai-tools"
method: PUT
path: "/x/plugins/{name}/ai-tools"
tags: ["External Plugins"]
---

# PUT /x/plugins/{name}/ai-tools

`PUT /x/plugins/{name}/ai-tools`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/x/plugins/{name}/ai-tools`
- Auth: HTTP bearer

## Path parameters

- `name` string, required

## Request body

- UpdatePluginAiTools
  - `actor_id` string, required: Current actor_id returned by GET; replacing the installation requires fresh consent.
  - `enabled` boolean, required
  - `installation_revision` string, required: Binary revision returned by GET; a changed binary requires fresh consent.

## Response `200`

- PluginAiToolsResponse
  - `actor_id` string, required
  - `enabled` boolean, required
  - `installation_revision` string, required: Binary revision returned by GET; a changed binary requires fresh consent.
  - `tools` AiToolInfo[], required
    - `access` string, required
    - `description` string, required
    - `name` string, required

## Other responses

- `400`
- `401`
- `403`
- `404`
- `409`: Plugin actor replaced; reload current actor_id before choosing consent again
- `413`
- `415`
- `422`
- `428`: Recent sensitive-action verification required
- `500`

## Changes

- **2026-11-09** `12896146b193`: 3 breaking, 1 info
  - added the new required request property `installation_revision`
  - removed the required property `extensions` from the response with the `409` status
  - removed the required property `extensions` from the response with the `428` status
  - added the required property `installation_revision` to the response with the `200` status
- **2026-11-09** `45a9350d595c`: 2 info
  - media type `application/json` was changed to a more specific media type `application/problem+json` for the response status `409`
  - media type `application/json` was changed to a more specific media type `application/problem+json` for the response status `428`
- **2026-11-09** `59b3315766ec`: 2 info
  - added the media type `application/json` for the response with the status `409`
  - added the non-success response with the status `428`
- **2026-11-09** `788ad0f66527`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/x/plugins/:name/ai-tools/put.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
