Skip to main content

Definition

Assembly: CloudNimble.ClaudeEssentials.dll Namespace: CloudNimble.ClaudeEssentials.Hooks Inheritance: System.Text.Json.Serialization.JsonSerializerContext

Syntax

Summary

Provides AOT-compatible JSON serialization context for Claude Code hook types. This context uses source generators to pre-compile serialization code, eliminating the need for runtime reflection.

Usage

ClaudeHooksJsonContext is a source-generated JsonSerializerContext that enables AOT-compatible JSON serialization.

Direct Usage

Accessing Options

Extending for Custom Types

Create your own context for strongly-typed tool inputs:

Remarks

For generic hook types (PreToolUseHookInput, PostToolUseHookInput, etc.), this context registers versions using Object as the type parameter. If you need strongly-typed serialization for specific tool inputs/outputs, create your own JsonSerializerContext with additional type registrations. Usage example:

Constructors

.ctor

Syntax

.ctor

Syntax

Parameters

Properties

BashPostToolUsePayload

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.BashPostToolUsePayload>

BashPreToolUsePayload

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.BashPreToolUsePayload>

BashToolInput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs.BashToolInput>

BashToolResponse

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.BashToolResponse>

Boolean

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<bool>

CompactTrigger

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.CompactTrigger>

Default

The default JsonSerializerContext associated with a default JsonSerializerOptions instance.

Syntax

Property Value

Type: CloudNimble.ClaudeEssentials.Hooks.ClaudeHooksJsonContext

DictionaryStringInt32

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<System.Collections.Generic.Dictionary<string, int>>

Double

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<double>

EditPostToolUsePayload

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.EditPostToolUsePayload>

EditPreToolUsePayload

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.EditPreToolUsePayload>

EditToolInput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs.EditToolInput>

EditToolResponse

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.EditToolResponse>

GlobPostToolUsePayload

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.GlobPostToolUsePayload>

GlobPreToolUsePayload

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.GlobPreToolUsePayload>

GlobToolInput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs.GlobToolInput>

GlobToolResponse

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.GlobToolResponse>

GrepPostToolUsePayload

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.GrepPostToolUsePayload>

GrepPreToolUsePayload

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.GrepPreToolUsePayload>

GrepToolInput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs.GrepToolInput>

GrepToolResponse

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.GrepToolResponse>

HookDecision

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.HookDecision>

HookEventName

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.HookEventName>

Int32

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<int>

JsonElement

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<System.Text.Json.JsonElement>

KillShellPostToolUsePayload

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.KillShellPostToolUsePayload>

KillShellPreToolUsePayload

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.KillShellPreToolUsePayload>

KillShellToolInput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs.KillShellToolInput>

KillShellToolResponse

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.KillShellToolResponse>

ListString

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<System.Collections.Generic.List<string>>

ListStructuredPatchHunk

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<System.Collections.Generic.List<CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.StructuredPatchHunk>>

ListTodoItem

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<System.Collections.Generic.List<CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs.TodoItem>>

ListWebSearchResultContainer

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<System.Collections.Generic.List<CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.WebSearchResultContainer>>

ListWebSearchResultItem

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<System.Collections.Generic.List<CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.WebSearchResultItem>>

NotebookEditPostToolUsePayload

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.NotebookEditPostToolUsePayload>

NotebookEditPreToolUsePayload

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.NotebookEditPreToolUsePayload>

NotebookEditToolInput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs.NotebookEditToolInput>

NotebookEditToolResponse

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.NotebookEditToolResponse>

NotificationHookInput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Inputs.NotificationHookInput>

NotificationHookOutput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Outputs.NotificationHookOutput>

NotificationType

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.NotificationType>

NullableBoolean

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<System.Nullable<bool>>

NullableDouble

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<System.Nullable<double>>

NullableHookDecision

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<System.Nullable<CloudNimble.ClaudeEssentials.Hooks.HookDecision>>

NullableInt32

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<System.Nullable<int>>

NullablePermissionDecision

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<System.Nullable<CloudNimble.ClaudeEssentials.Hooks.PermissionDecision>>

Object

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<object>

PermissionDecision

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.PermissionDecision>

PermissionMode

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.PermissionMode>

PermissionRequestBehavior

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.PermissionRequestBehavior>

