constant

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 1 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValueOf

func ValueOf[T Constant[T]]() T

ValueOf gives the default value of a constant from its type. It's helpful when constructing constants as variants in a one-of. Note that empty structs are marshalled by default. Usage: constant.ValueOf[constant.Foo]()

Types

type APIError

type APIError string // Always "api_error"

func (APIError) Default

func (c APIError) Default() APIError

func (APIError) MarshalJSON

func (c APIError) MarshalJSON() ([]byte, error)

type APIKey

type APIKey string // Always "api_key"

func (APIKey) Default

func (c APIKey) Default() APIKey

func (APIKey) MarshalJSON

func (c APIKey) MarshalJSON() ([]byte, error)

type AWS

type AWS string // Always "aws"

func (AWS) Default

func (c AWS) Default() AWS

func (AWS) MarshalJSON

func (c AWS) MarshalJSON() ([]byte, error)

type Adaptive

type Adaptive string // Always "adaptive"

func (Adaptive) Default

func (c Adaptive) Default() Adaptive

func (Adaptive) MarshalJSON

func (c Adaptive) MarshalJSON() ([]byte, error)

type Advisor

type Advisor string // Always "advisor"

func (Advisor) Default

func (c Advisor) Default() Advisor

func (Advisor) MarshalJSON

func (c Advisor) MarshalJSON() ([]byte, error)

type Advisor20260301

type Advisor20260301 string // Always "advisor_20260301"

func (Advisor20260301) Default

func (c Advisor20260301) Default() Advisor20260301

func (Advisor20260301) MarshalJSON

func (c Advisor20260301) MarshalJSON() ([]byte, error)

type AdvisorMessage

type AdvisorMessage string // Always "advisor_message"

func (AdvisorMessage) Default

func (c AdvisorMessage) Default() AdvisorMessage

func (AdvisorMessage) MarshalJSON

func (c AdvisorMessage) MarshalJSON() ([]byte, error)

type AdvisorRedactedResult

type AdvisorRedactedResult string // Always "advisor_redacted_result"

func (AdvisorRedactedResult) Default

func (AdvisorRedactedResult) MarshalJSON

func (c AdvisorRedactedResult) MarshalJSON() ([]byte, error)

type AdvisorResult

type AdvisorResult string // Always "advisor_result"

func (AdvisorResult) Default

func (c AdvisorResult) Default() AdvisorResult

func (AdvisorResult) MarshalJSON

func (c AdvisorResult) MarshalJSON() ([]byte, error)

type AdvisorToolResult

type AdvisorToolResult string // Always "advisor_tool_result"

func (AdvisorToolResult) Default

func (AdvisorToolResult) MarshalJSON

func (c AdvisorToolResult) MarshalJSON() ([]byte, error)

type AdvisorToolResultError

type AdvisorToolResultError string // Always "advisor_tool_result_error"

func (AdvisorToolResultError) Default

func (AdvisorToolResultError) MarshalJSON

func (c AdvisorToolResultError) MarshalJSON() ([]byte, error)

type AgentArchived

type AgentArchived string // Always "agent.archived"

func (AgentArchived) Default

func (c AgentArchived) Default() AgentArchived

func (AgentArchived) MarshalJSON

func (c AgentArchived) MarshalJSON() ([]byte, error)

type AgentCreated

type AgentCreated string // Always "agent.created"

func (AgentCreated) Default

func (c AgentCreated) Default() AgentCreated

func (AgentCreated) MarshalJSON

func (c AgentCreated) MarshalJSON() ([]byte, error)

type AgentDeleted

type AgentDeleted string // Always "agent.deleted"

func (AgentDeleted) Default

func (c AgentDeleted) Default() AgentDeleted

func (AgentDeleted) MarshalJSON

func (c AgentDeleted) MarshalJSON() ([]byte, error)

type AgentUpdated

type AgentUpdated string // Always "agent.updated"

func (AgentUpdated) Default

func (c AgentUpdated) Default() AgentUpdated

func (AgentUpdated) MarshalJSON

func (c AgentUpdated) MarshalJSON() ([]byte, error)

type All

type All string // Always "all"

func (All) Default

func (c All) Default() All

func (All) MarshalJSON

func (c All) MarshalJSON() ([]byte, error)

type Any

type Any string // Always "any"

func (Any) Default

func (c Any) Default() Any

func (Any) MarshalJSON

func (c Any) MarshalJSON() ([]byte, error)

type ApplicationPDF

type ApplicationPDF string // Always "application/pdf"

func (ApplicationPDF) Default

func (c ApplicationPDF) Default() ApplicationPDF

func (ApplicationPDF) MarshalJSON

func (c ApplicationPDF) MarshalJSON() ([]byte, error)

type Approximate

type Approximate string // Always "approximate"

func (Approximate) Default

func (c Approximate) Default() Approximate

func (Approximate) MarshalJSON

func (c Approximate) MarshalJSON() ([]byte, error)

type Assistant

type Assistant string // Always "assistant"

func (Assistant) Default

func (c Assistant) Default() Assistant

func (Assistant) MarshalJSON

func (c Assistant) MarshalJSON() ([]byte, error)

type Attached

type Attached string // Always "attached"

func (Attached) Default

func (c Attached) Default() Attached

func (Attached) MarshalJSON

func (c Attached) MarshalJSON() ([]byte, error)

type AuthenticationError

type AuthenticationError string // Always "authentication_error"

func (AuthenticationError) Default

func (AuthenticationError) MarshalJSON

func (c AuthenticationError) MarshalJSON() ([]byte, error)

type Auto

type Auto string // Always "auto"

func (Auto) Default

func (c Auto) Default() Auto

func (Auto) MarshalJSON

func (c Auto) MarshalJSON() ([]byte, error)

type Azure

type Azure string // Always "azure"

func (Azure) Default

func (c Azure) Default() Azure

func (Azure) MarshalJSON

func (c Azure) MarshalJSON() ([]byte, error)

type Base64

type Base64 string // Always "base64"

func (Base64) Default

func (c Base64) Default() Base64

func (Base64) MarshalJSON

func (c Base64) MarshalJSON() ([]byte, error)

type Bash

type Bash string // Always "bash"

func (Bash) Default

func (c Bash) Default() Bash

func (Bash) MarshalJSON

func (c Bash) MarshalJSON() ([]byte, error)

type Bash20241022

type Bash20241022 string // Always "bash_20241022"

func (Bash20241022) Default

func (c Bash20241022) Default() Bash20241022

func (Bash20241022) MarshalJSON

func (c Bash20241022) MarshalJSON() ([]byte, error)

type Bash20250124

type Bash20250124 string // Always "bash_20250124"

func (Bash20250124) Default

func (c Bash20250124) Default() Bash20250124

func (Bash20250124) MarshalJSON

func (c Bash20250124) MarshalJSON() ([]byte, error)

type BashCodeExecutionOutput

type BashCodeExecutionOutput string // Always "bash_code_execution_output"

func (BashCodeExecutionOutput) Default

func (BashCodeExecutionOutput) MarshalJSON

func (c BashCodeExecutionOutput) MarshalJSON() ([]byte, error)

type BashCodeExecutionResult

type BashCodeExecutionResult string // Always "bash_code_execution_result"

func (BashCodeExecutionResult) Default

func (BashCodeExecutionResult) MarshalJSON

func (c BashCodeExecutionResult) MarshalJSON() ([]byte, error)

type BashCodeExecutionToolResult

type BashCodeExecutionToolResult string // Always "bash_code_execution_tool_result"

func (BashCodeExecutionToolResult) Default

func (BashCodeExecutionToolResult) MarshalJSON

func (c BashCodeExecutionToolResult) MarshalJSON() ([]byte, error)

type BashCodeExecutionToolResultError

type BashCodeExecutionToolResultError string // Always "bash_code_execution_tool_result_error"

func (BashCodeExecutionToolResultError) Default

func (BashCodeExecutionToolResultError) MarshalJSON

func (c BashCodeExecutionToolResultError) MarshalJSON() ([]byte, error)

type BillingError

type BillingError string // Always "billing_error"

func (BillingError) Default

func (c BillingError) Default() BillingError

func (BillingError) MarshalJSON

func (c BillingError) MarshalJSON() ([]byte, error)

type BrowserState

type BrowserState string // Always "browser_state"

func (BrowserState) Default

func (c BrowserState) Default() BrowserState

