# MentorTenantRequest record

> What an IMentorTenantResolver is asked about: one request, from one surface. More properties may be added.

- URL: https://docs.mentoragent.net/api/novior-mentoragent-abstractions-models/mentortenantrequest
- Verified with: MentorAgent 1.4.0
- Last updated: 2026-11-18
- Packages: Novior.MentorAgent.Abstractions

## Definition

Namespace: `Novior.MentorAgent.Abstractions.Models`. Package: `Novior.MentorAgent.Abstractions`.

`public sealed record MentorTenantRequest : IEquatable<MentorTenantRequest>`

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

## Constructors

`public MentorTenantRequest()`

## Properties

### `Services`

`public required IServiceProvider Services { get; init; }`

The services of the request's scope — the circuit, the hub connection, the request, the A2A task; on the MCP server, the request's — for a scoped service of the application, an `IHttpContextAccessor` say. Never the application's root services.

### `Surface`

`public required MentorActionSurface Surface { get; init; }`

Where the request comes from.

### `User`

`public ClaimsPrincipal? User { get; init; }`

The signed-in user, or `null` when nobody is. On the MCP server, the caller `McpCallerPrincipal` resolves, else the request's user.

---

- Previous: [MentorshipLevel enum](https://docs.mentoragent.net/api/novior-mentoragent-abstractions-models/mentorshiplevel.md)
- Next: [MentorTheme enum](https://docs.mentoragent.net/api/novior-mentoragent-abstractions-models/mentortheme.md)
