# tools.ozone.server.getCapabilities

> 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.server.getCapabilities)
- [Documentation](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.server.getCapabilities/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.server.getCapabilities/examples)

## Definitions

### `tools.ozone.server.getCapabilities`

**Type**: `query`

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `notifications` | `ref` → `#notificationConfig` | No |  |

### `tools.ozone.server.getCapabilities#notificationConfig`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `channels` | `array` | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "notifications": {
              "ref": "#notificationConfig",
              "type": "ref"
            }
          },
          "type": "object"
        }
      },
      "type": "query"
    },
    "notificationConfig": {
      "properties": {
        "channels": {
          "items": {
            "knownValues": [
              "inApp",
              "push"
            ],
            "type": "string"
          },
          "minLength": 1,
          "type": "array"
        }
      },
      "required": [
        "channels"
      ],
      "type": "object"
    }
  },
  "id": "tools.ozone.server.getCapabilities",
  "lexicon": 1
}
```