func (BrowserState) MarshalJSON

func (c BrowserState) MarshalJSON() ([]byte, error)

type BrowserToolset20260801

type BrowserToolset20260801 string // Always "browser_toolset_20260801"

func (BrowserToolset20260801) Default

func (BrowserToolset20260801) MarshalJSON

func (c BrowserToolset20260801) MarshalJSON() ([]byte, error)

type Canceled

type Canceled string // Always "canceled"

func (Canceled) Default

func (c Canceled) Default() Canceled

func (Canceled) MarshalJSON

func (c Canceled) MarshalJSON() ([]byte, error)

type CharLocation

type CharLocation string // Always "char_location"

func (CharLocation) Default

func (c CharLocation) Default() CharLocation

func (CharLocation) MarshalJSON

func (c CharLocation) MarshalJSON() ([]byte, error)

type CitationsDelta

type CitationsDelta string // Always "citations_delta"

func (CitationsDelta) Default

func (c CitationsDelta) Default() CitationsDelta

func (CitationsDelta) MarshalJSON

func (c CitationsDelta) MarshalJSON() ([]byte, error)

type ClearThinking20251015

type ClearThinking20251015 string // Always "clear_thinking_20251015"

func (ClearThinking20251015) Default

func (ClearThinking20251015) MarshalJSON

func (c ClearThinking20251015) MarshalJSON() ([]byte, error)

type ClearToolUses20250919

type ClearToolUses20250919 string // Always "clear_tool_uses_20250919"

func (ClearToolUses20250919) Default

func (ClearToolUses20250919) MarshalJSON

func (c ClearToolUses20250919) MarshalJSON() ([]byte, error)

type Cloud

type Cloud string // Always "cloud"

func (Cloud) Default

func (c Cloud) Default() Cloud

func (Cloud) MarshalJSON

func (c Cloud) MarshalJSON() ([]byte, error)

type CodeExecution

type CodeExecution string // Always "code_execution"

func (CodeExecution) Default

func (c CodeExecution) Default() CodeExecution

func (CodeExecution) MarshalJSON

func (c CodeExecution) MarshalJSON() ([]byte, error)

type CodeExecution20250522

type CodeExecution20250522 string // Always "code_execution_20250522"

func (CodeExecution20250522) Default

func (CodeExecution20250522) MarshalJSON

func (c CodeExecution20250522) MarshalJSON() ([]byte, error)

type CodeExecution20250825

type CodeExecution20250825 string // Always "code_execution_20250825"

func (CodeExecution20250825) Default

func (CodeExecution20250825) MarshalJSON

func (c CodeExecution20250825) MarshalJSON() ([]byte, error)

type CodeExecution20260120

type CodeExecution20260120 string // Always "code_execution_20260120"

func (CodeExecution20260120) Default

func (CodeExecution20260120) MarshalJSON

func (c CodeExecution20260120) MarshalJSON() ([]byte, error)

type CodeExecution20260521

type CodeExecution20260521 string // Always "code_execution_20260521"

func (CodeExecution20260521) Default

func (CodeExecution20260521) MarshalJSON

func (c CodeExecution20260521) MarshalJSON() ([]byte, error)

type CodeExecutionOutput

type CodeExecutionOutput string // Always "code_execution_output"

func (CodeExecutionOutput) Default

func (CodeExecutionOutput) MarshalJSON

func (c CodeExecutionOutput) MarshalJSON() ([]byte, error)

type CodeExecutionResult

type CodeExecutionResult string // Always "code_execution_result"

func (CodeExecutionResult) Default

func (CodeExecutionResult) MarshalJSON

func (c CodeExecutionResult) MarshalJSON() ([]byte, error)

type CodeExecutionToolResult

type CodeExecutionToolResult string // Always "code_execution_tool_result"

func (CodeExecutionToolResult) Default

func (CodeExecutionToolResult) MarshalJSON

func (c CodeExecutionToolResult) MarshalJSON() ([]byte, error)

type CodeExecutionToolResultError

type CodeExecutionToolResultError string // Always "code_execution_tool_result_error"

func (CodeExecutionToolResultError) Default

func (CodeExecutionToolResultError) MarshalJSON

func (c CodeExecutionToolResultError) MarshalJSON() ([]byte, error)

type Compact20260112

type Compact20260112 string // Always "compact_20260112"

func (Compact20260112) Default

func (c Compact20260112) Default() Compact20260112

func (Compact20260112) MarshalJSON

func (c Compact20260112) MarshalJSON() ([]byte, error)

type Compaction

type Compaction string // Always "compaction"

func (Compaction) Default

func (c Compaction) Default() Compaction

func (Compaction) MarshalJSON

func (c Compaction) MarshalJSON() ([]byte, error)

type CompactionDelta

type CompactionDelta string // Always "compaction_delta"

func (CompactionDelta) Default

func (c CompactionDelta) Default() CompactionDelta

func (CompactionDelta) MarshalJSON

func (c CompactionDelta) MarshalJSON() ([]byte, error)

type Completion

type Completion string // Always "completion"

func (Completion) Default

func (c Completion) Default() Completion

func (Completion) MarshalJSON

func (c Completion) MarshalJSON() ([]byte, error)

type ComplianceSettings

type ComplianceSettings string // Always "compliance_settings"

func (ComplianceSettings) Default

func (ComplianceSettings) MarshalJSON

func (c ComplianceSettings) MarshalJSON() ([]byte, error)

type Computer

type Computer string // Always "computer"

func (Computer) Default

func (c Computer) Default() Computer

func (Computer) MarshalJSON

func (c Computer) MarshalJSON() ([]byte, error)

type Computer20241022

type Computer20241022 string // Always "computer_20241022"

func (Computer20241022) Default

func (c Computer20241022) Default() Computer20241022

func (Computer20241022) MarshalJSON

func (c Computer20241022) MarshalJSON() ([]byte, error)

type Computer20250124

type Computer20250124 string // Always "computer_20250124"

func (Computer20250124) Default

func (c Computer20250124) Default() Computer20250124

func (Computer20250124) MarshalJSON

func (c Computer20250124) MarshalJSON() ([]byte, error)

type Computer20251124

type Computer20251124 string // Always "computer_20251124"

func (Computer20251124) Default

func (c Computer20251124) Default() Computer20251124

func (Computer20251124) MarshalJSON

func (c Computer20251124) MarshalJSON() ([]byte, error)

type ComputerToolset20260801

type ComputerToolset20260801 string // Always "computer_toolset_20260801"

func (ComputerToolset20260801) Default

func (ComputerToolset20260801) MarshalJSON

func (c ComputerToolset20260801) MarshalJSON() ([]byte, error)

type ConflictError

type ConflictError string // Always "conflict_error"

func (ConflictError) Default

func (c ConflictError) Default() ConflictError

func (ConflictError) MarshalJSON

func (c ConflictError) MarshalJSON() ([]byte, error)

type Constant

type Constant[T any] interface {
	Default() T
}

type ContainerUpload

type ContainerUpload string // Always "container_upload"

func (ContainerUpload) Default

func (c ContainerUpload) Default() ContainerUpload

func (ContainerUpload) MarshalJSON

func (c ContainerUpload) MarshalJSON() ([]byte, error)

type Content

type Content string // Always "content"

func (Content) Default

func (c Content) Default() Content

func (Content) MarshalJSON

func (c Content) MarshalJSON() ([]byte, error)

type ContentBlockDelta

type ContentBlockDelta string // Always "content_block_delta"

func (ContentBlockDelta) Default

func (ContentBlockDelta) MarshalJSON

func (c ContentBlockDelta) MarshalJSON() ([]byte, error)

type ContentBlockLocation

type ContentBlockLocation string // Always "content_block_location"

func (ContentBlockLocation) Default

func (ContentBlockLocation) MarshalJSON

func (c ContentBlockLocation) MarshalJSON() ([]byte, error)

type ContentBlockStart

type ContentBlockStart string // Always "content_block_start"

func (ContentBlockStart) Default

func (ContentBlockStart) MarshalJSON

func (c ContentBlockStart) MarshalJSON() ([]byte, error)

type ContentBlockStop

type ContentBlockStop string // Always "content_block_stop"

func (ContentBlockStop) Default

func (c ContentBlockStop) Default() ContentBlockStop

func (ContentBlockStop) MarshalJSON

