> ## 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.

# ISupportsActions

> Runs the actions the manifest declares, such as revoking a user's sessions.

```csharp
public interface ISupportsActions
```

The SDK implements it for a C# connector from connector.yaml, which then writes the methods of its generated actions interface instead.

## Methods

### InvokeActionAsync()

```csharp
Task<ActionOutcome> InvokeActionAsync(ConnectionContext context, string action, string? externalId, JsonObject fields, string operationId, CancellationToken cancellationToken)
```

Runs one declared action; a retry with the same operation id leaves the vendor as the first run did.

#### Parameters

**context** `ConnectionContext` *required*

The connection.

**action** `string` *required*

The action's key.

**externalId** `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.

**fields** `JsonObject` *required*

What a person filled in, by the keys its fields declare.

**operationId** `string` *required*

Stable across every retry of one run.

**cancellationToken** `CancellationToken` *required*

Stops the run.

#### Returns

`Task<ActionOutcome>`


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