> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.doc-detective.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.doc-detective.com/_mcp/server.

# Annotate fields

> Reference for the `Annotate fields` schema.

## Referenced In

* [annotate](/reference/schemas/annotate)

## Fields

| Field  | Type                                | Description                                                                                                                    | Default |
| :----- | :---------------------------------- | :----------------------------------------------------------------------------------------------------------------------------- | :------ |
| add    | array of unknown                    | Optional. Annotations to draw. Give an annotation an `id` to update or clear it later.                                         | —       |
| update | array of unknown                    | Optional. Changes to annotations that are already on screen, matched by `id`. Each entry replaces the annotation with that id. | —       |
| clear  | one of: - boolean - array of string | Optional. Annotations to remove. `true` clears every annotation; a list of ids clears just those.                              | —       |

## Examples

```json
{
  "add": [],
  "update": [],
  "clear": true
}
```