func (c ContentBlockStop) MarshalJSON() ([]byte, error)

type Create

type Create string // Always "create"

func (Create) Default

func (c Create) Default() Create

func (Create) MarshalJSON

func (c Create) MarshalJSON() ([]byte, error)

type Default

type Default string // Always "default"

func (Default) Default

func (c Default) Default() Default

func (Default) MarshalJSON

func (c Default) MarshalJSON() ([]byte, error)

type Delete

type Delete string // Always "delete"

func (Delete) Default

func (c Delete) Default() Delete

func (Delete) MarshalJSON

func (c Delete) MarshalJSON() ([]byte, error)

type DeploymentArchived

type DeploymentArchived string // Always "deployment.archived"

func (DeploymentArchived) Default

func (DeploymentArchived) MarshalJSON

func (c DeploymentArchived) MarshalJSON() ([]byte, error)

type DeploymentCreated

type DeploymentCreated string // Always "deployment.created"

func (DeploymentCreated) Default

func (DeploymentCreated) MarshalJSON

func (c DeploymentCreated) MarshalJSON() ([]byte, error)

type DeploymentDeleted

type DeploymentDeleted string // Always "deployment.deleted"

func (DeploymentDeleted) Default

func (DeploymentDeleted) MarshalJSON

func (c DeploymentDeleted) MarshalJSON() ([]byte, error)

type DeploymentPaused

type DeploymentPaused string // Always "deployment.paused"

func (DeploymentPaused) Default

func (c DeploymentPaused) Default() DeploymentPaused

func (DeploymentPaused) MarshalJSON

func (c DeploymentPaused) MarshalJSON() ([]byte, error)

type DeploymentRunFailed

type DeploymentRunFailed string // Always "deployment_run.failed"

func (DeploymentRunFailed) Default

func (DeploymentRunFailed) MarshalJSON

func (c DeploymentRunFailed) MarshalJSON() ([]byte, error)

type DeploymentRunStarted

type DeploymentRunStarted string // Always "deployment_run.started"

func (DeploymentRunStarted) Default

func (DeploymentRunStarted) MarshalJSON

func (c DeploymentRunStarted) MarshalJSON() ([]byte, error)

type DeploymentRunSucceeded

type DeploymentRunSucceeded string // Always "deployment_run.succeeded"

func (DeploymentRunSucceeded) Default

func (DeploymentRunSucceeded) MarshalJSON

func (c DeploymentRunSucceeded) MarshalJSON() ([]byte, error)

type DeploymentUnpaused

type DeploymentUnpaused string // Always "deployment.unpaused"

func (DeploymentUnpaused) Default

func (DeploymentUnpaused) MarshalJSON

func (c DeploymentUnpaused) MarshalJSON() ([]byte, error)

type DeploymentUpdated

type DeploymentUpdated string // Always "deployment.updated"

func (DeploymentUpdated) Default

func (DeploymentUpdated) MarshalJSON

func (c DeploymentUpdated) MarshalJSON() ([]byte, error)

type Direct

type Direct string // Always "direct"

func (Direct) Default

func (c Direct) Default() Direct

func (Direct) MarshalJSON

func (c Direct) MarshalJSON() ([]byte, error)

type Disabled

type Disabled string // Always "disabled"

func (Disabled) Default

func (c Disabled) Default() Disabled

func (Disabled) MarshalJSON

func (c Disabled) MarshalJSON() ([]byte, error)

type Discovery

type Discovery string // Always "discovery"

func (Discovery) Default

func (c Discovery) Default() Discovery

func (Discovery) MarshalJSON

func (c Discovery) MarshalJSON() ([]byte, error)

type Document

type Document string // Always "document"

func (Document) Default

func (c Document) Default() Document

func (Document) MarshalJSON

func (c Document) MarshalJSON() ([]byte, error)

type DownloadCompleted

type DownloadCompleted string // Always "download_completed"

func (DownloadCompleted) Default

func (DownloadCompleted) MarshalJSON

func (c DownloadCompleted) MarshalJSON() ([]byte, error)

type DownloadFailed

type DownloadFailed string // Always "download_failed"

func (DownloadFailed) Default

func (c DownloadFailed) Default() DownloadFailed

func (DownloadFailed) MarshalJSON

func (c DownloadFailed) MarshalJSON() ([]byte, error)

type DownloadStarted

type DownloadStarted string // Always "download_started"

func (DownloadStarted) Default

func (c DownloadStarted) Default() DownloadStarted

func (DownloadStarted) MarshalJSON

func (c DownloadStarted) MarshalJSON() ([]byte, error)

type Edit

type Edit string // Always "edit"

func (Edit) Default

func (c Edit) Default() Edit

func (Edit) MarshalJSON

func (c Edit) MarshalJSON() ([]byte, error)

type Enabled

type Enabled string // Always "enabled"

func (Enabled) Default

func (c Enabled) Default() Enabled

func (Enabled) MarshalJSON

func (c Enabled) MarshalJSON() ([]byte, error)

type EncryptedCodeExecutionResult

type EncryptedCodeExecutionResult string // Always "encrypted_code_execution_result"

func (EncryptedCodeExecutionResult) Default

func (EncryptedCodeExecutionResult) MarshalJSON

func (c EncryptedCodeExecutionResult) MarshalJSON() ([]byte, error)

type Environment

type Environment string // Always "environment"

func (Environment) Default

func (c Environment) Default() Environment

func (Environment) MarshalJSON

func (c Environment) MarshalJSON() ([]byte, error)

type EnvironmentArchived

type EnvironmentArchived string // Always "environment.archived"

func (EnvironmentArchived) Default

func (EnvironmentArchived) MarshalJSON

func (c EnvironmentArchived) MarshalJSON() ([]byte, error)

type EnvironmentCreated

type EnvironmentCreated string // Always "environment.created"

func (EnvironmentCreated) Default

func (EnvironmentCreated) MarshalJSON

func (c EnvironmentCreated) MarshalJSON() ([]byte, error)

type EnvironmentDeleted

type EnvironmentDeleted string // Always "environment.deleted"

func (EnvironmentDeleted) Default

func (EnvironmentDeleted) MarshalJSON

func (c EnvironmentDeleted) MarshalJSON() ([]byte, error)

type EnvironmentUpdated

type EnvironmentUpdated string // Always "environment.updated"

func (EnvironmentUpdated) Default

func (EnvironmentUpdated) MarshalJSON

func (c EnvironmentUpdated) MarshalJSON() ([]byte, error)

type Ephemeral

type Ephemeral string // Always "ephemeral"

func (Ephemeral) Default

func (c Ephemeral) Default() Ephemeral

func (Ephemeral) MarshalJSON

func (c Ephemeral) MarshalJSON() ([]byte, error)

type Error

type Error string // Always "error"

func (Error) Default

func (c Error) Default() Error

func (Error) MarshalJSON

func (c Error) MarshalJSON() ([]byte, error)

type Errored

type Errored string // Always "errored"

func (Errored) Default

func (c Errored) Default() Errored

func (Errored) MarshalJSON

func (c Errored) MarshalJSON() ([]byte, error)

type Event

type Event string // Always "event"

func (Event) Default

func (c Event) Default() Event

func (Event) MarshalJSON

func (c Event) MarshalJSON() ([]byte, error)

type Expired

type Expired string // Always "expired"

func (Expired) Default

func (c Expired) Default() Expired

func (Expired) MarshalJSON

func (c Expired) MarshalJSON() ([]byte, error)

type ExplicitURL

type ExplicitURL string // Always "explicit_url"

func (ExplicitURL) Default

func (c ExplicitURL) Default() ExplicitURL

func (ExplicitURL) MarshalJSON

func (c ExplicitURL) MarshalJSON() ([]byte, error)

type ExternalKey

type ExternalKey string // Always "external_key"

func (ExternalKey) Default

func (c ExternalKey) Default() ExternalKey

func (ExternalKey) MarshalJSON

func (c ExternalKey) MarshalJSON() ([]byte, error)

type ExternalKeyDeleted

type ExternalKeyDeleted string // Always "external_key_deleted"

func (ExternalKeyDeleted) Default

func (ExternalKeyDeleted) MarshalJSON

func (c ExternalKeyDeleted) MarshalJSON() ([]byte, error)

type ExternalKeyValidation

type ExternalKeyValidation string // Always "external_key_validation"

func (ExternalKeyValidation) Default