PermissionRequestDecisionObject

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Outputs.PermissionRequestDecision<object>>

PermissionRequestHookInputObject

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Inputs.PermissionRequestHookInput<object>>

PermissionRequestHookOutputObject

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Outputs.PermissionRequestHookOutput<object>>

PermissionRequestSpecificOutputObject

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Outputs.PermissionRequestSpecificOutput<object>>

PostToolUseHookInputObject

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Inputs.PostToolUseHookInput<object, object>>

PostToolUseHookOutput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Outputs.PostToolUseHookOutput>

PostToolUseSpecificOutput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Outputs.PostToolUseSpecificOutput>

PreCompactHookInput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Inputs.PreCompactHookInput>

PreCompactHookOutput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Outputs.PreCompactHookOutput>

PreToolUseHookInputObject

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Inputs.PreToolUseHookInput<object>>

PreToolUseHookOutputObject

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Outputs.PreToolUseHookOutput<object>>

PreToolUseSpecificOutputObject

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Outputs.PreToolUseSpecificOutput<object>>

ReadPostToolUsePayload

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.ReadPostToolUsePayload>

ReadPreToolUsePayload

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.ReadPreToolUsePayload>

ReadToolFileInfo

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.ReadToolFileInfo>

ReadToolInput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs.ReadToolInput>

ReadToolResponse

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.ReadToolResponse>

SessionEndHookInput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Inputs.SessionEndHookInput>

SessionEndHookOutput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Outputs.SessionEndHookOutput>

SessionEndReason

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.SessionEndReason>

SessionStartHookInput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Inputs.SessionStartHookInput>

SessionStartHookOutput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Outputs.SessionStartHookOutput>

SessionStartSource

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.SessionStartSource>

SessionStartSpecificOutput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Outputs.SessionStartSpecificOutput>

StopHookInput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Inputs.StopHookInput>

StopHookOutput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Outputs.StopHookOutput>

String

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<string>

StringArray

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<string[]>

StructuredPatchHunk

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.StructuredPatchHunk>

SubagentStopHookInput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Inputs.SubagentStopHookInput>

SubagentStopHookOutput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Outputs.SubagentStopHookOutput>

TaskPostToolUsePayload

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.TaskPostToolUsePayload>

TaskPreToolUsePayload

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.TaskPreToolUsePayload>

TaskToolInput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs.TaskToolInput>

TaskToolResponse

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.TaskToolResponse>

TodoItem

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs.TodoItem>

TodoItemArray

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs.TodoItem[]>

TodoWritePostToolUsePayload

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.TodoWritePostToolUsePayload>

TodoWritePreToolUsePayload

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.TodoWritePreToolUsePayload>

TodoWriteToolInput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs.TodoWriteToolInput>

TodoWriteToolResponse

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.TodoWriteToolResponse>

UserPromptSubmitHookInput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Inputs.UserPromptSubmitHookInput>

UserPromptSubmitHookOutput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Outputs.UserPromptSubmitHookOutput>

UserPromptSubmitSpecificOutput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Outputs.UserPromptSubmitSpecificOutput>

WebFetchPostToolUsePayload

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.WebFetchPostToolUsePayload>

WebFetchPreToolUsePayload

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.WebFetchPreToolUsePayload>

WebFetchToolInput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs.WebFetchToolInput>

WebFetchToolResponse

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.WebFetchToolResponse>

WebSearchPostToolUsePayload

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.WebSearchPostToolUsePayload>

WebSearchPreToolUsePayload

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.WebSearchPreToolUsePayload>

WebSearchResultContainer

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.WebSearchResultContainer>

WebSearchResultItem

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.WebSearchResultItem>

WebSearchToolInput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs.WebSearchToolInput>

WebSearchToolResponse

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.WebSearchToolResponse>

WritePostToolUsePayload

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.WritePostToolUsePayload>

WritePreToolUsePayload

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.WritePreToolUsePayload>

WriteToolInput

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs.WriteToolInput>

WriteToolResponse

Defines the source generated JSON serialization contract metadata for a given type.

Syntax

Property Value

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo<CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.WriteToolResponse>

Methods

GetTypeInfo Override

Syntax

Parameters

Returns

Type: System.Text.Json.Serialization.Metadata.JsonTypeInfo?
  • System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver