> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ag2.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# autogen.tools.dependency_injection.Field

<h2 id="autogen.tools.dependency_injection.Field" class="doc doc-heading">
  <code class="doc-symbol doc-symbol-heading doc-symbol-class" />

  <span class="doc doc-object-name doc-class-name">Field</span>
</h2>

```python theme={null}
Field(description: str)
```

Represents a description field for use in type annotations.<br />This class is used to store a description for an annotated field, often used for
documenting or validating fields in a context or data model.<br />Initializes the Field with a description.<br />

<b>Parameters:</b>

| Name          | Description   |
| ------------- | ------------- |
| `description` | **Type:** str |

### Instance Attributes

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### description

<br />

<br />