func (ExternalKeyValidation) MarshalJSON

func (c ExternalKeyValidation) MarshalJSON() ([]byte, error)

type Fallback

type Fallback string // Always "fallback"

func (Fallback) Default

func (c Fallback) Default() Fallback

func (Fallback) MarshalJSON

func (c Fallback) MarshalJSON() ([]byte, error)

type FallbackMessage

type FallbackMessage string // Always "fallback_message"

func (FallbackMessage) Default

func (c FallbackMessage) Default() FallbackMessage

func (FallbackMessage) MarshalJSON

func (c FallbackMessage) MarshalJSON() ([]byte, error)

type FederationIssuer

type FederationIssuer string // Always "federation_issuer"

func (FederationIssuer) Default

func (c FederationIssuer) Default() FederationIssuer

func (FederationIssuer) MarshalJSON

func (c FederationIssuer) MarshalJSON() ([]byte, error)

type FederationRule

type FederationRule string // Always "federation_rule"

func (FederationRule) Default

func (c FederationRule) Default() FederationRule

func (FederationRule) MarshalJSON

func (c FederationRule) MarshalJSON() ([]byte, error)

type FederationRuleWorkspace

type FederationRuleWorkspace string // Always "federation_rule_workspace"

func (FederationRuleWorkspace) Default

func (FederationRuleWorkspace) MarshalJSON

func (c FederationRuleWorkspace) MarshalJSON() ([]byte, error)

type FederationRuleWorkspaceDeleted

type FederationRuleWorkspaceDeleted string // Always "federation_rule_workspace_deleted"

func (FederationRuleWorkspaceDeleted) Default

func (FederationRuleWorkspaceDeleted) MarshalJSON

func (c FederationRuleWorkspaceDeleted) MarshalJSON() ([]byte, error)

type File

type File string // Always "file"

func (File) Default

func (c File) Default() File

func (File) MarshalJSON

func (c File) MarshalJSON() ([]byte, error)

type GCP

type GCP string // Always "gcp"

func (GCP) Default

func (c GCP) Default() GCP

func (GCP) MarshalJSON

func (c GCP) MarshalJSON() ([]byte, error)

type Glob

type Glob string // Always "glob"

func (Glob) Default

func (c Glob) Default() Glob

func (Glob) MarshalJSON

func (c Glob) MarshalJSON() ([]byte, error)

type Grep

type Grep string // Always "grep"

func (Grep) Default

func (c Grep) Default() Grep

func (Grep) MarshalJSON

func (c Grep) MarshalJSON() ([]byte, error)

type Image

type Image string // Always "image"

func (Image) Default

func (c Image) Default() Image

func (Image) MarshalJSON

func (c Image) MarshalJSON() ([]byte, error)

type Inline

type Inline string // Always "inline"

func (Inline) Default

func (c Inline) Default() Inline

func (Inline) MarshalJSON

func (c Inline) MarshalJSON() ([]byte, error)

type InputJSONDelta

type InputJSONDelta string // Always "input_json_delta"

func (InputJSONDelta) Default

func (c InputJSONDelta) Default() InputJSONDelta

func (InputJSONDelta) MarshalJSON

func (c InputJSONDelta) MarshalJSON() ([]byte, error)

type InputTokens

type InputTokens string // Always "input_tokens"

func (InputTokens) Default

func (c InputTokens) Default() InputTokens

func (InputTokens) MarshalJSON

func (c InputTokens) MarshalJSON() ([]byte, error)

type Insert

type Insert string // Always "insert"

func (Insert) Default

func (c Insert) Default() Insert

func (Insert) MarshalJSON

func (c Insert) MarshalJSON() ([]byte, error)

type InvalidRequestError

type InvalidRequestError string // Always "invalid_request_error"

func (InvalidRequestError) Default

func (InvalidRequestError) MarshalJSON

func (c InvalidRequestError) MarshalJSON() ([]byte, error)

type Invite

type Invite string // Always "invite"

func (Invite) Default

func (c Invite) Default() Invite

func (Invite) MarshalJSON

func (c Invite) MarshalJSON() ([]byte, error)

type InviteDeleted

type InviteDeleted string // Always "invite_deleted"

func (InviteDeleted) Default

func (c InviteDeleted) Default() InviteDeleted

func (InviteDeleted) MarshalJSON

func (c InviteDeleted) MarshalJSON() ([]byte, error)

type JSONSchema

type JSONSchema string // Always "json_schema"

func (JSONSchema) Default

func (c JSONSchema) Default() JSONSchema

func (JSONSchema) MarshalJSON

func (c JSONSchema) MarshalJSON() ([]byte, error)

type Limited

type Limited string // Always "limited"

func (Limited) Default

func (c Limited) Default() Limited

func (Limited) MarshalJSON

func (c Limited) MarshalJSON() ([]byte, error)

type MCPToolReference

type MCPToolReference string // Always "mcp_tool_reference"

func (MCPToolReference) Default

func (c MCPToolReference) Default() MCPToolReference

func (MCPToolReference) MarshalJSON

func (c MCPToolReference) MarshalJSON() ([]byte, error)

type MCPToolResult

type MCPToolResult string // Always "mcp_tool_result"

func (MCPToolResult) Default

func (c MCPToolResult) Default() MCPToolResult

func (MCPToolResult) MarshalJSON

func (c MCPToolResult) MarshalJSON() ([]byte, error)

type MCPToolUse

type MCPToolUse string // Always "mcp_tool_use"

func (MCPToolUse) Default

func (c MCPToolUse) Default() MCPToolUse

func (MCPToolUse) MarshalJSON

func (c MCPToolUse) MarshalJSON() ([]byte, error)

type MCPToolset

type MCPToolset string // Always "mcp_toolset"

func (MCPToolset) Default

func (c MCPToolset) Default() MCPToolset

func (MCPToolset) MarshalJSON

func (c MCPToolset) MarshalJSON() ([]byte, error)

type MCPToolsetReference

type MCPToolsetReference string // Always "mcp_toolset_reference"

func (MCPToolsetReference) Default

func (MCPToolsetReference) MarshalJSON

func (c MCPToolsetReference) MarshalJSON() ([]byte, error)

type Memory

type Memory string // Always "memory"

func (Memory) Default

func (c Memory) Default() Memory

func (Memory) MarshalJSON

func (c Memory) MarshalJSON() ([]byte, error)

type Memory20250818

type Memory20250818 string // Always "memory_20250818"

func (Memory20250818) Default

func (c Memory20250818) Default() Memory20250818

func (Memory20250818) MarshalJSON

func (c Memory20250818) MarshalJSON() ([]byte, error)

type MemoryStoreArchived

type MemoryStoreArchived string // Always "memory_store.archived"

func (MemoryStoreArchived) Default

func (MemoryStoreArchived) MarshalJSON

func (c MemoryStoreArchived) MarshalJSON() ([]byte, error)

type MemoryStoreCreated

type MemoryStoreCreated string // Always "memory_store.created"

func (MemoryStoreCreated) Default

func (MemoryStoreCreated) MarshalJSON

func (c MemoryStoreCreated) MarshalJSON() ([]byte, error)

type MemoryStoreDeleted

type MemoryStoreDeleted string // Always "memory_store.deleted"

func (MemoryStoreDeleted) Default

func (MemoryStoreDeleted) MarshalJSON

func (c MemoryStoreDeleted) MarshalJSON() ([]byte, error)

type Message

type Message string // Always "message"

func (Message) Default

func (c Message) Default() Message

func (Message) MarshalJSON

func (c Message) MarshalJSON() ([]byte, error)

type MessageBatch

type MessageBatch string // Always "message_batch"

func (MessageBatch) Default

func (c MessageBatch) Default() MessageBatch

func (MessageBatch) MarshalJSON

func (c MessageBatch) MarshalJSON() ([]byte, error)

type MessageBatchDeleted

type MessageBatchDeleted string // Always "message_batch_deleted"

func (MessageBatchDeleted) Default

func (MessageBatchDeleted) MarshalJSON

func (c MessageBatchDeleted) MarshalJSON() ([]byte, error)

type MessageDelta

type MessageDelta string // Always "message_delta"

func (MessageDelta) Default

func (c MessageDelta) Default() MessageDelta

func (MessageDelta) MarshalJSON

func (c MessageDelta) MarshalJSON() ([]byte, error)

type MessageStart

type MessageStart string // Always "message_start"

