# tools.ozone.set.addValues

> Published by [ozone-lexicons.bsky.social](https://lexicon.garden/identity/did:plc:33dt5kftu3jq2h5h4jjlqezt)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.set.addValues)
- [Documentation](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.set.addValues/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.set.addValues/examples)

## Definitions

### `tools.ozone.set.addValues`

**Type**: `procedure`

Add values to a specific set. Attempting to add values to a set that does not exist will result in an error.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | Yes | Name of the set to add values to |
| `values` | `array` | Yes | Array of string values to add to the set |

## Raw Schema

```json
{
  "id": "tools.ozone.set.addValues",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "name",
            "values"
          ],
          "properties": {
            "name": {
              "type": "string",
              "description": "Name of the set to add values to"
            },
            "values": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "maxLength": 1000,
              "minLength": 1,
              "description": "Array of string values to add to the set"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Add values to a specific set. Attempting to add values to a set that does not exist will result in an error."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
