final | |
|---|---|
readonly | |
implements |
Arrayable<array{taskId: non-empty-string}> |
Metadata for associating messages with a task.
Include this in the _meta field under the key io.modelcontextprotocol/related-task.
| Methods | ||
|---|---|---|
public
|
__construct(string $taskId)
|
# |
public
static
|
fromArray(array<string, mixed> $data): static
|
# |
public
|
toArray(): array
|
# |
public
|
jsonSerialize(): array
|
# |
| Properties | |||
|---|---|---|---|
public
|
non-empty-string
|
$taskId
|
# |