func (MessageStart) Default

func (c MessageStart) Default() MessageStart

func (MessageStart) MarshalJSON

func (c MessageStart) MarshalJSON() ([]byte, error)

type MessageStop

type MessageStop string // Always "message_stop"

func (MessageStop) Default

func (c MessageStop) Default() MessageStop

func (MessageStop) MarshalJSON

func (c MessageStop) MarshalJSON() ([]byte, error)

type MessagesChanged

type MessagesChanged string // Always "messages_changed"

func (MessagesChanged) Default

func (c MessagesChanged) Default() MessagesChanged

func (MessagesChanged) MarshalJSON

func (c MessagesChanged) MarshalJSON() ([]byte, error)

type Model

type Model string // Always "model"

func (Model) Default

func (c Model) Default() Model

func (Model) MarshalJSON

func (c Model) MarshalJSON() ([]byte, error)

type ModelChanged

type ModelChanged string // Always "model_changed"

func (ModelChanged) Default

func (c ModelChanged) Default() ModelChanged

func (ModelChanged) MarshalJSON

func (c ModelChanged) MarshalJSON() ([]byte, error)

type None

type None string // Always "none"

func (None) Default

func (c None) Default() None

func (None) MarshalJSON

func (c None) MarshalJSON() ([]byte, error)

type NotApplied

type NotApplied string // Always "not_applied"

func (NotApplied) Default

func (c NotApplied) Default() NotApplied

func (NotApplied) MarshalJSON

func (c NotApplied) MarshalJSON() ([]byte, error)

type NotFoundError

type NotFoundError string // Always "not_found_error"

func (NotFoundError) Default

func (c NotFoundError) Default() NotFoundError

func (NotFoundError) MarshalJSON

func (c NotFoundError) MarshalJSON() ([]byte, error)

type Object

type Object string // Always "object"

func (Object) Default

func (c Object) Default() Object

func (Object) MarshalJSON

func (c Object) MarshalJSON() ([]byte, error)

type Organization

type Organization string // Always "organization"

func (Organization) Default

func (c Organization) Default() Organization

func (Organization) MarshalJSON

func (c Organization) MarshalJSON() ([]byte, error)

type OverloadedError

type OverloadedError string // Always "overloaded_error"

func (OverloadedError) Default

func (c OverloadedError) Default() OverloadedError

func (OverloadedError) MarshalJSON

func (c OverloadedError) MarshalJSON() ([]byte, error)

type PageLocation

type PageLocation string // Always "page_location"

func (PageLocation) Default

func (c PageLocation) Default() PageLocation

func (PageLocation) MarshalJSON

func (c PageLocation) MarshalJSON() ([]byte, error)

type PermissionError

type PermissionError string // Always "permission_error"

func (PermissionError) Default

func (c PermissionError) Default() PermissionError

func (PermissionError) MarshalJSON

func (c PermissionError) MarshalJSON() ([]byte, error)

type PreviousMessageNotFound

type PreviousMessageNotFound string // Always "previous_message_not_found"

func (PreviousMessageNotFound) Default

func (PreviousMessageNotFound) MarshalJSON

func (c PreviousMessageNotFound) MarshalJSON() ([]byte, error)

type RateLimit

type RateLimit string // Always "rate_limit"

func (RateLimit) Default

func (c RateLimit) Default() RateLimit

func (RateLimit) MarshalJSON

func (c RateLimit) MarshalJSON() ([]byte, error)

type RateLimitError

type RateLimitError string // Always "rate_limit_error"

func (RateLimitError) Default

func (c RateLimitError) Default() RateLimitError

func (RateLimitError) MarshalJSON

func (c RateLimitError) MarshalJSON() ([]byte, error)

type Read

type Read string // Always "read"

func (Read) Default

func (c Read) Default() Read

func (Read) MarshalJSON

func (c Read) MarshalJSON() ([]byte, error)

type RedactedThinking

type RedactedThinking string // Always "redacted_thinking"

func (RedactedThinking) Default

func (c RedactedThinking) Default() RedactedThinking

func (RedactedThinking) MarshalJSON

func (c RedactedThinking) MarshalJSON() ([]byte, error)

type Redeemed

type Redeemed string // Always "redeemed"

func (Redeemed) Default

func (c Redeemed) Default() Redeemed

func (Redeemed) MarshalJSON

func (c Redeemed) MarshalJSON() ([]byte, error)

type Refusal

type Refusal string // Always "refusal"

func (Refusal) Default

func (c Refusal) Default() Refusal

func (Refusal) MarshalJSON

func (c Refusal) MarshalJSON() ([]byte, error)

type Rename

type Rename string // Always "rename"

func (Rename) Default

func (c Rename) Default() Rename

func (Rename) MarshalJSON

func (c Rename) MarshalJSON() ([]byte, error)

type SearchResult

type SearchResult string // Always "search_result"

func (SearchResult) Default

func (c SearchResult) Default() SearchResult

func (SearchResult) MarshalJSON

func (c SearchResult) MarshalJSON() ([]byte, error)

type SearchResultLocation

type SearchResultLocation string // Always "search_result_location"

func (SearchResultLocation) Default

func (SearchResultLocation) MarshalJSON

func (c SearchResultLocation) MarshalJSON() ([]byte, error)

type SelfHosted

type SelfHosted string // Always "self_hosted"

func (SelfHosted) Default

func (c SelfHosted) Default() SelfHosted

func (SelfHosted) MarshalJSON

func (c SelfHosted) MarshalJSON() ([]byte, error)

type ServerToolUse

type ServerToolUse string // Always "server_tool_use"

func (ServerToolUse) Default

func (c ServerToolUse) Default() ServerToolUse

func (ServerToolUse) MarshalJSON

func (c ServerToolUse) MarshalJSON() ([]byte, error)

type ServiceAccount

type ServiceAccount string // Always "service_account"

func (ServiceAccount) Default

func (c ServiceAccount) Default() ServiceAccount

func (ServiceAccount) MarshalJSON

func (c ServiceAccount) MarshalJSON() ([]byte, error)

type ServiceAccountActor

type ServiceAccountActor string // Always "service_account_actor"

func (ServiceAccountActor) Default

func (ServiceAccountActor) MarshalJSON

func (c ServiceAccountActor) MarshalJSON() ([]byte, error)

type ServiceAccountWorkspaceMember

type ServiceAccountWorkspaceMember string // Always "service_account_workspace_member"

func (ServiceAccountWorkspaceMember) Default

func (ServiceAccountWorkspaceMember) MarshalJSON

func (c ServiceAccountWorkspaceMember) MarshalJSON() ([]byte, error)

type ServiceAccountWorkspaceMemberDeleted

type ServiceAccountWorkspaceMemberDeleted string // Always "service_account_workspace_member_deleted"

func (ServiceAccountWorkspaceMemberDeleted) Default

func (ServiceAccountWorkspaceMemberDeleted) MarshalJSON

func (c ServiceAccountWorkspaceMemberDeleted) MarshalJSON() ([]byte, error)

type Session

type Session string // Always "session"

func (Session) Default

func (c Session) Default() Session

func (Session) MarshalJSON

func (c Session) MarshalJSON() ([]byte, error)

type SessionArchived

type SessionArchived string // Always "session.archived"

func (SessionArchived) Default

func (c SessionArchived) Default() SessionArchived

func (SessionArchived) MarshalJSON

func (c SessionArchived) MarshalJSON() ([]byte, error)

type SessionBudgetReached

type SessionBudgetReached string // Always "session.budget_reached"

func (SessionBudgetReached) Default

func (SessionBudgetReached) MarshalJSON

func (c SessionBudgetReached) MarshalJSON() ([]byte, error)

type SessionCreated

type SessionCreated string // Always "session.created"

func (SessionCreated) Default

func (c SessionCreated) Default() SessionCreated

func (SessionCreated) MarshalJSON

func (c SessionCreated) MarshalJSON() ([]byte, error)

type SessionDeleted

type SessionDeleted string // Always "session.deleted"

func (SessionDeleted) Default

func (c SessionDeleted) Default() SessionDeleted

func (SessionDeleted) MarshalJSON

func (c SessionDeleted) MarshalJSON() ([]byte, error)

type SessionIdled

type SessionIdled string // Always "session.idled"

func (SessionIdled) Default

func (c SessionIdled) Default() SessionIdled

func (SessionIdled) MarshalJSON

