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

# InvokeRequest

> Asks to run an action.

```csharp
public sealed record InvokeRequest : IEquatable<InvokeRequest>
```

**Implements:** `IEquatable<InvokeRequest>`

## Constructors

```csharp
public InvokeRequest(string Action, string? Target, JsonObject Input)
```

Asks to run an action.

### Parameters

**Action** `string` *required*

The declared action's key, or [SignInUrl](https://klef.ai/docs/connector-sdk/reference/sdk/invokerequest.md).

**Target** `string` *required*

The object it runs on, or [null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null) for an action on the connection.

**Input** `JsonObject` *required*

What a person filled in.

## Fields

**SignInUrl** `string` *required*

The action that answers where an account signs in, as `{ url }`.

**SignInUrlReturn** `string` *required*

The key of the URL [SignInUrl](https://klef.ai/docs/connector-sdk/reference/sdk/invokerequest.md) answers.

## Properties

**Action** `string` *required*

The declared action's key, or [SignInUrl](https://klef.ai/docs/connector-sdk/reference/sdk/invokerequest.md).

**Input** `JsonObject` *required*

What a person filled in.

**OperationId** `string` *required*

Stable across every re-run of its plan operation, so the same action is never run twice for one operation.

**Target** `string`

The object it runs on, or [null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null) for an action on the connection.

## Methods

### Deconstruct()

```csharp
public void Deconstruct(out string Action, out string? Target, out JsonObject Input)
```

#### Parameters

**Action** `string` *required*

**Target** `string` *required*

**Input** `JsonObject` *required*

### Equals()

```csharp
public bool Equals(InvokeRequest? other)
```

#### Parameters

**other** `InvokeRequest` *required*

#### Returns

`bool`

```csharp
public override bool Equals(object? obj)
```

#### Parameters

**obj** `object` *required*

#### Returns

`bool`

### GetHashCode()

```csharp
public override int GetHashCode()
```

#### Returns

`int`

### operator !=()

```csharp
public static bool operator !=(InvokeRequest? left, InvokeRequest? right)
```

#### Parameters

**left** `InvokeRequest` *required*

**right** `InvokeRequest` *required*

#### Returns

`bool`

### operator ==()

```csharp
public static bool operator ==(InvokeRequest? left, InvokeRequest? right)
```

#### Parameters

**left** `InvokeRequest` *required*

**right** `InvokeRequest` *required*

#### Returns

`bool`

### ToString()

```csharp
public override string ToString()
```

#### Returns

`string`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.