# TeamMemberAttribute class

> The TeamMemberAttribute class of the global namespace: Decorates a property to define a Group Chat team member.

- URL: https://docs.mentoragent.net/api/global/teammemberattribute
- Verified with: MentorAgent 1.2.0
- Last updated: 2026-10-27
- Packages: Novior.MentorAgent

Decorates a property to define a Group Chat team member.

## Definition

Namespace: none, the global namespace. Package: `Novior.MentorAgent`.

`public sealed class TeamMemberAttribute : Attribute`

```shell
dotnet add package Novior.MentorAgent
```

## Constructors

`public TeamMemberAttribute()`

## Properties

### `Instructions`

`public required string Instructions { get; init; }`

Instructions (system prompt) for this team member.

### `Role`

`public required string Role { get; init; }`

The member's role within the team.

### `Tools`

`public Type[] Tools { get; init; }`

Tool classes this member can use during the discussion. Use READ-ONLY tools — execution is delegated to L2 agents via HandoffTo. Example: Tools = \[typeof(ReportTools), typeof(OrderTools)\]

---

- Previous: [IMentorSessionManager interface](https://docs.mentoragent.net/api/global/imentorsessionmanager.md)
- Next: [TeamTerminationConditionAttribute class](https://docs.mentoragent.net/api/global/teamterminationconditionattribute.md)