func (c SessionIdled) MarshalJSON() ([]byte, error)

type SessionOutcomeEvaluationEnded

type SessionOutcomeEvaluationEnded string // Always "session.outcome_evaluation_ended"

func (SessionOutcomeEvaluationEnded) Default

func (SessionOutcomeEvaluationEnded) MarshalJSON

func (c SessionOutcomeEvaluationEnded) MarshalJSON() ([]byte, error)

type SessionPending

type SessionPending string // Always "session.pending"

func (SessionPending) Default

func (c SessionPending) Default() SessionPending

func (SessionPending) MarshalJSON

func (c SessionPending) MarshalJSON() ([]byte, error)

type SessionRequiresAction

type SessionRequiresAction string // Always "session.requires_action"

func (SessionRequiresAction) Default

func (SessionRequiresAction) MarshalJSON

func (c SessionRequiresAction) MarshalJSON() ([]byte, error)

type SessionRunning

type SessionRunning string // Always "session.running"

func (SessionRunning) Default

func (c SessionRunning) Default() SessionRunning

func (SessionRunning) MarshalJSON

func (c SessionRunning) MarshalJSON() ([]byte, error)

type SessionStatusIdled

type SessionStatusIdled string // Always "session.status_idled"

func (SessionStatusIdled) Default

func (SessionStatusIdled) MarshalJSON

func (c SessionStatusIdled) MarshalJSON() ([]byte, error)

type SessionStatusRescheduled

type SessionStatusRescheduled string // Always "session.status_rescheduled"

func (SessionStatusRescheduled) Default

func (SessionStatusRescheduled) MarshalJSON

func (c SessionStatusRescheduled) MarshalJSON() ([]byte, error)

type SessionStatusRunStarted

type SessionStatusRunStarted string // Always "session.status_run_started"

func (SessionStatusRunStarted) Default

func (SessionStatusRunStarted) MarshalJSON

func (c SessionStatusRunStarted) MarshalJSON() ([]byte, error)

type SessionStatusTerminated

type SessionStatusTerminated string // Always "session.status_terminated"

func (SessionStatusTerminated) Default

func (SessionStatusTerminated) MarshalJSON

func (c SessionStatusTerminated) MarshalJSON() ([]byte, error)

type SessionThreadCreated

type SessionThreadCreated string // Always "session.thread_created"

func (SessionThreadCreated) Default

func (SessionThreadCreated) MarshalJSON

func (c SessionThreadCreated) MarshalJSON() ([]byte, error)

type SessionThreadIdled

type SessionThreadIdled string // Always "session.thread_idled"

func (SessionThreadIdled) Default

func (SessionThreadIdled) MarshalJSON

func (c SessionThreadIdled) MarshalJSON() ([]byte, error)

type SessionThreadTerminated

type SessionThreadTerminated string // Always "session.thread_terminated"

func (SessionThreadTerminated) Default

func (SessionThreadTerminated) MarshalJSON

func (c SessionThreadTerminated) MarshalJSON() ([]byte, error)

type SessionUpdated

type SessionUpdated string // Always "session.updated"

func (SessionUpdated) Default

func (c SessionUpdated) Default() SessionUpdated

func (SessionUpdated) MarshalJSON

func (c SessionUpdated) MarshalJSON() ([]byte, error)

type SignatureDelta

type SignatureDelta string // Always "signature_delta"

func (SignatureDelta) Default

func (c SignatureDelta) Default() SignatureDelta

func (SignatureDelta) MarshalJSON

func (c SignatureDelta) MarshalJSON() ([]byte, error)

type Skill

type Skill string // Always "skill"

func (Skill) Default

func (c Skill) Default() Skill

func (Skill) MarshalJSON

func (c Skill) MarshalJSON() ([]byte, error)

type SkillDeleted

type SkillDeleted string // Always "skill_deleted"

func (SkillDeleted) Default

func (c SkillDeleted) Default() SkillDeleted

func (SkillDeleted) MarshalJSON

func (c SkillDeleted) MarshalJSON() ([]byte, error)

type SkillVersion

type SkillVersion string // Always "skill_version"

func (SkillVersion) Default

func (c SkillVersion) Default() SkillVersion

func (SkillVersion) MarshalJSON

func (c SkillVersion) MarshalJSON() ([]byte, error)

type SkillVersionDeleted

type SkillVersionDeleted string // Always "skill_version_deleted"

func (SkillVersionDeleted) Default

func (SkillVersionDeleted) MarshalJSON

func (c SkillVersionDeleted) MarshalJSON() ([]byte, error)

type StrReplace

type StrReplace string // Always "str_replace"

func (StrReplace) Default

func (c StrReplace) Default() StrReplace

func (StrReplace) MarshalJSON

func (c StrReplace) MarshalJSON() ([]byte, error)

type StrReplaceBasedEditTool

type StrReplaceBasedEditTool string // Always "str_replace_based_edit_tool"

func (StrReplaceBasedEditTool) Default

func (StrReplaceBasedEditTool) MarshalJSON

func (c StrReplaceBasedEditTool) MarshalJSON() ([]byte, error)

type StrReplaceEditor

type StrReplaceEditor string // Always "str_replace_editor"

func (StrReplaceEditor) Default

func (c StrReplaceEditor) Default() StrReplaceEditor

func (StrReplaceEditor) MarshalJSON

func (c StrReplaceEditor) MarshalJSON() ([]byte, error)

type Succeeded

type Succeeded string // Always "succeeded"

func (Succeeded) Default

func (c Succeeded) Default() Succeeded

func (Succeeded) MarshalJSON

func (c Succeeded) MarshalJSON() ([]byte, error)

type SystemChanged

type SystemChanged string // Always "system_changed"

func (SystemChanged) Default

func (c SystemChanged) Default() SystemChanged

func (SystemChanged) MarshalJSON

func (c SystemChanged) MarshalJSON() ([]byte, error)

type TabOpened

type TabOpened string // Always "tab_opened"

func (TabOpened) Default

func (c TabOpened) Default() TabOpened

func (TabOpened) MarshalJSON

func (c TabOpened) MarshalJSON() ([]byte, error)

type Text

type Text string // Always "text"

func (Text) Default

func (c Text) Default() Text

func (Text) MarshalJSON

func (c Text) MarshalJSON() ([]byte, error)

type TextDelta

type TextDelta string // Always "text_delta"

func (TextDelta) Default

func (c TextDelta) Default() TextDelta

func (TextDelta) MarshalJSON

func (c TextDelta) MarshalJSON() ([]byte, error)

type TextEditor20241022

type TextEditor20241022 string // Always "text_editor_20241022"

func (TextEditor20241022) Default

func (TextEditor20241022) MarshalJSON

func (c TextEditor20241022) MarshalJSON() ([]byte, error)

type TextEditor20250124

type TextEditor20250124 string // Always "text_editor_20250124"

func (TextEditor20250124) Default

func (TextEditor20250124) MarshalJSON

func (c TextEditor20250124) MarshalJSON() ([]byte, error)

type TextEditor20250429

type TextEditor20250429 string // Always "text_editor_20250429"

func (TextEditor20250429) Default

func (TextEditor20250429) MarshalJSON

func (c TextEditor20250429) MarshalJSON() ([]byte, error)

type TextEditor20250728

type TextEditor20250728 string // Always "text_editor_20250728"

func (TextEditor20250728) Default

func (TextEditor20250728) MarshalJSON

func (c TextEditor20250728) MarshalJSON() ([]byte, error)

type TextEditorCodeExecutionCreateResult

type TextEditorCodeExecutionCreateResult string // Always "text_editor_code_execution_create_result"

func (TextEditorCodeExecutionCreateResult) Default

func (TextEditorCodeExecutionCreateResult) MarshalJSON

func (c TextEditorCodeExecutionCreateResult) MarshalJSON() ([]byte, error)

type TextEditorCodeExecutionStrReplaceResult

type TextEditorCodeExecutionStrReplaceResult string // Always "text_editor_code_execution_str_replace_result"

func (TextEditorCodeExecutionStrReplaceResult) Default

func (TextEditorCodeExecutionStrReplaceResult) MarshalJSON

func (c TextEditorCodeExecutionStrReplaceResult) MarshalJSON() ([]byte, error)

type TextEditorCodeExecutionToolResult

type TextEditorCodeExecutionToolResult string // Always "text_editor_code_execution_tool_result"

