> For the complete documentation index, see [llms.txt](https://docs.redutzu.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.redutzu.com/resources/redutzu-mdt/exports-events/server-exports/tags.md).

# Tags

Here, you'll find more information about the tags

***

## Type

```typescript
type Tag = {
    identifier: string,
    color: string,
    label: string
}
```

## Exports

### SearchTags

```lua
exports['redutzu-mdt']:SearchTags(query: string, type: string) // Tag[] | null
```

### CreateTag

```lua
exports['redutzu-mdt']:CreateTag({
  name = 'Dangerous',
  type = 'warrant',
  description = 'A short description about the tag', -- optional
  color = '#FFFFFF' -- hex, rgba, hsl
}) -- number (id)
```
