# Tag

[Snowflake Documentation](https://docs.snowflake.com/en/sql-reference/sql/create-tag)

Represents a tag in Snowflake, which can be used to label various resources for better management and categorization.

## Examples

### Python

```python
tag = Tag(
    name="cost_center",
    allowed_values=["finance", "engineering", "sales"],
    comment="This is a sample tag",
)
```

### YAML

```yaml
tags:
  - name: cost_center
    comment: This is a sample tag
    allowed_values:
      - finance
      - engineering
      - sales
```

## Fields

* `name` (string, required) - The name of the tag.
* `allowed_values` (list) - A list of allowed values for the tag.
* `comment` (string) - A comment or description for the tag.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://titan-core.gitbook.io/titan-core/resources/tag.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