func (TextEditorCodeExecutionToolResult) Default

func (TextEditorCodeExecutionToolResult) MarshalJSON

func (c TextEditorCodeExecutionToolResult) MarshalJSON() ([]byte, error)

type TextEditorCodeExecutionToolResultError

type TextEditorCodeExecutionToolResultError string // Always "text_editor_code_execution_tool_result_error"

func (TextEditorCodeExecutionToolResultError) Default

func (TextEditorCodeExecutionToolResultError) MarshalJSON

func (c TextEditorCodeExecutionToolResultError) MarshalJSON() ([]byte, error)

type TextEditorCodeExecutionViewResult

type TextEditorCodeExecutionViewResult string // Always "text_editor_code_execution_view_result"

func (TextEditorCodeExecutionViewResult) Default

func (TextEditorCodeExecutionViewResult) MarshalJSON

func (c TextEditorCodeExecutionViewResult) MarshalJSON() ([]byte, error)

type TextPlain

type TextPlain string // Always "text/plain"

func (TextPlain) Default

func (c TextPlain) Default() TextPlain

func (TextPlain) MarshalJSON

func (c TextPlain) MarshalJSON() ([]byte, error)

type Thinking

type Thinking string // Always "thinking"

func (Thinking) Default

func (c Thinking) Default() Thinking

func (Thinking) MarshalJSON

func (c Thinking) MarshalJSON() ([]byte, error)

type ThinkingDelta

type ThinkingDelta string // Always "thinking_delta"

func (ThinkingDelta) Default

func (c ThinkingDelta) Default() ThinkingDelta

func (ThinkingDelta) MarshalJSON

func (c ThinkingDelta) MarshalJSON() ([]byte, error)

type ThinkingDropped

type ThinkingDropped string // Always "thinking_dropped"

func (ThinkingDropped) Default

func (c ThinkingDropped) Default() ThinkingDropped

func (ThinkingDropped) MarshalJSON

func (c ThinkingDropped) MarshalJSON() ([]byte, error)

type ThinkingTurns

type ThinkingTurns string // Always "thinking_turns"

func (ThinkingTurns) Default

func (c ThinkingTurns) Default() ThinkingTurns

func (ThinkingTurns) MarshalJSON

func (c ThinkingTurns) MarshalJSON() ([]byte, error)

type TimeoutError

type TimeoutError string // Always "timeout_error"

func (TimeoutError) Default

func (c TimeoutError) Default() TimeoutError

func (TimeoutError) MarshalJSON

func (c TimeoutError) MarshalJSON() ([]byte, error)

type Tokens

type Tokens string // Always "tokens"

func (Tokens) Default

func (c Tokens) Default() Tokens

func (Tokens) MarshalJSON

func (c Tokens) MarshalJSON() ([]byte, error)

type Tool

type Tool string // Always "tool"

func (Tool) Default

func (c Tool) Default() Tool

func (Tool) MarshalJSON

func (c Tool) MarshalJSON() ([]byte, error)

type ToolAddition

type ToolAddition string // Always "tool_addition"

func (ToolAddition) Default

func (c ToolAddition) Default() ToolAddition

func (ToolAddition) MarshalJSON

func (c ToolAddition) MarshalJSON() ([]byte, error)

type ToolReference

type ToolReference string // Always "tool_reference"

func (ToolReference) Default

func (c ToolReference) Default() ToolReference

func (ToolReference) MarshalJSON

func (c ToolReference) MarshalJSON() ([]byte, error)

type ToolRemoval

type ToolRemoval string // Always "tool_removal"

func (ToolRemoval) Default

func (c ToolRemoval) Default() ToolRemoval

func (ToolRemoval) MarshalJSON

func (c ToolRemoval) MarshalJSON() ([]byte, error)

type ToolResult

type ToolResult string // Always "tool_result"

func (ToolResult) Default

func (c ToolResult) Default() ToolResult

func (ToolResult) MarshalJSON

func (c ToolResult) MarshalJSON() ([]byte, error)

type ToolSearchToolBm25

type ToolSearchToolBm25 string // Always "tool_search_tool_bm25"

func (ToolSearchToolBm25) Default

func (ToolSearchToolBm25) MarshalJSON

func (c ToolSearchToolBm25) MarshalJSON() ([]byte, error)

type ToolSearchToolRegex

type ToolSearchToolRegex string // Always "tool_search_tool_regex"

func (ToolSearchToolRegex) Default

func (ToolSearchToolRegex) MarshalJSON

func (c ToolSearchToolRegex) MarshalJSON() ([]byte, error)

type ToolSearchToolResult

type ToolSearchToolResult string // Always "tool_search_tool_result"

func (ToolSearchToolResult) Default

func (ToolSearchToolResult) MarshalJSON

func (c ToolSearchToolResult) MarshalJSON() ([]byte, error)

type ToolSearchToolResultError

type ToolSearchToolResultError string // Always "tool_search_tool_result_error"

func (ToolSearchToolResultError) Default

func (ToolSearchToolResultError) MarshalJSON

func (c ToolSearchToolResultError) MarshalJSON() ([]byte, error)

type ToolSearchToolSearchResult

type ToolSearchToolSearchResult string // Always "tool_search_tool_search_result"

func (ToolSearchToolSearchResult) Default

func (ToolSearchToolSearchResult) MarshalJSON

func (c ToolSearchToolSearchResult) MarshalJSON() ([]byte, error)

type ToolUse

type ToolUse string // Always "tool_use"

func (ToolUse) Default

func (c ToolUse) Default() ToolUse

func (ToolUse) MarshalJSON

func (c ToolUse) MarshalJSON() ([]byte, error)

type ToolUses

type ToolUses string // Always "tool_uses"

func (ToolUses) Default

func (c ToolUses) Default() ToolUses

func (ToolUses) MarshalJSON

func (c ToolUses) MarshalJSON() ([]byte, error)

type ToolsChanged

type ToolsChanged string // Always "tools_changed"

func (ToolsChanged) Default

func (c ToolsChanged) Default() ToolsChanged

func (ToolsChanged) MarshalJSON

func (c ToolsChanged) MarshalJSON() ([]byte, error)

type Tunnel

type Tunnel string // Always "tunnel"

func (Tunnel) Default

func (c Tunnel) Default() Tunnel

func (Tunnel) MarshalJSON

func (c Tunnel) MarshalJSON() ([]byte, error)

type TunnelCertificate

type TunnelCertificate string // Always "tunnel_certificate"

func (TunnelCertificate) Default

func (TunnelCertificate) MarshalJSON

func (c TunnelCertificate) MarshalJSON() ([]byte, error)

type TunnelToken

type TunnelToken string // Always "tunnel_token"

func (TunnelToken) Default

func (c TunnelToken) Default() TunnelToken

func (TunnelToken) MarshalJSON

func (c TunnelToken) MarshalJSON() ([]byte, error)

type URL

type URL string // Always "url"

func (URL) Default

func (c URL) Default() URL

func (URL) MarshalJSON

func (c URL) MarshalJSON() ([]byte, error)

type Unattached

type Unattached string // Always "unattached"

func (Unattached) Default

func (c Unattached) Default() Unattached

func (Unattached) MarshalJSON

func (c Unattached) MarshalJSON() ([]byte, error)

type Unavailable

type Unavailable string // Always "unavailable"

func (Unavailable) Default

func (c Unavailable) Default() Unavailable

func (Unavailable) MarshalJSON

func (c Unavailable) MarshalJSON() ([]byte, error)

type Unrestricted

type Unrestricted string // Always "unrestricted"

func (Unrestricted) Default

func (c Unrestricted) Default() Unrestricted

func (Unrestricted) MarshalJSON

func (c Unrestricted) MarshalJSON() ([]byte, error)

type User

type User string // Always "user"

func (User) Default

func (c User) Default() User

func (User) MarshalJSON

func (c User) MarshalJSON() ([]byte, error)

type UserActor

type UserActor string // Always "user_actor"

func (UserActor) Default

func (c UserActor) Default() UserActor

func (UserActor) MarshalJSON

func (c UserActor) MarshalJSON() ([]byte, error)

type UserDeleted

type UserDeleted string // Always "user_deleted"

func (UserDeleted) Default

func (c UserDeleted) Default() UserDeleted

func (UserDeleted) MarshalJSON

func (c UserDeleted) MarshalJSON() ([]byte, error)

