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

# McpTaskInputSignal

> Wire payload for a resolved-input notification: task id, a newline, then request id. Native channels (Redis pub/sub, Postgres `NOTIFY`) publish this string a...

## Definition

**Assembly:** CloudNimble.McpEssentials.Core.dll

**Namespace:** CloudNimble.McpEssentials.Core.Tasks

**Inheritance:** System.Object

## Syntax

```csharp theme={"dark"}
CloudNimble.McpEssentials.Core.Tasks.McpTaskInputSignal
```

## Summary

Wire payload for a resolved-input notification: task id, a newline, then request id.
Native channels (Redis pub/sub, Postgres `NOTIFY`) publish this string as-is.

## Remarks

Split is on the first newline so a request id may contain further newlines.
Task ids from [McpTaskStoreBase](https://si.easyaf.dev/mcpessentials/api-reference/CloudNimble/McpEssentials/Core/Tasks/McpTaskStoreBase.md) do not contain newlines.

## Methods

### &#x20;Format

Builds the payload published on the native channel and used as the local-echo token.

#### Syntax

```csharp theme={"dark"}
public static string Format(string taskId, string requestId)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `taskId` | `string` | The task identifier. |
| `requestId` | `string` | The input-request identifier. |

#### Returns

Type: `string`
*taskId*, a newline, then *requestId*.

### &#x20;TryParse

Reads `String)` back into task id and request id.

#### Syntax

```csharp theme={"dark"}
public static bool TryParse(string payload, out string taskId, out string requestId)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `payload` | `string?` | The channel payload. |
| `taskId` | `string?` | The task identifier when parsing succeeds. |
| `requestId` | `string?` | The input-request identifier when parsing succeeds. |

#### Returns

Type: `bool`
[`true`](https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool) when *payload* has a non-empty task id,
a newline, and a non-whitespace request id.


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