MentorAgent Docs
Menu

ReferencePackage: Novior.MentorAgent

TeamMemberAttribute class

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

View as Markdown
On this page

Decorates a property to define a Group Chat team member.

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

public sealed class TeamMemberAttribute : Attribute

Terminal
dotnet add package Novior.MentorAgent

public TeamMemberAttribute()

public required string Instructions { get; init; }

Instructions (system prompt) for this team member.

public required string Role { get; init; }

The member's role within the team.

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)]