type VaultArchived

type VaultArchived string // Always "vault.archived"

func (VaultArchived) Default

func (c VaultArchived) Default() VaultArchived

func (VaultArchived) MarshalJSON

func (c VaultArchived) MarshalJSON() ([]byte, error)

type VaultCreated

type VaultCreated string // Always "vault.created"

func (VaultCreated) Default

func (c VaultCreated) Default() VaultCreated

func (VaultCreated) MarshalJSON

func (c VaultCreated) MarshalJSON() ([]byte, error)

type VaultCredentialArchived

type VaultCredentialArchived string // Always "vault_credential.archived"

func (VaultCredentialArchived) Default

func (VaultCredentialArchived) MarshalJSON

func (c VaultCredentialArchived) MarshalJSON() ([]byte, error)

type VaultCredentialCreated

type VaultCredentialCreated string // Always "vault_credential.created"

func (VaultCredentialCreated) Default

func (VaultCredentialCreated) MarshalJSON

func (c VaultCredentialCreated) MarshalJSON() ([]byte, error)

type VaultCredentialDeleted

type VaultCredentialDeleted string // Always "vault_credential.deleted"

func (VaultCredentialDeleted) Default

func (VaultCredentialDeleted) MarshalJSON

func (c VaultCredentialDeleted) MarshalJSON() ([]byte, error)

type VaultCredentialRefreshFailed

type VaultCredentialRefreshFailed string // Always "vault_credential.refresh_failed"

func (VaultCredentialRefreshFailed) Default

func (VaultCredentialRefreshFailed) MarshalJSON

func (c VaultCredentialRefreshFailed) MarshalJSON() ([]byte, error)

type VaultDeleted

type VaultDeleted string // Always "vault.deleted"

func (VaultDeleted) Default

func (c VaultDeleted) Default() VaultDeleted

func (VaultDeleted) MarshalJSON

func (c VaultDeleted) MarshalJSON() ([]byte, error)

type View

type View string // Always "view"

func (View) Default

func (c View) Default() View

func (View) MarshalJSON

func (c View) MarshalJSON() ([]byte, error)

type WebFetch

type WebFetch string // Always "web_fetch"

func (WebFetch) Default

func (c WebFetch) Default() WebFetch

func (WebFetch) MarshalJSON

func (c WebFetch) MarshalJSON() ([]byte, error)

type WebFetch20250910

type WebFetch20250910 string // Always "web_fetch_20250910"

func (WebFetch20250910) Default

func (c WebFetch20250910) Default() WebFetch20250910

func (WebFetch20250910) MarshalJSON

func (c WebFetch20250910) MarshalJSON() ([]byte, error)

type WebFetch20260209

type WebFetch20260209 string // Always "web_fetch_20260209"

func (WebFetch20260209) Default

func (c WebFetch20260209) Default() WebFetch20260209

func (WebFetch20260209) MarshalJSON

func (c WebFetch20260209) MarshalJSON() ([]byte, error)

type WebFetch20260309

type WebFetch20260309 string // Always "web_fetch_20260309"

func (WebFetch20260309) Default

func (c WebFetch20260309) Default() WebFetch20260309

func (WebFetch20260309) MarshalJSON

func (c WebFetch20260309) MarshalJSON() ([]byte, error)

type WebFetch20260318

type WebFetch20260318 string // Always "web_fetch_20260318"

func (WebFetch20260318) Default

func (c WebFetch20260318) Default() WebFetch20260318

func (WebFetch20260318) MarshalJSON

func (c WebFetch20260318) MarshalJSON() ([]byte, error)

type WebFetchResult

type WebFetchResult string // Always "web_fetch_result"

func (WebFetchResult) Default

func (c WebFetchResult) Default() WebFetchResult

func (WebFetchResult) MarshalJSON

func (c WebFetchResult) MarshalJSON() ([]byte, error)

type WebFetchToolResult

type WebFetchToolResult string // Always "web_fetch_tool_result"

func (WebFetchToolResult) Default

func (WebFetchToolResult) MarshalJSON

func (c WebFetchToolResult) MarshalJSON() ([]byte, error)

type WebFetchToolResultError

type WebFetchToolResultError string // Always "web_fetch_tool_result_error"

func (WebFetchToolResultError) Default

func (WebFetchToolResultError) MarshalJSON

func (c WebFetchToolResultError) MarshalJSON() ([]byte, error)

type WebSearch

type WebSearch string // Always "web_search"

func (WebSearch) Default

func (c WebSearch) Default() WebSearch

func (WebSearch) MarshalJSON

func (c WebSearch) MarshalJSON() ([]byte, error)

type WebSearch20250305

type WebSearch20250305 string // Always "web_search_20250305"

func (WebSearch20250305) Default

func (WebSearch20250305) MarshalJSON

func (c WebSearch20250305) MarshalJSON() ([]byte, error)

type WebSearch20260209

type WebSearch20260209 string // Always "web_search_20260209"

func (WebSearch20260209) Default

func (WebSearch20260209) MarshalJSON

func (c WebSearch20260209) MarshalJSON() ([]byte, error)

type WebSearch20260318

type WebSearch20260318 string // Always "web_search_20260318"

func (WebSearch20260318) Default

func (WebSearch20260318) MarshalJSON

func (c WebSearch20260318) MarshalJSON() ([]byte, error)

type WebSearchResult

type WebSearchResult string // Always "web_search_result"

func (WebSearchResult) Default

func (c WebSearchResult) Default() WebSearchResult

func (WebSearchResult) MarshalJSON

func (c WebSearchResult) MarshalJSON() ([]byte, error)

type WebSearchResultLocation

type WebSearchResultLocation string // Always "web_search_result_location"

func (WebSearchResultLocation) Default

func (WebSearchResultLocation) MarshalJSON

func (c WebSearchResultLocation) MarshalJSON() ([]byte, error)

type WebSearchToolResult

type WebSearchToolResult string // Always "web_search_tool_result"

func (WebSearchToolResult) Default

func (WebSearchToolResult) MarshalJSON

func (c WebSearchToolResult) MarshalJSON() ([]byte, error)

type WebSearchToolResultError

type WebSearchToolResultError string // Always "web_search_tool_result_error"

func (WebSearchToolResultError) Default

func (WebSearchToolResultError) MarshalJSON

func (c WebSearchToolResultError) MarshalJSON() ([]byte, error)

type Work

type Work string // Always "work"

func (Work) Default

func (c Work) Default() Work

func (Work) MarshalJSON

func (c Work) MarshalJSON() ([]byte, error)

type WorkHeartbeat

type WorkHeartbeat string // Always "work_heartbeat"

func (WorkHeartbeat) Default

func (c WorkHeartbeat) Default() WorkHeartbeat

func (WorkHeartbeat) MarshalJSON

func (c WorkHeartbeat) MarshalJSON() ([]byte, error)

type WorkQueueStats

type WorkQueueStats string // Always "work_queue_stats"

func (WorkQueueStats) Default

func (c WorkQueueStats) Default() WorkQueueStats

func (WorkQueueStats) MarshalJSON

func (c WorkQueueStats) MarshalJSON() ([]byte, error)

type Workspace

type Workspace string // Always "workspace"

func (Workspace) Default

func (c Workspace) Default() Workspace

func (Workspace) MarshalJSON

func (c Workspace) MarshalJSON() ([]byte, error)

type WorkspaceMember

type WorkspaceMember string // Always "workspace_member"

func (WorkspaceMember) Default

func (c WorkspaceMember) Default() WorkspaceMember

func (WorkspaceMember) MarshalJSON

func (c WorkspaceMember) MarshalJSON() ([]byte, error)

type WorkspaceMemberDeleted

type WorkspaceMemberDeleted string // Always "workspace_member_deleted"

func (WorkspaceMemberDeleted) Default

func (WorkspaceMemberDeleted) MarshalJSON

func (c WorkspaceMemberDeleted) MarshalJSON() ([]byte, error)

type WorkspaceRateLimit

type WorkspaceRateLimit string // Always "workspace_rate_limit"

func (WorkspaceRateLimit) Default

func (WorkspaceRateLimit) MarshalJSON

func (c WorkspaceRateLimit) MarshalJSON() ([]byte, error)

type Write

type Write string // Always "write"

func (Write) Default

func (c Write) Default() Write

func (Write) MarshalJSON

func (c Write) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL