# MentorRecipeStepDefinition record

> The MentorRecipeStepDefinition record of Novior.MentorAgent.Core: One step of a recipe. MentorRecipeStepDefinition.Value is a parameter, written {name} as…

- URL: https://docs.mentoragent.net/api/novior-mentoragent-core/mentorrecipestepdefinition
- Verified with: MentorAgent 1.5.0
- Last updated: 2026-11-26
- Packages: Novior.MentorAgent

One step of a recipe. [`MentorRecipeStepDefinition.Value`](https://docs.mentoragent.net/api/novior-mentoragent-core/mentorrecipestepdefinition#value) is a parameter, written `{name}` as the whole value, or a text, where `{{` and `}}` are a brace: a single brace in a text is an error ([`MentorRecipeRejectionReasons.InvalidValue`](https://docs.mentoragent.net/api/novior-mentoragent-core/mentorreciperejectionreasons#invalidvalue)).

## Definition

Namespace: `Novior.MentorAgent.Core`. Package: `Novior.MentorAgent`.

`public sealed record MentorRecipeStepDefinition : IEquatable<MentorRecipeStepDefinition>`

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

## Constructors

`public MentorRecipeStepDefinition()`

## Properties

### `Cell`

`public string? Cell { get; init; }`

A row step: the cell, inside a row, whose text is the row's key (`td:nth-child(1)`). Required for a row.

### `Filter`

`public string? Filter { get; init; }`

A row step: the page's own filter field, given the key before the rows are scrolled.

### `Kind`

`public required MentorRecipeStepKind Kind { get; init; }`

What the step does.

### `Selector`

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

The CSS selector of the element; for [`MentorRecipeStepKind.Row`](https://docs.mentoragent.net/api/novior-mentoragent-core/mentorrecipestepkind), of the rows. Required.

### `Target`

`public string? Target { get; init; }`

A row step: what to click inside the row found; none, the row is only brought into view.

### `Value`

`public string? Value { get; init; }`

The value written, chosen or checked; for [`MentorRecipeStepKind.Row`](https://docs.mentoragent.net/api/novior-mentoragent-core/mentorrecipestepkind), the row's key.

---

- Previous: [MentorRecipeSourceResult record](https://docs.mentoragent.net/api/novior-mentoragent-core/mentorrecipesourceresult.md)
- Next: [MentorRecipeStepKind enum](https://docs.mentoragent.net/api/novior-mentoragent-core/mentorrecipestepkind.md)
