> ## Documentation Index
> Fetch the complete documentation index at: https://docs.verbeo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Update description

> Write the description your assistants read to decide when to search this knowledge base, or clear it.

Sets the knowledge base's `tool_description`: what your assistants are told it covers, so they know when to search it. Verbeo writes one from the files once they are ready; write your own when you want to name what callers ask about more precisely.

Once you write it, it is yours (`tool_description_source: "manual"`): Verbeo no longer rewrites it on its own. When files change afterwards, `tool_description_review` turns `true`, to say the files changed since you wrote it. [Write the description from the files](https://docs.verbeo.ai/api-reference/knowledge-bases/write-description.md) hands it back to Verbeo.

## Path parameters

**id** `string` *required*

UUID of the knowledge base.

## Body

Send at least one of the two fields.

**tool\_description** `string | null`

The description, at most 2,000 characters. It is read on every turn of every call, so keep it short: what the knowledge base covers and when to search it. Invisible characters are removed and line ends normalised before the length is checked. `null` or an empty string clears it: assistants then use a general description.

**tool\_description\_review** `boolean`

Only `false`: keep your description as it is and clear the review flag.

## Request

```bash cURL theme={null}
curl -X PUT "https://api.verbeo.ai/v1/knowledge-base/5df09066-0842-4c92-8ef0-6cf2ff6d7455" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "tool_description": "Search this before answering any question about prices, opening hours, parking or insurance." }'
```

```python Python theme={null}
import os, requests

kb_id = "5df09066-0842-4c92-8ef0-6cf2ff6d7455"
res = requests.put(
    f"https://api.verbeo.ai/v1/knowledge-base/{kb_id}",
    headers={"Authorization": f"Bearer {os.environ['VERBEO_API_KEY']}"},
    json={"tool_description": "Search this before answering any question about prices, opening hours, parking or insurance."},
)
```

## Response

`200 OK` with the [knowledge base object](https://docs.verbeo.ai/api-reference/knowledge-bases/overview.md#the-knowledge-base-object), `tool_description_source` now `"manual"`.

## Errors

| Code | Status | When |
| - | - | - |
| `VALIDATION_FAILED` | 422 | Neither field sent (`tool_description: Required`), a description over 2,000 characters (`tool_description: must be at most 2,000 characters`), or `tool_description_review` other than `false`. |
| `NOT_FOUND` | 404 | No such knowledge base: `Knowledge base not found`. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.