SYMBOL INDEX (4382 symbols across 114 files) FILE: aliases.go constant WebSearchToolRequestErrorErrorCodeInvalidToolInput (line 61) | WebSearchToolRequestErrorErrorCodeInvalidToolInput = WebSearchToolResult... constant WebSearchToolRequestErrorErrorCodeUnavailable (line 62) | WebSearchToolRequestErrorErrorCodeUnavailable = WebSearchToolResultError... constant WebSearchToolRequestErrorErrorCodeMaxUsesExceeded (line 63) | WebSearchToolRequestErrorErrorCodeMaxUsesExceeded = WebSearchToolResultE... constant WebSearchToolRequestErrorErrorCodeTooManyRequests (line 64) | WebSearchToolRequestErrorErrorCodeTooManyRequests = WebSearchToolResultE... constant WebSearchToolRequestErrorErrorCodeQueryTooLong (line 65) | WebSearchToolRequestErrorErrorCodeQueryTooLong = WebSearchToolResultErro... constant WebSearchToolRequestErrorErrorCodeRequestTooLarge (line 66) | WebSearchToolRequestErrorErrorCodeRequestTooLarge = WebSearchToolResultE... constant WebSearchToolResultErrorErrorCodeInvalidToolInput (line 67) | WebSearchToolResultErrorErrorCodeInvalidToolInput = WebSearchToolResultE... constant WebSearchToolResultErrorErrorCodeUnavailable (line 68) | WebSearchToolResultErrorErrorCodeUnavailable = WebSearchToolResultErrorC... constant WebSearchToolResultErrorErrorCodeMaxUsesExceeded (line 69) | WebSearchToolResultErrorErrorCodeMaxUsesExceeded = WebSearchToolResultEr... constant WebSearchToolResultErrorErrorCodeTooManyRequests (line 70) | WebSearchToolResultErrorErrorCodeTooManyRequests = WebSearchToolResultEr... constant WebSearchToolResultErrorErrorCodeQueryTooLong (line 71) | WebSearchToolResultErrorErrorCodeQueryTooLong = WebSearchToolResultError... constant WebSearchToolResultErrorErrorCodeRequestTooLarge (line 72) | WebSearchToolResultErrorErrorCodeRequestTooLarge = WebSearchToolResultEr... FILE: bedrock/bedrock.go constant DefaultVersion (line 31) | DefaultVersion = "bedrock-2023-05-31" function NewStaticBearerTokenProvider (line 38) | func NewStaticBearerTokenProvider(token string) *bearer.StaticTokenProvi... type eventstreamChunk (line 47) | type eventstreamChunk struct type eventstreamDecoder (line 52) | type eventstreamDecoder struct method Close (line 60) | func (e *eventstreamDecoder) Close() error { method Err (line 64) | func (e *eventstreamDecoder) Err() error { method Next (line 68) | func (e *eventstreamDecoder) Next() bool { method Event (line 163) | func (e *eventstreamDecoder) Event() ssestream.Event { function init (line 171) | func init() { function WithLoadDefaultConfig (line 181) | func WithLoadDefaultConfig(ctx context.Context, optFns ...func(*config.L... function WithConfig (line 195) | func WithConfig(cfg aws.Config) option.RequestOption { function bedrockMiddleware (line 220) | func bedrockMiddleware(signer *v4.Signer, cfg aws.Config) option.Middlew... FILE: bedrock/bedrock_test.go function TestBedrockURLEncoding (line 16) | func TestBedrockURLEncoding(t *testing.T) { function TestBedrockBetaHeadersReRoutedThroughBody (line 130) | func TestBedrockBetaHeadersReRoutedThroughBody(t *testing.T) { function TestBedrockBearerToken (line 206) | func TestBedrockBearerToken(t *testing.T) { FILE: beta.go type BetaService (line 20) | type BetaService struct function NewBetaService (line 31) | func NewBetaService(opts ...option.RequestOption) (r BetaService) { constant AnthropicBetaMessageBatches2024_09_24 (line 44) | AnthropicBetaMessageBatches2024_09_24 AnthropicBeta = "messa... constant AnthropicBetaPromptCaching2024_07_31 (line 45) | AnthropicBetaPromptCaching2024_07_31 AnthropicBeta = "promp... constant AnthropicBetaComputerUse2024_10_22 (line 46) | AnthropicBetaComputerUse2024_10_22 AnthropicBeta = "compu... constant AnthropicBetaComputerUse2025_01_24 (line 47) | AnthropicBetaComputerUse2025_01_24 AnthropicBeta = "compu... constant AnthropicBetaPDFs2024_09_25 (line 48) | AnthropicBetaPDFs2024_09_25 AnthropicBeta = "pdfs-... constant AnthropicBetaTokenCounting2024_11_01 (line 49) | AnthropicBetaTokenCounting2024_11_01 AnthropicBeta = "token... constant AnthropicBetaTokenEfficientTools2025_02_19 (line 50) | AnthropicBetaTokenEfficientTools2025_02_19 AnthropicBeta = "token... constant AnthropicBetaOutput128k2025_02_19 (line 51) | AnthropicBetaOutput128k2025_02_19 AnthropicBeta = "outpu... constant AnthropicBetaFilesAPI2025_04_14 (line 52) | AnthropicBetaFilesAPI2025_04_14 AnthropicBeta = "files... constant AnthropicBetaMCPClient2025_04_04 (line 53) | AnthropicBetaMCPClient2025_04_04 AnthropicBeta = "mcp-c... constant AnthropicBetaMCPClient2025_11_20 (line 54) | AnthropicBetaMCPClient2025_11_20 AnthropicBeta = "mcp-c... constant AnthropicBetaDevFullThinking2025_05_14 (line 55) | AnthropicBetaDevFullThinking2025_05_14 AnthropicBeta = "dev-f... constant AnthropicBetaInterleavedThinking2025_05_14 (line 56) | AnthropicBetaInterleavedThinking2025_05_14 AnthropicBeta = "inter... constant AnthropicBetaCodeExecution2025_05_22 (line 57) | AnthropicBetaCodeExecution2025_05_22 AnthropicBeta = "code-... constant AnthropicBetaExtendedCacheTTL2025_04_11 (line 58) | AnthropicBetaExtendedCacheTTL2025_04_11 AnthropicBeta = "exten... constant AnthropicBetaContext1m2025_08_07 (line 59) | AnthropicBetaContext1m2025_08_07 AnthropicBeta = "conte... constant AnthropicBetaContextManagement2025_06_27 (line 60) | AnthropicBetaContextManagement2025_06_27 AnthropicBeta = "conte... constant AnthropicBetaModelContextWindowExceeded2025_08_26 (line 61) | AnthropicBetaModelContextWindowExceeded2025_08_26 AnthropicBeta = "model... constant AnthropicBetaSkills2025_10_02 (line 62) | AnthropicBetaSkills2025_10_02 AnthropicBeta = "skill... constant AnthropicBetaFastMode2026_02_01 (line 63) | AnthropicBetaFastMode2026_02_01 AnthropicBeta = "fast-... type BetaAPIError (line 66) | type BetaAPIError struct method RawJSON (line 79) | func (r BetaAPIError) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 80) | func (r *BetaAPIError) UnmarshalJSON(data []byte) error { method implBetaErrorUnion (line 154) | func (BetaAPIError) implBetaErrorUnion() {} type BetaAuthenticationError (line 84) | type BetaAuthenticationError struct method RawJSON (line 97) | func (r BetaAuthenticationError) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 98) | func (r *BetaAuthenticationError) UnmarshalJSON(data []byte) error { method implBetaErrorUnion (line 148) | func (BetaAuthenticationError) implBetaErrorUnion() {} type BetaBillingError (line 102) | type BetaBillingError struct method RawJSON (line 115) | func (r BetaBillingError) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 116) | func (r *BetaBillingError) UnmarshalJSON(data []byte) error { method implBetaErrorUnion (line 149) | func (BetaBillingError) implBetaErrorUnion() {} type BetaErrorUnion (line 128) | type BetaErrorUnion struct method AsAny (line 172) | func (u BetaErrorUnion) AsAny() anyBetaError { method AsInvalidRequestError (line 196) | func (u BetaErrorUnion) AsInvalidRequestError() (v BetaInvalidRequestE... method AsAuthenticationError (line 201) | func (u BetaErrorUnion) AsAuthenticationError() (v BetaAuthenticationE... method AsBillingError (line 206) | func (u BetaErrorUnion) AsBillingError() (v BetaBillingError) { method AsPermissionError (line 211) | func (u BetaErrorUnion) AsPermissionError() (v BetaPermissionError) { method AsNotFoundError (line 216) | func (u BetaErrorUnion) AsNotFoundError() (v BetaNotFoundError) { method AsRateLimitError (line 221) | func (u BetaErrorUnion) AsRateLimitError() (v BetaRateLimitError) { method AsTimeoutError (line 226) | func (u BetaErrorUnion) AsTimeoutError() (v BetaGatewayTimeoutError) { method AsAPIError (line 231) | func (u BetaErrorUnion) AsAPIError() (v BetaAPIError) { method AsOverloadedError (line 236) | func (u BetaErrorUnion) AsOverloadedError() (v BetaOverloadedError) { method RawJSON (line 242) | func (u BetaErrorUnion) RawJSON() string { return u.JSON.raw } method UnmarshalJSON (line 244) | func (r *BetaErrorUnion) UnmarshalJSON(data []byte) error { type anyBetaError (line 143) | type anyBetaError interface type BetaErrorResponse (line 248) | type BetaErrorResponse struct method RawJSON (line 263) | func (r BetaErrorResponse) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 264) | func (r *BetaErrorResponse) UnmarshalJSON(data []byte) error { type BetaGatewayTimeoutError (line 268) | type BetaGatewayTimeoutError struct method implBetaErrorUnion (line 153) | func (BetaGatewayTimeoutError) implBetaErrorUnion() {} method RawJSON (line 281) | func (r BetaGatewayTimeoutError) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 282) | func (r *BetaGatewayTimeoutError) UnmarshalJSON(data []byte) error { type BetaInvalidRequestError (line 286) | type BetaInvalidRequestError struct method implBetaErrorUnion (line 147) | func (BetaInvalidRequestError) implBetaErrorUnion() {} method RawJSON (line 299) | func (r BetaInvalidRequestError) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 300) | func (r *BetaInvalidRequestError) UnmarshalJSON(data []byte) error { type BetaNotFoundError (line 304) | type BetaNotFoundError struct method implBetaErrorUnion (line 151) | func (BetaNotFoundError) implBetaErrorUnion() {} method RawJSON (line 317) | func (r BetaNotFoundError) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 318) | func (r *BetaNotFoundError) UnmarshalJSON(data []byte) error { type BetaOverloadedError (line 322) | type BetaOverloadedError struct method implBetaErrorUnion (line 155) | func (BetaOverloadedError) implBetaErrorUnion() {} method RawJSON (line 335) | func (r BetaOverloadedError) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 336) | func (r *BetaOverloadedError) UnmarshalJSON(data []byte) error { type BetaPermissionError (line 340) | type BetaPermissionError struct method implBetaErrorUnion (line 150) | func (BetaPermissionError) implBetaErrorUnion() {} method RawJSON (line 353) | func (r BetaPermissionError) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 354) | func (r *BetaPermissionError) UnmarshalJSON(data []byte) error { type BetaRateLimitError (line 358) | type BetaRateLimitError struct method implBetaErrorUnion (line 152) | func (BetaRateLimitError) implBetaErrorUnion() {} method RawJSON (line 371) | func (r BetaRateLimitError) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 372) | func (r *BetaRateLimitError) UnmarshalJSON(data []byte) error { FILE: betafile.go type BetaFileService (line 34) | type BetaFileService struct method List (line 48) | func (r *BetaFileService) List(ctx context.Context, params BetaFileLis... method ListAutoPaging (line 69) | func (r *BetaFileService) ListAutoPaging(ctx context.Context, params B... method Delete (line 74) | func (r *BetaFileService) Delete(ctx context.Context, fileID string, b... method Download (line 90) | func (r *BetaFileService) Download(ctx context.Context, fileID string,... method GetMetadata (line 106) | func (r *BetaFileService) GetMetadata(ctx context.Context, fileID stri... method Upload (line 122) | func (r *BetaFileService) Upload(ctx context.Context, params BetaFileU... function NewBetaFileService (line 41) | func NewBetaFileService(opts ...option.RequestOption) (r BetaFileService) { type DeletedFile (line 133) | type DeletedFile struct method RawJSON (line 152) | func (r DeletedFile) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 153) | func (r *DeletedFile) UnmarshalJSON(data []byte) error { type DeletedFileType (line 160) | type DeletedFileType constant DeletedFileTypeFileDeleted (line 163) | DeletedFileTypeFileDeleted DeletedFileType = "file_deleted" type FileMetadata (line 166) | type FileMetadata struct method RawJSON (line 200) | func (r FileMetadata) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 201) | func (r *FileMetadata) UnmarshalJSON(data []byte) error { type BetaFileListParams (line 205) | type BetaFileListParams struct method URLQuery (line 222) | func (r BetaFileListParams) URLQuery() (v url.Values, err error) { type BetaFileDeleteParams (line 229) | type BetaFileDeleteParams struct type BetaFileDownloadParams (line 235) | type BetaFileDownloadParams struct type BetaFileGetMetadataParams (line 241) | type BetaFileGetMetadataParams struct type BetaFileUploadParams (line 247) | type BetaFileUploadParams struct method MarshalMultipart (line 255) | func (r BetaFileUploadParams) MarshalMultipart() (data []byte, content... FILE: betafile_test.go function TestBetaFileListWithOptionalParams (line 20) | func TestBetaFileListWithOptionalParams(t *testing.T) { function TestBetaFileDeleteWithOptionalParams (line 47) | func TestBetaFileDeleteWithOptionalParams(t *testing.T) { function TestBetaFileDownloadWithOptionalParams (line 75) | func TestBetaFileDownloadWithOptionalParams(t *testing.T) { function TestBetaFileGetMetadataWithOptionalParams (line 115) | func TestBetaFileGetMetadataWithOptionalParams(t *testing.T) { function TestBetaFileUploadWithOptionalParams (line 143) | func TestBetaFileUploadWithOptionalParams(t *testing.T) { FILE: betamessage.go type BetaMessageService (line 29) | type BetaMessageService struct method New (line 54) | func (r *BetaMessageService) New(ctx context.Context, params BetaMessa... method NewStreaming (line 83) | func (r *BetaMessageService) NewStreaming(ctx context.Context, params ... method CountTokens (line 105) | func (r *BetaMessageService) CountTokens(ctx context.Context, params B... function NewBetaMessageService (line 37) | func NewBetaMessageService(opts ...option.RequestOption) (r BetaMessageS... function NewBetaAllThinkingTurnsParam (line 115) | func NewBetaAllThinkingTurnsParam() BetaAllThinkingTurnsParam { type BetaAllThinkingTurnsParam (line 123) | type BetaAllThinkingTurnsParam struct method MarshalJSON (line 128) | func (r BetaAllThinkingTurnsParam) MarshalJSON() (data []byte, err err... method UnmarshalJSON (line 132) | func (r *BetaAllThinkingTurnsParam) UnmarshalJSON(data []byte) error { type BetaBase64ImageSourceParam (line 137) | type BetaBase64ImageSourceParam struct method MarshalJSON (line 146) | func (r BetaBase64ImageSourceParam) MarshalJSON() (data []byte, err er... method UnmarshalJSON (line 150) | func (r *BetaBase64ImageSourceParam) UnmarshalJSON(data []byte) error { type BetaBase64ImageSourceMediaType (line 154) | type BetaBase64ImageSourceMediaType constant BetaBase64ImageSourceMediaTypeImageJPEG (line 157) | BetaBase64ImageSourceMediaTypeImageJPEG BetaBase64ImageSourceMediaType =... constant BetaBase64ImageSourceMediaTypeImagePNG (line 158) | BetaBase64ImageSourceMediaTypeImagePNG BetaBase64ImageSourceMediaType =... constant BetaBase64ImageSourceMediaTypeImageGIF (line 159) | BetaBase64ImageSourceMediaTypeImageGIF BetaBase64ImageSourceMediaType =... constant BetaBase64ImageSourceMediaTypeImageWebP (line 160) | BetaBase64ImageSourceMediaTypeImageWebP BetaBase64ImageSourceMediaType =... type BetaBase64PDFSource (line 163) | type BetaBase64PDFSource struct method RawJSON (line 178) | func (r BetaBase64PDFSource) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 179) | func (r *BetaBase64PDFSource) UnmarshalJSON(data []byte) error { method ToParam (line 188) | func (r BetaBase64PDFSource) ToParam() BetaBase64PDFSourceParam { method implBetaDocumentBlockSourceUnion (line 3760) | func (BetaBase64PDFSource) implBetaDocumentBlockSourceUnion() {} type BetaBase64PDFSourceParam (line 193) | type BetaBase64PDFSourceParam struct method MarshalJSON (line 202) | func (r BetaBase64PDFSourceParam) MarshalJSON() (data []byte, err erro... method UnmarshalJSON (line 206) | func (r *BetaBase64PDFSourceParam) UnmarshalJSON(data []byte) error { type BetaBashCodeExecutionOutputBlock (line 210) | type BetaBashCodeExecutionOutputBlock struct method RawJSON (line 223) | func (r BetaBashCodeExecutionOutputBlock) RawJSON() string { return r.... method UnmarshalJSON (line 224) | func (r *BetaBashCodeExecutionOutputBlock) UnmarshalJSON(data []byte) ... type BetaBashCodeExecutionOutputBlockParam (line 229) | type BetaBashCodeExecutionOutputBlockParam struct method MarshalJSON (line 237) | func (r BetaBashCodeExecutionOutputBlockParam) MarshalJSON() (data []b... method UnmarshalJSON (line 241) | func (r *BetaBashCodeExecutionOutputBlockParam) UnmarshalJSON(data []b... type BetaBashCodeExecutionResultBlock (line 245) | type BetaBashCodeExecutionResultBlock struct method RawJSON (line 264) | func (r BetaBashCodeExecutionResultBlock) RawJSON() string { return r.... method UnmarshalJSON (line 265) | func (r *BetaBashCodeExecutionResultBlock) UnmarshalJSON(data []byte) ... type BetaBashCodeExecutionResultBlockParam (line 270) | type BetaBashCodeExecutionResultBlockParam struct method MarshalJSON (line 281) | func (r BetaBashCodeExecutionResultBlockParam) MarshalJSON() (data []b... method UnmarshalJSON (line 285) | func (r *BetaBashCodeExecutionResultBlockParam) UnmarshalJSON(data []b... type BetaBashCodeExecutionToolResultBlock (line 289) | type BetaBashCodeExecutionToolResultBlock struct method RawJSON (line 304) | func (r BetaBashCodeExecutionToolResultBlock) RawJSON() string { retur... method UnmarshalJSON (line 305) | func (r *BetaBashCodeExecutionToolResultBlock) UnmarshalJSON(data []by... method implBetaContentBlockUnion (line 2053) | func (BetaBashCodeExecutionToolResultBlock) implBetaContentBlockUnion(... method implBetaRawContentBlockStartEventContentBlockUnion (line 5154) | func (BetaBashCodeExecutionToolResultBlock) implBetaRawContentBlockSta... type BetaBashCodeExecutionToolResultBlockContentUnion (line 314) | type BetaBashCodeExecutionToolResultBlockContentUnion struct method AsResponseBashCodeExecutionToolResultError (line 337) | func (u BetaBashCodeExecutionToolResultBlockContentUnion) AsResponseBa... method AsResponseBashCodeExecutionResultBlock (line 342) | func (u BetaBashCodeExecutionToolResultBlockContentUnion) AsResponseBa... method RawJSON (line 348) | func (u BetaBashCodeExecutionToolResultBlockContentUnion) RawJSON() st... method UnmarshalJSON (line 350) | func (r *BetaBashCodeExecutionToolResultBlockContentUnion) UnmarshalJS... type BetaBashCodeExecutionToolResultBlockParam (line 355) | type BetaBashCodeExecutionToolResultBlockParam struct method MarshalJSON (line 366) | func (r BetaBashCodeExecutionToolResultBlockParam) MarshalJSON() (data... method UnmarshalJSON (line 370) | func (r *BetaBashCodeExecutionToolResultBlockParam) UnmarshalJSON(data... type BetaBashCodeExecutionToolResultBlockParamContentUnion (line 377) | type BetaBashCodeExecutionToolResultBlockParamContentUnion struct method MarshalJSON (line 383) | func (u BetaBashCodeExecutionToolResultBlockParamContentUnion) Marshal... method UnmarshalJSON (line 386) | func (u *BetaBashCodeExecutionToolResultBlockParamContentUnion) Unmars... method asAny (line 390) | func (u *BetaBashCodeExecutionToolResultBlockParamContentUnion) asAny(... method GetErrorCode (line 400) | func (u BetaBashCodeExecutionToolResultBlockParamContentUnion) GetErro... method GetContent (line 408) | func (u BetaBashCodeExecutionToolResultBlockParamContentUnion) GetCont... method GetReturnCode (line 416) | func (u BetaBashCodeExecutionToolResultBlockParamContentUnion) GetRetu... method GetStderr (line 424) | func (u BetaBashCodeExecutionToolResultBlockParamContentUnion) GetStde... method GetStdout (line 432) | func (u BetaBashCodeExecutionToolResultBlockParamContentUnion) GetStdo... method GetType (line 440) | func (u BetaBashCodeExecutionToolResultBlockParamContentUnion) GetType... type BetaBashCodeExecutionToolResultError (line 449) | type BetaBashCodeExecutionToolResultError struct method RawJSON (line 464) | func (r BetaBashCodeExecutionToolResultError) RawJSON() string { retur... method UnmarshalJSON (line 465) | func (r *BetaBashCodeExecutionToolResultError) UnmarshalJSON(data []by... type BetaBashCodeExecutionToolResultErrorErrorCode (line 469) | type BetaBashCodeExecutionToolResultErrorErrorCode constant BetaBashCodeExecutionToolResultErrorErrorCodeInvalidToolInput (line 472) | BetaBashCodeExecutionToolResultErrorErrorCodeInvalidToolInput BetaB... constant BetaBashCodeExecutionToolResultErrorErrorCodeUnavailable (line 473) | BetaBashCodeExecutionToolResultErrorErrorCodeUnavailable BetaB... constant BetaBashCodeExecutionToolResultErrorErrorCodeTooManyRequests (line 474) | BetaBashCodeExecutionToolResultErrorErrorCodeTooManyRequests BetaB... constant BetaBashCodeExecutionToolResultErrorErrorCodeExecutionTimeExceeded (line 475) | BetaBashCodeExecutionToolResultErrorErrorCodeExecutionTimeExceeded BetaB... constant BetaBashCodeExecutionToolResultErrorErrorCodeOutputFileTooLarge (line 476) | BetaBashCodeExecutionToolResultErrorErrorCodeOutputFileTooLarge BetaB... type BetaBashCodeExecutionToolResultErrorParam (line 480) | type BetaBashCodeExecutionToolResultErrorParam struct method MarshalJSON (line 490) | func (r BetaBashCodeExecutionToolResultErrorParam) MarshalJSON() (data... method UnmarshalJSON (line 494) | func (r *BetaBashCodeExecutionToolResultErrorParam) UnmarshalJSON(data... type BetaBashCodeExecutionToolResultErrorParamErrorCode (line 498) | type BetaBashCodeExecutionToolResultErrorParamErrorCode constant BetaBashCodeExecutionToolResultErrorParamErrorCodeInvalidToolInput (line 501) | BetaBashCodeExecutionToolResultErrorParamErrorCodeInvalidToolInput ... constant BetaBashCodeExecutionToolResultErrorParamErrorCodeUnavailable (line 502) | BetaBashCodeExecutionToolResultErrorParamErrorCodeUnavailable ... constant BetaBashCodeExecutionToolResultErrorParamErrorCodeTooManyRequests (line 503) | BetaBashCodeExecutionToolResultErrorParamErrorCodeTooManyRequests ... constant BetaBashCodeExecutionToolResultErrorParamErrorCodeExecutionTimeExceeded (line 504) | BetaBashCodeExecutionToolResultErrorParamErrorCodeExecutionTimeExceeded ... constant BetaBashCodeExecutionToolResultErrorParamErrorCodeOutputFileTooLarge (line 505) | BetaBashCodeExecutionToolResultErrorParamErrorCodeOutputFileTooLarge ... function NewBetaCacheControlEphemeralParam (line 508) | func NewBetaCacheControlEphemeralParam() BetaCacheControlEphemeralParam { type BetaCacheControlEphemeralParam (line 516) | type BetaCacheControlEphemeralParam struct method MarshalJSON (line 532) | func (r BetaCacheControlEphemeralParam) MarshalJSON() (data []byte, er... method UnmarshalJSON (line 536) | func (r *BetaCacheControlEphemeralParam) UnmarshalJSON(data []byte) er... type BetaCacheControlEphemeralTTL (line 548) | type BetaCacheControlEphemeralTTL constant BetaCacheControlEphemeralTTLTTL5m (line 551) | BetaCacheControlEphemeralTTLTTL5m BetaCacheControlEphemeralTTL = "5m" constant BetaCacheControlEphemeralTTLTTL1h (line 552) | BetaCacheControlEphemeralTTLTTL1h BetaCacheControlEphemeralTTL = "1h" type BetaCacheCreation (line 555) | type BetaCacheCreation struct method RawJSON (line 570) | func (r BetaCacheCreation) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 571) | func (r *BetaCacheCreation) UnmarshalJSON(data []byte) error { type BetaCitationCharLocation (line 575) | type BetaCitationCharLocation struct method RawJSON (line 598) | func (r BetaCitationCharLocation) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 599) | func (r *BetaCitationCharLocation) UnmarshalJSON(data []byte) error { method implBetaCitationsDeltaCitationUnion (line 904) | func (BetaCitationCharLocation) implBetaCitationsDeltaCitationUnion() ... method implBetaTextCitationUnion (line 6503) | func (BetaCitationCharLocation) implBetaTextCitationUnion() ... type BetaCitationCharLocationParam (line 605) | type BetaCitationCharLocationParam struct method MarshalJSON (line 616) | func (r BetaCitationCharLocationParam) MarshalJSON() (data []byte, err... method UnmarshalJSON (line 620) | func (r *BetaCitationCharLocationParam) UnmarshalJSON(data []byte) err... type BetaCitationConfig (line 624) | type BetaCitationConfig struct method RawJSON (line 635) | func (r BetaCitationConfig) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 636) | func (r *BetaCitationConfig) UnmarshalJSON(data []byte) error { type BetaCitationContentBlockLocation (line 640) | type BetaCitationContentBlockLocation struct method RawJSON (line 663) | func (r BetaCitationContentBlockLocation) RawJSON() string { return r.... method UnmarshalJSON (line 664) | func (r *BetaCitationContentBlockLocation) UnmarshalJSON(data []byte) ... method implBetaCitationsDeltaCitationUnion (line 906) | func (BetaCitationContentBlockLocation) implBetaCitationsDeltaCitation... method implBetaTextCitationUnion (line 6505) | func (BetaCitationContentBlockLocation) implBetaTextCitationUnion() ... type BetaCitationContentBlockLocationParam (line 670) | type BetaCitationContentBlockLocationParam struct method MarshalJSON (line 682) | func (r BetaCitationContentBlockLocationParam) MarshalJSON() (data []b... method UnmarshalJSON (line 686) | func (r *BetaCitationContentBlockLocationParam) UnmarshalJSON(data []b... type BetaCitationPageLocation (line 690) | type BetaCitationPageLocation struct method RawJSON (line 713) | func (r BetaCitationPageLocation) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 714) | func (r *BetaCitationPageLocation) UnmarshalJSON(data []byte) error { method implBetaCitationsDeltaCitationUnion (line 905) | func (BetaCitationPageLocation) implBetaCitationsDeltaCitationUnion() ... method implBetaTextCitationUnion (line 6504) | func (BetaCitationPageLocation) implBetaTextCitationUnion() ... type BetaCitationPageLocationParam (line 720) | type BetaCitationPageLocationParam struct method MarshalJSON (line 731) | func (r BetaCitationPageLocationParam) MarshalJSON() (data []byte, err... method UnmarshalJSON (line 735) | func (r *BetaCitationPageLocationParam) UnmarshalJSON(data []byte) err... type BetaCitationSearchResultLocation (line 739) | type BetaCitationSearchResultLocation struct method RawJSON (line 762) | func (r BetaCitationSearchResultLocation) RawJSON() string { return r.... method UnmarshalJSON (line 763) | func (r *BetaCitationSearchResultLocation) UnmarshalJSON(data []byte) ... method implBetaCitationsDeltaCitationUnion (line 908) | func (BetaCitationSearchResultLocation) implBetaCitationsDeltaCitation... method implBetaTextCitationUnion (line 6507) | func (BetaCitationSearchResultLocation) implBetaTextCitationUnion() ... type BetaCitationSearchResultLocationParam (line 769) | type BetaCitationSearchResultLocationParam struct method MarshalJSON (line 782) | func (r BetaCitationSearchResultLocationParam) MarshalJSON() (data []b... method UnmarshalJSON (line 786) | func (r *BetaCitationSearchResultLocationParam) UnmarshalJSON(data []b... type BetaCitationWebSearchResultLocationParam (line 791) | type BetaCitationWebSearchResultLocationParam struct method MarshalJSON (line 802) | func (r BetaCitationWebSearchResultLocationParam) MarshalJSON() (data ... method UnmarshalJSON (line 806) | func (r *BetaCitationWebSearchResultLocationParam) UnmarshalJSON(data ... type BetaCitationsConfigParam (line 810) | type BetaCitationsConfigParam struct method MarshalJSON (line 815) | func (r BetaCitationsConfigParam) MarshalJSON() (data []byte, err erro... method UnmarshalJSON (line 819) | func (r *BetaCitationsConfigParam) UnmarshalJSON(data []byte) error { type BetaCitationsDelta (line 823) | type BetaCitationsDelta struct method RawJSON (line 836) | func (r BetaCitationsDelta) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 837) | func (r *BetaCitationsDelta) UnmarshalJSON(data []byte) error { method implBetaRawContentBlockDeltaUnion (line 4954) | func (BetaCitationsDelta) implBetaRawContentBlockDeltaUnion() ... type BetaCitationsDeltaCitationUnion (line 849) | type BetaCitationsDeltaCitationUnion struct method AsAny (line 921) | func (u BetaCitationsDeltaCitationUnion) AsAny() anyBetaCitationsDelta... method AsCharLocation (line 937) | func (u BetaCitationsDeltaCitationUnion) AsCharLocation() (v BetaCitat... method AsPageLocation (line 942) | func (u BetaCitationsDeltaCitationUnion) AsPageLocation() (v BetaCitat... method AsContentBlockLocation (line 947) | func (u BetaCitationsDeltaCitationUnion) AsContentBlockLocation() (v B... method AsWebSearchResultLocation (line 952) | func (u BetaCitationsDeltaCitationUnion) AsWebSearchResultLocation() (... method AsSearchResultLocation (line 957) | func (u BetaCitationsDeltaCitationUnion) AsSearchResultLocation() (v B... method RawJSON (line 963) | func (u BetaCitationsDeltaCitationUnion) RawJSON() string { return u.J... method UnmarshalJSON (line 965) | func (r *BetaCitationsDeltaCitationUnion) UnmarshalJSON(data []byte) e... type anyBetaCitationsDeltaCitation (line 900) | type anyBetaCitationsDeltaCitation interface type BetaCitationsWebSearchResultLocation (line 969) | type BetaCitationsWebSearchResultLocation struct method implBetaCitationsDeltaCitationUnion (line 907) | func (BetaCitationsWebSearchResultLocation) implBetaCitationsDeltaCita... method RawJSON (line 988) | func (r BetaCitationsWebSearchResultLocation) RawJSON() string { retur... method UnmarshalJSON (line 989) | func (r *BetaCitationsWebSearchResultLocation) UnmarshalJSON(data []by... method implBetaTextCitationUnion (line 6506) | func (BetaCitationsWebSearchResultLocation) implBetaTextCitationUnion(... type BetaClearThinking20251015EditParam (line 994) | type BetaClearThinking20251015EditParam struct method MarshalJSON (line 1004) | func (r BetaClearThinking20251015EditParam) MarshalJSON() (data []byte... method UnmarshalJSON (line 1008) | func (r *BetaClearThinking20251015EditParam) UnmarshalJSON(data []byte... type BetaClearThinking20251015EditKeepUnionParam (line 1015) | type BetaClearThinking20251015EditKeepUnionParam struct method MarshalJSON (line 1023) | func (u BetaClearThinking20251015EditKeepUnionParam) MarshalJSON() ([]... method UnmarshalJSON (line 1026) | func (u *BetaClearThinking20251015EditKeepUnionParam) UnmarshalJSON(da... method asAny (line 1030) | func (u *BetaClearThinking20251015EditKeepUnionParam) asAny() any { method GetValue (line 1042) | func (u BetaClearThinking20251015EditKeepUnionParam) GetValue() *int64 { method GetType (line 1050) | func (u BetaClearThinking20251015EditKeepUnionParam) GetType() *string { type BetaClearThinking20251015EditResponse (line 1059) | type BetaClearThinking20251015EditResponse struct method RawJSON (line 1077) | func (r BetaClearThinking20251015EditResponse) RawJSON() string { retu... method UnmarshalJSON (line 1078) | func (r *BetaClearThinking20251015EditResponse) UnmarshalJSON(data []b... method implBetaContextManagementResponseAppliedEditUnion (line 3608) | func (BetaClearThinking20251015EditResponse) implBetaContextManagement... type BetaClearToolUses20250919EditParam (line 1083) | type BetaClearToolUses20250919EditParam struct method MarshalJSON (line 1101) | func (r BetaClearToolUses20250919EditParam) MarshalJSON() (data []byte... method UnmarshalJSON (line 1105) | func (r *BetaClearToolUses20250919EditParam) UnmarshalJSON(data []byte... type BetaClearToolUses20250919EditClearToolInputsUnionParam (line 1112) | type BetaClearToolUses20250919EditClearToolInputsUnionParam struct method MarshalJSON (line 1118) | func (u BetaClearToolUses20250919EditClearToolInputsUnionParam) Marsha... method UnmarshalJSON (line 1121) | func (u *BetaClearToolUses20250919EditClearToolInputsUnionParam) Unmar... method asAny (line 1125) | func (u *BetaClearToolUses20250919EditClearToolInputsUnionParam) asAny... type BetaClearToolUses20250919EditTriggerUnionParam (line 1137) | type BetaClearToolUses20250919EditTriggerUnionParam struct method MarshalJSON (line 1143) | func (u BetaClearToolUses20250919EditTriggerUnionParam) MarshalJSON() ... method UnmarshalJSON (line 1146) | func (u *BetaClearToolUses20250919EditTriggerUnionParam) UnmarshalJSON... method asAny (line 1150) | func (u *BetaClearToolUses20250919EditTriggerUnionParam) asAny() any { method GetType (line 1160) | func (u BetaClearToolUses20250919EditTriggerUnionParam) GetType() *str... method GetValue (line 1170) | func (u BetaClearToolUses20250919EditTriggerUnionParam) GetValue() *in... function init (line 1179) | func init() { function init (line 1188) | func init() { function init (line 1214) | func init() { function init (line 1223) | func init() { function init (line 1232) | func init() { function init (line 1243) | func init() { function init (line 1252) | func init() { function init (line 1263) | func init() { function init (line 1272) | func init() { function init (line 1282) | func init() { function init (line 1293) | func init() { function init (line 1302) | func init() { function init (line 1311) | func init() { type BetaClearToolUses20250919EditResponse (line 1320) | type BetaClearToolUses20250919EditResponse struct method RawJSON (line 1338) | func (r BetaClearToolUses20250919EditResponse) RawJSON() string { retu... method UnmarshalJSON (line 1339) | func (r *BetaClearToolUses20250919EditResponse) UnmarshalJSON(data []b... method implBetaContextManagementResponseAppliedEditUnion (line 3607) | func (BetaClearToolUses20250919EditResponse) implBetaContextManagement... type BetaCodeExecutionOutputBlock (line 1343) | type BetaCodeExecutionOutputBlock struct method RawJSON (line 1356) | func (r BetaCodeExecutionOutputBlock) RawJSON() string { return r.JSON... method UnmarshalJSON (line 1357) | func (r *BetaCodeExecutionOutputBlock) UnmarshalJSON(data []byte) error { type BetaCodeExecutionOutputBlockParam (line 1362) | type BetaCodeExecutionOutputBlockParam struct method MarshalJSON (line 1370) | func (r BetaCodeExecutionOutputBlockParam) MarshalJSON() (data []byte,... method UnmarshalJSON (line 1374) | func (r *BetaCodeExecutionOutputBlockParam) UnmarshalJSON(data []byte)... type BetaCodeExecutionResultBlock (line 1378) | type BetaCodeExecutionResultBlock struct method RawJSON (line 1397) | func (r BetaCodeExecutionResultBlock) RawJSON() string { return r.JSON... method UnmarshalJSON (line 1398) | func (r *BetaCodeExecutionResultBlock) UnmarshalJSON(data []byte) error { type BetaCodeExecutionResultBlockParam (line 1403) | type BetaCodeExecutionResultBlockParam struct method MarshalJSON (line 1414) | func (r BetaCodeExecutionResultBlockParam) MarshalJSON() (data []byte,... method UnmarshalJSON (line 1418) | func (r *BetaCodeExecutionResultBlockParam) UnmarshalJSON(data []byte)... type BetaCodeExecutionTool20250522Param (line 1423) | type BetaCodeExecutionTool20250522Param struct method MarshalJSON (line 1445) | func (r BetaCodeExecutionTool20250522Param) MarshalJSON() (data []byte... method UnmarshalJSON (line 1449) | func (r *BetaCodeExecutionTool20250522Param) UnmarshalJSON(data []byte... type BetaCodeExecutionTool20250825Param (line 1454) | type BetaCodeExecutionTool20250825Param struct method MarshalJSON (line 1476) | func (r BetaCodeExecutionTool20250825Param) MarshalJSON() (data []byte... method UnmarshalJSON (line 1480) | func (r *BetaCodeExecutionTool20250825Param) UnmarshalJSON(data []byte... type BetaCodeExecutionTool20260120Param (line 1488) | type BetaCodeExecutionTool20260120Param struct method MarshalJSON (line 1510) | func (r BetaCodeExecutionTool20260120Param) MarshalJSON() (data []byte... method UnmarshalJSON (line 1514) | func (r *BetaCodeExecutionTool20260120Param) UnmarshalJSON(data []byte... type BetaCodeExecutionToolResultBlock (line 1518) | type BetaCodeExecutionToolResultBlock struct method RawJSON (line 1534) | func (r BetaCodeExecutionToolResultBlock) RawJSON() string { return r.... method UnmarshalJSON (line 1535) | func (r *BetaCodeExecutionToolResultBlock) UnmarshalJSON(data []byte) ... method implBetaContentBlockUnion (line 2052) | func (BetaCodeExecutionToolResultBlock) implBetaContentBlockUnion() ... method implBetaRawContentBlockStartEventContentBlockUnion (line 5153) | func (BetaCodeExecutionToolResultBlock) implBetaRawContentBlockStartEv... type BetaCodeExecutionToolResultBlockContentUnion (line 1544) | type BetaCodeExecutionToolResultBlockContentUnion struct method AsResponseCodeExecutionToolResultError (line 1567) | func (u BetaCodeExecutionToolResultBlockContentUnion) AsResponseCodeEx... method AsResponseCodeExecutionResultBlock (line 1572) | func (u BetaCodeExecutionToolResultBlockContentUnion) AsResponseCodeEx... method AsResponseEncryptedCodeExecutionResultBlock (line 1577) | func (u BetaCodeExecutionToolResultBlockContentUnion) AsResponseEncryp... method RawJSON (line 1583) | func (u BetaCodeExecutionToolResultBlockContentUnion) RawJSON() string... method UnmarshalJSON (line 1585) | func (r *BetaCodeExecutionToolResultBlockContentUnion) UnmarshalJSON(d... type BetaCodeExecutionToolResultBlockParam (line 1590) | type BetaCodeExecutionToolResultBlockParam struct method MarshalJSON (line 1602) | func (r BetaCodeExecutionToolResultBlockParam) MarshalJSON() (data []b... method UnmarshalJSON (line 1606) | func (r *BetaCodeExecutionToolResultBlockParam) UnmarshalJSON(data []b... function BetaNewCodeExecutionToolRequestError (line 1610) | func BetaNewCodeExecutionToolRequestError(errorCode BetaCodeExecutionToo... type BetaCodeExecutionToolResultBlockParamContentUnion (line 1619) | type BetaCodeExecutionToolResultBlockParamContentUnion struct method MarshalJSON (line 1626) | func (u BetaCodeExecutionToolResultBlockParamContentUnion) MarshalJSON... method UnmarshalJSON (line 1629) | func (u *BetaCodeExecutionToolResultBlockParamContentUnion) UnmarshalJ... method asAny (line 1633) | func (u *BetaCodeExecutionToolResultBlockParamContentUnion) asAny() any { method GetErrorCode (line 1645) | func (u BetaCodeExecutionToolResultBlockParamContentUnion) GetErrorCod... method GetStdout (line 1653) | func (u BetaCodeExecutionToolResultBlockParamContentUnion) GetStdout()... method GetEncryptedStdout (line 1661) | func (u BetaCodeExecutionToolResultBlockParamContentUnion) GetEncrypte... method GetType (line 1669) | func (u BetaCodeExecutionToolResultBlockParamContentUnion) GetType() *... method GetReturnCode (line 1681) | func (u BetaCodeExecutionToolResultBlockParamContentUnion) GetReturnCo... method GetStderr (line 1691) | func (u BetaCodeExecutionToolResultBlockParamContentUnion) GetStderr()... method GetContent (line 1701) | func (u BetaCodeExecutionToolResultBlockParamContentUnion) GetContent(... type BetaCodeExecutionToolResultError (line 1710) | type BetaCodeExecutionToolResultError struct method RawJSON (line 1725) | func (r BetaCodeExecutionToolResultError) RawJSON() string { return r.... method UnmarshalJSON (line 1726) | func (r *BetaCodeExecutionToolResultError) UnmarshalJSON(data []byte) ... type BetaCodeExecutionToolResultErrorCode (line 1730) | type BetaCodeExecutionToolResultErrorCode constant BetaCodeExecutionToolResultErrorCodeInvalidToolInput (line 1733) | BetaCodeExecutionToolResultErrorCodeInvalidToolInput BetaCodeExecut... constant BetaCodeExecutionToolResultErrorCodeUnavailable (line 1734) | BetaCodeExecutionToolResultErrorCodeUnavailable BetaCodeExecut... constant BetaCodeExecutionToolResultErrorCodeTooManyRequests (line 1735) | BetaCodeExecutionToolResultErrorCodeTooManyRequests BetaCodeExecut... constant BetaCodeExecutionToolResultErrorCodeExecutionTimeExceeded (line 1736) | BetaCodeExecutionToolResultErrorCodeExecutionTimeExceeded BetaCodeExecut... type BetaCodeExecutionToolResultErrorParam (line 1740) | type BetaCodeExecutionToolResultErrorParam struct method MarshalJSON (line 1750) | func (r BetaCodeExecutionToolResultErrorParam) MarshalJSON() (data []b... method UnmarshalJSON (line 1754) | func (r *BetaCodeExecutionToolResultErrorParam) UnmarshalJSON(data []b... type BetaCompact20260112EditParam (line 1762) | type BetaCompact20260112EditParam struct method MarshalJSON (line 1774) | func (r BetaCompact20260112EditParam) MarshalJSON() (data []byte, err ... method UnmarshalJSON (line 1778) | func (r *BetaCompact20260112EditParam) UnmarshalJSON(data []byte) error { type BetaCompactionBlock (line 1787) | type BetaCompactionBlock struct method RawJSON (line 1801) | func (r BetaCompactionBlock) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 1802) | func (r *BetaCompactionBlock) UnmarshalJSON(data []byte) error { method implBetaContentBlockUnion (line 2059) | func (BetaCompactionBlock) implBetaContentBlockUnion() ... method implBetaRawContentBlockStartEventContentBlockUnion (line 5161) | func (BetaCompactionBlock) implBetaRawContentBlockStartEventContentBlo... type BetaCompactionBlockParam (line 1815) | type BetaCompactionBlockParam struct method MarshalJSON (line 1825) | func (r BetaCompactionBlockParam) MarshalJSON() (data []byte, err erro... method UnmarshalJSON (line 1829) | func (r *BetaCompactionBlockParam) UnmarshalJSON(data []byte) error { type BetaCompactionContentBlockDelta (line 1833) | type BetaCompactionContentBlockDelta struct method RawJSON (line 1846) | func (r BetaCompactionContentBlockDelta) RawJSON() string { return r.J... method UnmarshalJSON (line 1847) | func (r *BetaCompactionContentBlockDelta) UnmarshalJSON(data []byte) e... method implBetaRawContentBlockDeltaUnion (line 4957) | func (BetaCompactionContentBlockDelta) implBetaRawContentBlockDeltaUni... type BetaCompactionIterationUsage (line 1852) | type BetaCompactionIterationUsage struct method RawJSON (line 1879) | func (r BetaCompactionIterationUsage) RawJSON() string { return r.JSON... method UnmarshalJSON (line 1880) | func (r *BetaCompactionIterationUsage) UnmarshalJSON(data []byte) error { method implBetaIterationsUsageItemUnion (line 4053) | func (BetaCompactionIterationUsage) implBetaIterationsUsageItemUnion() {} type BetaContainer (line 1886) | type BetaContainer struct method RawJSON (line 1904) | func (r BetaContainer) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 1905) | func (r *BetaContainer) UnmarshalJSON(data []byte) error { type BetaContainerParams (line 1910) | type BetaContainerParams struct method MarshalJSON (line 1918) | func (r BetaContainerParams) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 1922) | func (r *BetaContainerParams) UnmarshalJSON(data []byte) error { type BetaContainerUploadBlock (line 1927) | type BetaContainerUploadBlock struct method RawJSON (line 1940) | func (r BetaContainerUploadBlock) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 1941) | func (r *BetaContainerUploadBlock) UnmarshalJSON(data []byte) error { method implBetaContentBlockUnion (line 2058) | func (BetaContainerUploadBlock) implBetaContentBlockUnion() ... method implBetaRawContentBlockStartEventContentBlockUnion (line 5160) | func (BetaContainerUploadBlock) implBetaRawContentBlockStartEventConte... type BetaContainerUploadBlockParam (line 1949) | type BetaContainerUploadBlockParam struct method MarshalJSON (line 1958) | func (r BetaContainerUploadBlockParam) MarshalJSON() (data []byte, err... method UnmarshalJSON (line 1962) | func (r *BetaContainerUploadBlockParam) UnmarshalJSON(data []byte) err... type BetaContentBlockUnion (line 1978) | type BetaContentBlockUnion struct method AsAny (line 2082) | func (u BetaContentBlockUnion) AsAny() anyBetaContentBlock { method AsText (line 2118) | func (u BetaContentBlockUnion) AsText() (v BetaTextBlock) { method AsThinking (line 2123) | func (u BetaContentBlockUnion) AsThinking() (v BetaThinkingBlock) { method AsRedactedThinking (line 2128) | func (u BetaContentBlockUnion) AsRedactedThinking() (v BetaRedactedThi... method AsToolUse (line 2133) | func (u BetaContentBlockUnion) AsToolUse() (v BetaToolUseBlock) { method AsServerToolUse (line 2138) | func (u BetaContentBlockUnion) AsServerToolUse() (v BetaServerToolUseB... method AsWebSearchToolResult (line 2143) | func (u BetaContentBlockUnion) AsWebSearchToolResult() (v BetaWebSearc... method AsWebFetchToolResult (line 2148) | func (u BetaContentBlockUnion) AsWebFetchToolResult() (v BetaWebFetchT... method AsCodeExecutionToolResult (line 2153) | func (u BetaContentBlockUnion) AsCodeExecutionToolResult() (v BetaCode... method AsBashCodeExecutionToolResult (line 2158) | func (u BetaContentBlockUnion) AsBashCodeExecutionToolResult() (v Beta... method AsTextEditorCodeExecutionToolResult (line 2163) | func (u BetaContentBlockUnion) AsTextEditorCodeExecutionToolResult() (... method AsToolSearchToolResult (line 2168) | func (u BetaContentBlockUnion) AsToolSearchToolResult() (v BetaToolSea... method AsMCPToolUse (line 2173) | func (u BetaContentBlockUnion) AsMCPToolUse() (v BetaMCPToolUseBlock) { method AsMCPToolResult (line 2178) | func (u BetaContentBlockUnion) AsMCPToolResult() (v BetaMCPToolResultB... method AsContainerUpload (line 2183) | func (u BetaContentBlockUnion) AsContainerUpload() (v BetaContainerUpl... method AsCompaction (line 2188) | func (u BetaContentBlockUnion) AsCompaction() (v BetaCompactionBlock) { method RawJSON (line 2194) | func (u BetaContentBlockUnion) RawJSON() string { return u.JSON.raw } method UnmarshalJSON (line 2196) | func (r *BetaContentBlockUnion) UnmarshalJSON(data []byte) error { type anyBetaContentBlock (line 2040) | type anyBetaContentBlock interface type BetaContentBlockUnionCaller (line 2206) | type BetaContentBlockUnionCaller struct method UnmarshalJSON (line 2216) | func (r *BetaContentBlockUnionCaller) UnmarshalJSON(data []byte) error { type BetaContentBlockUnionContent (line 2230) | type BetaContentBlockUnionContent struct method UnmarshalJSON (line 2315) | func (r *BetaContentBlockUnionContent) UnmarshalJSON(data []byte) error { type BetaContentBlockUnionContentContent (line 2328) | type BetaContentBlockUnionContentContent struct method UnmarshalJSON (line 2353) | func (r *BetaContentBlockUnionContentContent) UnmarshalJSON(data []byt... function NewBetaTextBlock (line 2357) | func NewBetaTextBlock(text string) BetaContentBlockParamUnion { function NewBetaImageBlock (line 2363) | func NewBetaImageBlock[ function NewBetaDocumentBlock (line 2378) | func NewBetaDocumentBlock[ function NewBetaSearchResultBlock (line 2397) | func NewBetaSearchResultBlock(content []BetaTextBlockParam, source strin... function NewBetaThinkingBlock (line 2405) | func NewBetaThinkingBlock(signature string, thinking string) BetaContent... function NewBetaRedactedThinkingBlock (line 2412) | func NewBetaRedactedThinkingBlock(data string) BetaContentBlockParamUnion { function NewBetaToolUseBlock (line 2418) | func NewBetaToolUseBlock(id string, input any, name string) BetaContentB... function NewBetaToolResultBlock (line 2426) | func NewBetaToolResultBlock(toolUseID string, content string, isError bo... function NewBetaServerToolUseBlock (line 2436) | func NewBetaServerToolUseBlock(id string, input any, name BetaServerTool... function NewBetaWebSearchToolResultBlock (line 2444) | func NewBetaWebSearchToolResultBlock[ function NewBetaWebFetchToolResultBlock (line 2458) | func NewBetaWebFetchToolResultBlock[ function NewBetaCodeExecutionToolResultBlock (line 2472) | func NewBetaCodeExecutionToolResultBlock[ function NewBetaBashCodeExecutionToolResultBlock (line 2488) | func NewBetaBashCodeExecutionToolResultBlock[ function NewBetaTextEditorCodeExecutionToolResultBlock (line 2502) | func NewBetaTextEditorCodeExecutionToolResultBlock[ function NewBetaToolSearchToolResultBlock (line 2520) | func NewBetaToolSearchToolResultBlock[ function NewBetaMCPToolResultBlock (line 2534) | func NewBetaMCPToolResultBlock(toolUseID string) BetaContentBlockParamUn... function NewBetaContainerUploadBlock (line 2540) | func NewBetaContainerUploadBlock(fileID string) BetaContentBlockParamUni... function NewBetaCompactionBlock (line 2546) | func NewBetaCompactionBlock(content string) BetaContentBlockParamUnion { type BetaContentBlockParamUnion (line 2555) | type BetaContentBlockParamUnion struct method MarshalJSON (line 2578) | func (u BetaContentBlockParamUnion) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 2599) | func (u *BetaContentBlockParamUnion) UnmarshalJSON(data []byte) error { method asAny (line 2603) | func (u *BetaContentBlockParamUnion) asAny() any { method GetText (line 2647) | func (u BetaContentBlockParamUnion) GetText() *string { method GetContext (line 2655) | func (u BetaContentBlockParamUnion) GetContext() *string { method GetSignature (line 2663) | func (u BetaContentBlockParamUnion) GetSignature() *string { method GetThinking (line 2671) | func (u BetaContentBlockParamUnion) GetThinking() *string { method GetData (line 2679) | func (u BetaContentBlockParamUnion) GetData() *string { method GetServerName (line 2687) | func (u BetaContentBlockParamUnion) GetServerName() *string { method GetFileID (line 2695) | func (u BetaContentBlockParamUnion) GetFileID() *string { method GetType (line 2703) | func (u BetaContentBlockParamUnion) GetType() *string { method GetTitle (line 2747) | func (u BetaContentBlockParamUnion) GetTitle() *string { method GetID (line 2757) | func (u BetaContentBlockParamUnion) GetID() *string { method GetName (line 2769) | func (u BetaContentBlockParamUnion) GetName() *string { method GetToolUseID (line 2781) | func (u BetaContentBlockParamUnion) GetToolUseID() *string { method GetIsError (line 2803) | func (u BetaContentBlockParamUnion) GetIsError() *bool { method GetCacheControl (line 2813) | func (u BetaContentBlockParamUnion) GetCacheControl() *BetaCacheContro... method GetCitations (line 2855) | func (u BetaContentBlockParamUnion) GetCitations() (res betaContentBlo... method GetSource (line 2892) | func (u BetaContentBlockParamUnion) GetSource() (res betaContentBlockP... method GetContent (line 2994) | func (u BetaContentBlockParamUnion) GetContent() (res betaContentBlock... method GetInput (line 3304) | func (u BetaContentBlockParamUnion) GetInput() *any { method GetCaller (line 3318) | func (u BetaContentBlockParamUnion) GetCaller() (res betaContentBlockP... type betaContentBlockParamUnionCitations (line 2868) | type betaContentBlockParamUnionCitations struct method AsAny (line 2878) | func (u betaContentBlockParamUnionCitations) AsAny() any { return u.any } method GetEnabled (line 2881) | func (u betaContentBlockParamUnionCitations) GetEnabled() *bool { type betaContentBlockParamUnionSource (line 2908) | type betaContentBlockParamUnionSource struct method AsAny (line 2925) | func (u betaContentBlockParamUnionSource) AsAny() any { return u.any } method GetContent (line 2928) | func (u betaContentBlockParamUnionSource) GetContent() *BetaContentBlo... method GetData (line 2937) | func (u betaContentBlockParamUnionSource) GetData() *string { method GetMediaType (line 2948) | func (u betaContentBlockParamUnionSource) GetMediaType() *string { method GetType (line 2959) | func (u betaContentBlockParamUnionSource) GetType() *string { method GetURL (line 2970) | func (u betaContentBlockParamUnionSource) GetURL() *string { method GetFileID (line 2981) | func (u betaContentBlockParamUnionSource) GetFileID() *string { type betaContentBlockParamUnionContent (line 3032) | type betaContentBlockParamUnionContent struct method AsAny (line 3057) | func (u betaContentBlockParamUnionContent) AsAny() any { return u.any } method GetURL (line 3060) | func (u betaContentBlockParamUnionContent) GetURL() *string { method GetRetrievedAt (line 3069) | func (u betaContentBlockParamUnionContent) GetRetrievedAt() *string { method GetEncryptedStdout (line 3078) | func (u betaContentBlockParamUnionContent) GetEncryptedStdout() *string { method GetErrorMessage (line 3087) | func (u betaContentBlockParamUnionContent) GetErrorMessage() *string { method GetFileType (line 3096) | func (u betaContentBlockParamUnionContent) GetFileType() *string { method GetNumLines (line 3105) | func (u betaContentBlockParamUnionContent) GetNumLines() *int64 { method GetStartLine (line 3114) | func (u betaContentBlockParamUnionContent) GetStartLine() *int64 { method GetTotalLines (line 3123) | func (u betaContentBlockParamUnionContent) GetTotalLines() *int64 { method GetIsFileUpdate (line 3132) | func (u betaContentBlockParamUnionContent) GetIsFileUpdate() *bool { method GetLines (line 3141) | func (u betaContentBlockParamUnionContent) GetLines() []string { method GetNewLines (line 3150) | func (u betaContentBlockParamUnionContent) GetNewLines() *int64 { method GetNewStart (line 3159) | func (u betaContentBlockParamUnionContent) GetNewStart() *int64 { method GetOldLines (line 3168) | func (u betaContentBlockParamUnionContent) GetOldLines() *int64 { method GetOldStart (line 3177) | func (u betaContentBlockParamUnionContent) GetOldStart() *int64 { method GetToolReferences (line 3186) | func (u betaContentBlockParamUnionContent) GetToolReferences() []BetaT... method GetErrorCode (line 3195) | func (u betaContentBlockParamUnionContent) GetErrorCode() *string { method GetType (line 3216) | func (u betaContentBlockParamUnionContent) GetType() *string { method GetReturnCode (line 3237) | func (u betaContentBlockParamUnionContent) GetReturnCode() *int64 { method GetStderr (line 3248) | func (u betaContentBlockParamUnionContent) GetStderr() *string { method GetStdout (line 3259) | func (u betaContentBlockParamUnionContent) GetStdout() *string { method GetContent (line 3272) | func (u betaContentBlockParamUnionContent) GetContent() (res betaConte... type betaContentBlockParamUnionContentContent (line 3289) | type betaContentBlockParamUnionContentContent struct method AsAny (line 3301) | func (u betaContentBlockParamUnionContentContent) AsAny() any { return... type betaContentBlockParamUnionCaller (line 3333) | type betaContentBlockParamUnionCaller struct method AsAny (line 3344) | func (u betaContentBlockParamUnionCaller) AsAny() any { return u.any } method GetType (line 3347) | func (u betaContentBlockParamUnionCaller) GetType() *string { method GetToolID (line 3362) | func (u betaContentBlockParamUnionCaller) GetToolID() *string { type BetaContentBlockSourceParam (line 3377) | type BetaContentBlockSourceParam struct method MarshalJSON (line 3384) | func (r BetaContentBlockSourceParam) MarshalJSON() (data []byte, err e... method UnmarshalJSON (line 3388) | func (r *BetaContentBlockSourceParam) UnmarshalJSON(data []byte) error { type BetaContentBlockSourceContentUnionParam (line 3395) | type BetaContentBlockSourceContentUnionParam struct method MarshalJSON (line 3401) | func (u BetaContentBlockSourceContentUnionParam) MarshalJSON() ([]byte... method UnmarshalJSON (line 3404) | func (u *BetaContentBlockSourceContentUnionParam) UnmarshalJSON(data [... method asAny (line 3408) | func (u *BetaContentBlockSourceContentUnionParam) asAny() any { type BetaContextManagementConfigParam (line 3417) | type BetaContextManagementConfigParam struct method MarshalJSON (line 3423) | func (r BetaContextManagementConfigParam) MarshalJSON() (data []byte, ... method UnmarshalJSON (line 3427) | func (r *BetaContextManagementConfigParam) UnmarshalJSON(data []byte) ... type BetaContextManagementConfigEditUnionParam (line 3434) | type BetaContextManagementConfigEditUnionParam struct method MarshalJSON (line 3441) | func (u BetaContextManagementConfigEditUnionParam) MarshalJSON() ([]by... method UnmarshalJSON (line 3444) | func (u *BetaContextManagementConfigEditUnionParam) UnmarshalJSON(data... method asAny (line 3448) | func (u *BetaContextManagementConfigEditUnionParam) asAny() any { method GetClearAtLeast (line 3460) | func (u BetaContextManagementConfigEditUnionParam) GetClearAtLeast() *... method GetClearToolInputs (line 3468) | func (u BetaContextManagementConfigEditUnionParam) GetClearToolInputs(... method GetExcludeTools (line 3476) | func (u BetaContextManagementConfigEditUnionParam) GetExcludeTools() [... method GetInstructions (line 3484) | func (u BetaContextManagementConfigEditUnionParam) GetInstructions() *... method GetPauseAfterCompaction (line 3492) | func (u BetaContextManagementConfigEditUnionParam) GetPauseAfterCompac... method GetType (line 3500) | func (u BetaContextManagementConfigEditUnionParam) GetType() *string { method GetKeep (line 3514) | func (u BetaContextManagementConfigEditUnionParam) GetKeep() (res beta... type betaContextManagementConfigEditUnionParamKeep (line 3524) | type betaContextManagementConfigEditUnionParamKeep struct method AsAny (line 3534) | func (u betaContextManagementConfigEditUnionParamKeep) AsAny() any { r... method GetType (line 3537) | func (u betaContextManagementConfigEditUnionParamKeep) GetType() *stri... method GetValue (line 3548) | func (u betaContextManagementConfigEditUnionParamKeep) GetValue() *int... type BetaContextManagementResponse (line 3558) | type BetaContextManagementResponse struct method RawJSON (line 3570) | func (r BetaContextManagementResponse) RawJSON() string { return r.JSO... method UnmarshalJSON (line 3571) | func (r *BetaContextManagementResponse) UnmarshalJSON(data []byte) err... type BetaContextManagementResponseAppliedEditUnion (line 3583) | type BetaContextManagementResponseAppliedEditUnion struct method AsAny (line 3618) | func (u BetaContextManagementResponseAppliedEditUnion) AsAny() anyBeta... method AsClearToolUses20250919 (line 3628) | func (u BetaContextManagementResponseAppliedEditUnion) AsClearToolUses... method AsClearThinking20251015 (line 3633) | func (u BetaContextManagementResponseAppliedEditUnion) AsClearThinking... method RawJSON (line 3639) | func (u BetaContextManagementResponseAppliedEditUnion) RawJSON() strin... method UnmarshalJSON (line 3641) | func (r *BetaContextManagementResponseAppliedEditUnion) UnmarshalJSON(... type anyBetaContextManagementResponseAppliedEdit (line 3603) | type anyBetaContextManagementResponseAppliedEdit interface type BetaCountTokensContextManagementResponse (line 3645) | type BetaCountTokensContextManagementResponse struct method RawJSON (line 3657) | func (r BetaCountTokensContextManagementResponse) RawJSON() string { r... method UnmarshalJSON (line 3658) | func (r *BetaCountTokensContextManagementResponse) UnmarshalJSON(data ... type BetaDirectCaller (line 3663) | type BetaDirectCaller struct method RawJSON (line 3674) | func (r BetaDirectCaller) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 3675) | func (r *BetaDirectCaller) UnmarshalJSON(data []byte) error { method ToParam (line 3684) | func (r BetaDirectCaller) ToParam() BetaDirectCallerParam { method implBetaServerToolUseBlockCallerUnion (line 6167) | func (BetaDirectCaller) implBetaServerToolUseBlockCallerUnion() ... method implBetaToolUseBlockCallerUnion (line 9371) | func (BetaDirectCaller) implBetaToolUseBlockCallerUnion() {} method implBetaWebFetchToolResultBlockCallerUnion (line 9920) | func (BetaDirectCaller) implBetaWebFetchToolResultBlockCallerUnion() ... method implBetaWebSearchToolResultBlockCallerUnion (line 10356) | func (BetaDirectCaller) implBetaWebSearchToolResultBlockCallerUnion() ... function NewBetaDirectCallerParam (line 3688) | func NewBetaDirectCallerParam() BetaDirectCallerParam { type BetaDirectCallerParam (line 3697) | type BetaDirectCallerParam struct method MarshalJSON (line 3702) | func (r BetaDirectCallerParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 3706) | func (r *BetaDirectCallerParam) UnmarshalJSON(data []byte) error { type BetaDocumentBlock (line 3710) | type BetaDocumentBlock struct method RawJSON (line 3729) | func (r BetaDocumentBlock) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 3730) | func (r *BetaDocumentBlock) UnmarshalJSON(data []byte) error { type BetaDocumentBlockSourceUnion (line 3740) | type BetaDocumentBlockSourceUnion struct method AsAny (line 3771) | func (u BetaDocumentBlockSourceUnion) AsAny() anyBetaDocumentBlockSour... method AsBase64 (line 3781) | func (u BetaDocumentBlockSourceUnion) AsBase64() (v BetaBase64PDFSourc... method AsText (line 3786) | func (u BetaDocumentBlockSourceUnion) AsText() (v BetaPlainTextSource) { method RawJSON (line 3792) | func (u BetaDocumentBlockSourceUnion) RawJSON() string { return u.JSON... method UnmarshalJSON (line 3794) | func (r *BetaDocumentBlockSourceUnion) UnmarshalJSON(data []byte) error { type anyBetaDocumentBlockSource (line 3756) | type anyBetaDocumentBlockSource interface type BetaEncryptedCodeExecutionResultBlock (line 3799) | type BetaEncryptedCodeExecutionResultBlock struct method RawJSON (line 3818) | func (r BetaEncryptedCodeExecutionResultBlock) RawJSON() string { retu... method UnmarshalJSON (line 3819) | func (r *BetaEncryptedCodeExecutionResultBlock) UnmarshalJSON(data []b... type BetaEncryptedCodeExecutionResultBlockParam (line 3826) | type BetaEncryptedCodeExecutionResultBlockParam struct method MarshalJSON (line 3837) | func (r BetaEncryptedCodeExecutionResultBlockParam) MarshalJSON() (dat... method UnmarshalJSON (line 3841) | func (r *BetaEncryptedCodeExecutionResultBlockParam) UnmarshalJSON(dat... type BetaFileDocumentSourceParam (line 3846) | type BetaFileDocumentSourceParam struct method MarshalJSON (line 3853) | func (r BetaFileDocumentSourceParam) MarshalJSON() (data []byte, err e... method UnmarshalJSON (line 3857) | func (r *BetaFileDocumentSourceParam) UnmarshalJSON(data []byte) error { type BetaFileImageSourceParam (line 3862) | type BetaFileImageSourceParam struct method MarshalJSON (line 3869) | func (r BetaFileImageSourceParam) MarshalJSON() (data []byte, err erro... method UnmarshalJSON (line 3873) | func (r *BetaFileImageSourceParam) UnmarshalJSON(data []byte) error { type BetaImageBlockParam (line 3878) | type BetaImageBlockParam struct method MarshalJSON (line 3887) | func (r BetaImageBlockParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 3891) | func (r *BetaImageBlockParam) UnmarshalJSON(data []byte) error { type BetaImageBlockParamSourceUnion (line 3898) | type BetaImageBlockParamSourceUnion struct method MarshalJSON (line 3905) | func (u BetaImageBlockParamSourceUnion) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 3908) | func (u *BetaImageBlockParamSourceUnion) UnmarshalJSON(data []byte) er... method asAny (line 3912) | func (u *BetaImageBlockParamSourceUnion) asAny() any { method GetData (line 3924) | func (u BetaImageBlockParamSourceUnion) GetData() *string { method GetMediaType (line 3932) | func (u BetaImageBlockParamSourceUnion) GetMediaType() *string { method GetURL (line 3940) | func (u BetaImageBlockParamSourceUnion) GetURL() *string { method GetFileID (line 3948) | func (u BetaImageBlockParamSourceUnion) GetFileID() *string { method GetType (line 3956) | func (u BetaImageBlockParamSourceUnion) GetType() *string { type BetaInputJSONDelta (line 3967) | type BetaInputJSONDelta struct method RawJSON (line 3980) | func (r BetaInputJSONDelta) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 3981) | func (r *BetaInputJSONDelta) UnmarshalJSON(data []byte) error { method implBetaRawContentBlockDeltaUnion (line 4953) | func (BetaInputJSONDelta) implBetaRawContentBlockDeltaUnion() ... type BetaInputTokensClearAtLeastParam (line 3986) | type BetaInputTokensClearAtLeastParam struct method MarshalJSON (line 3993) | func (r BetaInputTokensClearAtLeastParam) MarshalJSON() (data []byte, ... method UnmarshalJSON (line 3997) | func (r *BetaInputTokensClearAtLeastParam) UnmarshalJSON(data []byte) ... type BetaInputTokensTriggerParam (line 4002) | type BetaInputTokensTriggerParam struct method MarshalJSON (line 4009) | func (r BetaInputTokensTriggerParam) MarshalJSON() (data []byte, err e... method UnmarshalJSON (line 4013) | func (r *BetaInputTokensTriggerParam) UnmarshalJSON(data []byte) error { type BetaIterationsUsage (line 4017) | type BetaIterationsUsage type BetaIterationsUsageItemUnion (line 4025) | type BetaIterationsUsageItemUnion struct method AsAny (line 4063) | func (u BetaIterationsUsageItemUnion) AsAny() anyBetaIterationsUsageIt... method AsMessage (line 4073) | func (u BetaIterationsUsageItemUnion) AsMessage() (v BetaMessageIterat... method AsCompaction (line 4078) | func (u BetaIterationsUsageItemUnion) AsCompaction() (v BetaCompaction... method RawJSON (line 4084) | func (u BetaIterationsUsageItemUnion) RawJSON() string { return u.JSON... method UnmarshalJSON (line 4086) | func (r *BetaIterationsUsageItemUnion) UnmarshalJSON(data []byte) error { type anyBetaIterationsUsageItem (line 4048) | type anyBetaIterationsUsageItem interface type BetaJSONOutputFormatParam (line 4091) | type BetaJSONOutputFormatParam struct method MarshalJSON (line 4099) | func (r BetaJSONOutputFormatParam) MarshalJSON() (data []byte, err err... method UnmarshalJSON (line 4103) | func (r *BetaJSONOutputFormatParam) UnmarshalJSON(data []byte) error { type BetaMCPToolConfigParam (line 4108) | type BetaMCPToolConfigParam struct method MarshalJSON (line 4114) | func (r BetaMCPToolConfigParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 4118) | func (r *BetaMCPToolConfigParam) UnmarshalJSON(data []byte) error { type BetaMCPToolDefaultConfigParam (line 4123) | type BetaMCPToolDefaultConfigParam struct method MarshalJSON (line 4129) | func (r BetaMCPToolDefaultConfigParam) MarshalJSON() (data []byte, err... method UnmarshalJSON (line 4133) | func (r *BetaMCPToolDefaultConfigParam) UnmarshalJSON(data []byte) err... type BetaMCPToolResultBlock (line 4137) | type BetaMCPToolResultBlock struct method implBetaContentBlockUnion (line 2057) | func (BetaMCPToolResultBlock) implBetaContentBlockUnion() ... method RawJSON (line 4154) | func (r BetaMCPToolResultBlock) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 4155) | func (r *BetaMCPToolResultBlock) UnmarshalJSON(data []byte) error { method implBetaRawContentBlockStartEventContentBlockUnion (line 5159) | func (BetaMCPToolResultBlock) implBetaRawContentBlockStartEventContent... type BetaMCPToolResultBlockContentUnion (line 4166) | type BetaMCPToolResultBlockContentUnion struct method AsString (line 4179) | func (u BetaMCPToolResultBlockContentUnion) AsString() (v string) { method AsBetaMCPToolResultBlockContent (line 4184) | func (u BetaMCPToolResultBlockContentUnion) AsBetaMCPToolResultBlockCo... method RawJSON (line 4190) | func (u BetaMCPToolResultBlockContentUnion) RawJSON() string { return ... method UnmarshalJSON (line 4192) | func (r *BetaMCPToolResultBlockContentUnion) UnmarshalJSON(data []byte... type BetaMCPToolUseBlock (line 4196) | type BetaMCPToolUseBlock struct method implBetaContentBlockUnion (line 2056) | func (BetaMCPToolUseBlock) implBetaContentBlockUnion() ... method RawJSON (line 4217) | func (r BetaMCPToolUseBlock) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 4218) | func (r *BetaMCPToolUseBlock) UnmarshalJSON(data []byte) error { method implBetaRawContentBlockStartEventContentBlockUnion (line 5158) | func (BetaMCPToolUseBlock) implBetaRawContentBlockStartEventContentBlo... type BetaMCPToolUseBlockParam (line 4223) | type BetaMCPToolUseBlockParam struct method MarshalJSON (line 4236) | func (r BetaMCPToolUseBlockParam) MarshalJSON() (data []byte, err erro... method UnmarshalJSON (line 4240) | func (r *BetaMCPToolUseBlockParam) UnmarshalJSON(data []byte) error { type BetaMCPToolsetParam (line 4250) | type BetaMCPToolsetParam struct method MarshalJSON (line 4264) | func (r BetaMCPToolsetParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 4268) | func (r *BetaMCPToolsetParam) UnmarshalJSON(data []byte) error { type BetaMemoryTool20250818Param (line 4273) | type BetaMemoryTool20250818Param struct method MarshalJSON (line 4295) | func (r BetaMemoryTool20250818Param) MarshalJSON() (data []byte, err e... method UnmarshalJSON (line 4299) | func (r *BetaMemoryTool20250818Param) UnmarshalJSON(data []byte) error { type BetaMemoryTool20250818CommandUnion (line 4313) | type BetaMemoryTool20250818CommandUnion struct method AsAny (line 4374) | func (u BetaMemoryTool20250818CommandUnion) AsAny() anyBetaMemoryTool2... method AsView (line 4392) | func (u BetaMemoryTool20250818CommandUnion) AsView() (v BetaMemoryTool... method AsCreate (line 4397) | func (u BetaMemoryTool20250818CommandUnion) AsCreate() (v BetaMemoryTo... method AsStrReplace (line 4402) | func (u BetaMemoryTool20250818CommandUnion) AsStrReplace() (v BetaMemo... method AsInsert (line 4407) | func (u BetaMemoryTool20250818CommandUnion) AsInsert() (v BetaMemoryTo... method AsDelete (line 4412) | func (u BetaMemoryTool20250818CommandUnion) AsDelete() (v BetaMemoryTo... method AsRename (line 4417) | func (u BetaMemoryTool20250818CommandUnion) AsRename() (v BetaMemoryTo... method RawJSON (line 4423) | func (u BetaMemoryTool20250818CommandUnion) RawJSON() string { return ... method UnmarshalJSON (line 4425) | func (r *BetaMemoryTool20250818CommandUnion) UnmarshalJSON(data []byte... type anyBetaMemoryTool20250818Command (line 4351) | type anyBetaMemoryTool20250818Command interface type BetaMemoryTool20250818CreateCommand (line 4429) | type BetaMemoryTool20250818CreateCommand struct method implBetaMemoryTool20250818CommandUnion (line 4356) | func (BetaMemoryTool20250818CreateCommand) implBetaMemoryTool20250818C... method RawJSON (line 4447) | func (r BetaMemoryTool20250818CreateCommand) RawJSON() string { return... method UnmarshalJSON (line 4448) | func (r *BetaMemoryTool20250818CreateCommand) UnmarshalJSON(data []byt... type BetaMemoryTool20250818DeleteCommand (line 4452) | type BetaMemoryTool20250818DeleteCommand struct method implBetaMemoryTool20250818CommandUnion (line 4359) | func (BetaMemoryTool20250818DeleteCommand) implBetaMemoryTool20250818C... method RawJSON (line 4467) | func (r BetaMemoryTool20250818DeleteCommand) RawJSON() string { return... method UnmarshalJSON (line 4468) | func (r *BetaMemoryTool20250818DeleteCommand) UnmarshalJSON(data []byt... type BetaMemoryTool20250818InsertCommand (line 4472) | type BetaMemoryTool20250818InsertCommand struct method implBetaMemoryTool20250818CommandUnion (line 4358) | func (BetaMemoryTool20250818InsertCommand) implBetaMemoryTool20250818C... method RawJSON (line 4493) | func (r BetaMemoryTool20250818InsertCommand) RawJSON() string { return... method UnmarshalJSON (line 4494) | func (r *BetaMemoryTool20250818InsertCommand) UnmarshalJSON(data []byt... type BetaMemoryTool20250818RenameCommand (line 4498) | type BetaMemoryTool20250818RenameCommand struct method implBetaMemoryTool20250818CommandUnion (line 4360) | func (BetaMemoryTool20250818RenameCommand) implBetaMemoryTool20250818C... method RawJSON (line 4516) | func (r BetaMemoryTool20250818RenameCommand) RawJSON() string { return... method UnmarshalJSON (line 4517) | func (r *BetaMemoryTool20250818RenameCommand) UnmarshalJSON(data []byt... type BetaMemoryTool20250818StrReplaceCommand (line 4521) | type BetaMemoryTool20250818StrReplaceCommand struct method implBetaMemoryTool20250818CommandUnion (line 4357) | func (BetaMemoryTool20250818StrReplaceCommand) implBetaMemoryTool20250... method RawJSON (line 4542) | func (r BetaMemoryTool20250818StrReplaceCommand) RawJSON() string { re... method UnmarshalJSON (line 4543) | func (r *BetaMemoryTool20250818StrReplaceCommand) UnmarshalJSON(data [... type BetaMemoryTool20250818ViewCommand (line 4547) | type BetaMemoryTool20250818ViewCommand struct method implBetaMemoryTool20250818CommandUnion (line 4355) | func (BetaMemoryTool20250818ViewCommand) implBetaMemoryTool20250818Com... method RawJSON (line 4565) | func (r BetaMemoryTool20250818ViewCommand) RawJSON() string { return r... method UnmarshalJSON (line 4566) | func (r *BetaMemoryTool20250818ViewCommand) UnmarshalJSON(data []byte)... type BetaMessage (line 4570) | type BetaMessage struct method RawJSON (line 4687) | func (r BetaMessage) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 4688) | func (r *BetaMessage) UnmarshalJSON(data []byte) error { type BetaMessageDeltaUsage (line 4693) | type BetaMessageDeltaUsage struct method RawJSON (line 4727) | func (r BetaMessageDeltaUsage) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 4728) | func (r *BetaMessageDeltaUsage) UnmarshalJSON(data []byte) error { type BetaMessageIterationUsage (line 4733) | type BetaMessageIterationUsage struct method implBetaIterationsUsageItemUnion (line 4052) | func (BetaMessageIterationUsage) implBetaIterationsUsageItemUnion() {} method RawJSON (line 4760) | func (r BetaMessageIterationUsage) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 4761) | func (r *BetaMessageIterationUsage) UnmarshalJSON(data []byte) error { type BetaMessageParam (line 4766) | type BetaMessageParam struct method MarshalJSON (line 4780) | func (r BetaMessageParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 4784) | func (r *BetaMessageParam) UnmarshalJSON(data []byte) error { function NewBetaUserMessage (line 4773) | func NewBetaUserMessage(blocks ...BetaContentBlockParamUnion) BetaMessag... type BetaMessageParamRole (line 4788) | type BetaMessageParamRole constant BetaMessageParamRoleUser (line 4791) | BetaMessageParamRoleUser BetaMessageParamRole = "user" constant BetaMessageParamRoleAssistant (line 4792) | BetaMessageParamRoleAssistant BetaMessageParamRole = "assistant" type BetaMessageTokensCount (line 4795) | type BetaMessageTokensCount struct method RawJSON (line 4811) | func (r BetaMessageTokensCount) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 4812) | func (r *BetaMessageTokensCount) UnmarshalJSON(data []byte) error { type BetaMetadataParam (line 4816) | type BetaMetadataParam struct method MarshalJSON (line 4826) | func (r BetaMetadataParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 4830) | func (r *BetaMetadataParam) UnmarshalJSON(data []byte) error { type BetaOutputConfigParam (line 4834) | type BetaOutputConfigParam struct method MarshalJSON (line 4845) | func (r BetaOutputConfigParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 4849) | func (r *BetaOutputConfigParam) UnmarshalJSON(data []byte) error { type BetaOutputConfigEffort (line 4854) | type BetaOutputConfigEffort constant BetaOutputConfigEffortLow (line 4857) | BetaOutputConfigEffortLow BetaOutputConfigEffort = "low" constant BetaOutputConfigEffortMedium (line 4858) | BetaOutputConfigEffortMedium BetaOutputConfigEffort = "medium" constant BetaOutputConfigEffortHigh (line 4859) | BetaOutputConfigEffortHigh BetaOutputConfigEffort = "high" constant BetaOutputConfigEffortMax (line 4860) | BetaOutputConfigEffortMax BetaOutputConfigEffort = "max" type BetaPlainTextSource (line 4863) | type BetaPlainTextSource struct method implBetaDocumentBlockSourceUnion (line 3761) | func (BetaPlainTextSource) implBetaDocumentBlockSourceUnion() {} method RawJSON (line 4878) | func (r BetaPlainTextSource) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 4879) | func (r *BetaPlainTextSource) UnmarshalJSON(data []byte) error { method ToParam (line 4888) | func (r BetaPlainTextSource) ToParam() BetaPlainTextSourceParam { type BetaPlainTextSourceParam (line 4893) | type BetaPlainTextSourceParam struct method MarshalJSON (line 4902) | func (r BetaPlainTextSourceParam) MarshalJSON() (data []byte, err erro... method UnmarshalJSON (line 4906) | func (r *BetaPlainTextSourceParam) UnmarshalJSON(data []byte) error { type BetaRawContentBlockDeltaUnion (line 4917) | type BetaRawContentBlockDeltaUnion struct method AsAny (line 4971) | func (u BetaRawContentBlockDeltaUnion) AsAny() anyBetaRawContentBlockD... method AsTextDelta (line 4989) | func (u BetaRawContentBlockDeltaUnion) AsTextDelta() (v BetaTextDelta) { method AsInputJSONDelta (line 4994) | func (u BetaRawContentBlockDeltaUnion) AsInputJSONDelta() (v BetaInput... method AsCitationsDelta (line 4999) | func (u BetaRawContentBlockDeltaUnion) AsCitationsDelta() (v BetaCitat... method AsThinkingDelta (line 5004) | func (u BetaRawContentBlockDeltaUnion) AsThinkingDelta() (v BetaThinki... method AsSignatureDelta (line 5009) | func (u BetaRawContentBlockDeltaUnion) AsSignatureDelta() (v BetaSigna... method AsCompactionDelta (line 5014) | func (u BetaRawContentBlockDeltaUnion) AsCompactionDelta() (v BetaComp... method RawJSON (line 5020) | func (u BetaRawContentBlockDeltaUnion) RawJSON() string { return u.JSO... method UnmarshalJSON (line 5022) | func (r *BetaRawContentBlockDeltaUnion) UnmarshalJSON(data []byte) err... type anyBetaRawContentBlockDelta (line 4948) | type anyBetaRawContentBlockDelta interface type BetaRawContentBlockDeltaEvent (line 5026) | type BetaRawContentBlockDeltaEvent struct method RawJSON (line 5041) | func (r BetaRawContentBlockDeltaEvent) RawJSON() string { return r.JSO... method UnmarshalJSON (line 5042) | func (r *BetaRawContentBlockDeltaEvent) UnmarshalJSON(data []byte) err... method implBetaRawMessageStreamEventUnion (line 5623) | func (BetaRawContentBlockDeltaEvent) implBetaRawMessageStreamEventUnio... type BetaRawContentBlockStartEvent (line 5046) | type BetaRawContentBlockStartEvent struct method RawJSON (line 5062) | func (r BetaRawContentBlockStartEvent) RawJSON() string { return r.JSO... method UnmarshalJSON (line 5063) | func (r *BetaRawContentBlockStartEvent) UnmarshalJSON(data []byte) err... method implBetaRawMessageStreamEventUnion (line 5622) | func (BetaRawContentBlockStartEvent) implBetaRawMessageStreamEventUnio... type BetaRawContentBlockStartEventContentBlockUnion (line 5080) | type BetaRawContentBlockStartEventContentBlockUnion struct method AsAny (line 5184) | func (u BetaRawContentBlockStartEventContentBlockUnion) AsAny() anyBet... method AsText (line 5220) | func (u BetaRawContentBlockStartEventContentBlockUnion) AsText() (v Be... method AsThinking (line 5225) | func (u BetaRawContentBlockStartEventContentBlockUnion) AsThinking() (... method AsRedactedThinking (line 5230) | func (u BetaRawContentBlockStartEventContentBlockUnion) AsRedactedThin... method AsToolUse (line 5235) | func (u BetaRawContentBlockStartEventContentBlockUnion) AsToolUse() (v... method AsServerToolUse (line 5240) | func (u BetaRawContentBlockStartEventContentBlockUnion) AsServerToolUs... method AsWebSearchToolResult (line 5245) | func (u BetaRawContentBlockStartEventContentBlockUnion) AsWebSearchToo... method AsWebFetchToolResult (line 5250) | func (u BetaRawContentBlockStartEventContentBlockUnion) AsWebFetchTool... method AsCodeExecutionToolResult (line 5255) | func (u BetaRawContentBlockStartEventContentBlockUnion) AsCodeExecutio... method AsBashCodeExecutionToolResult (line 5260) | func (u BetaRawContentBlockStartEventContentBlockUnion) AsBashCodeExec... method AsTextEditorCodeExecutionToolResult (line 5265) | func (u BetaRawContentBlockStartEventContentBlockUnion) AsTextEditorCo... method AsToolSearchToolResult (line 5270) | func (u BetaRawContentBlockStartEventContentBlockUnion) AsToolSearchTo... method AsMCPToolUse (line 5275) | func (u BetaRawContentBlockStartEventContentBlockUnion) AsMCPToolUse()... method AsMCPToolResult (line 5280) | func (u BetaRawContentBlockStartEventContentBlockUnion) AsMCPToolResul... method AsContainerUpload (line 5285) | func (u BetaRawContentBlockStartEventContentBlockUnion) AsContainerUpl... method AsCompaction (line 5290) | func (u BetaRawContentBlockStartEventContentBlockUnion) AsCompaction()... method RawJSON (line 5296) | func (u BetaRawContentBlockStartEventContentBlockUnion) RawJSON() stri... method UnmarshalJSON (line 5298) | func (r *BetaRawContentBlockStartEventContentBlockUnion) UnmarshalJSON... type anyBetaRawContentBlockStartEventContentBlock (line 5142) | type anyBetaRawContentBlockStartEventContentBlock interface type BetaRawContentBlockStartEventContentBlockUnionCaller (line 5309) | type BetaRawContentBlockStartEventContentBlockUnionCaller struct method UnmarshalJSON (line 5319) | func (r *BetaRawContentBlockStartEventContentBlockUnionCaller) Unmarsh... type BetaRawContentBlockStartEventContentBlockUnionContent (line 5334) | type BetaRawContentBlockStartEventContentBlockUnionContent struct method UnmarshalJSON (line 5419) | func (r *BetaRawContentBlockStartEventContentBlockUnionContent) Unmars... type BetaRawContentBlockStartEventContentBlockUnionContentContent (line 5433) | type BetaRawContentBlockStartEventContentBlockUnionContentContent struct method UnmarshalJSON (line 5458) | func (r *BetaRawContentBlockStartEventContentBlockUnionContentContent)... type BetaRawContentBlockStopEvent (line 5462) | type BetaRawContentBlockStopEvent struct method RawJSON (line 5475) | func (r BetaRawContentBlockStopEvent) RawJSON() string { return r.JSON... method UnmarshalJSON (line 5476) | func (r *BetaRawContentBlockStopEvent) UnmarshalJSON(data []byte) error { method implBetaRawMessageStreamEventUnion (line 5624) | func (BetaRawContentBlockStopEvent) implBetaRawMessageStreamEventUnion... type BetaRawMessageDeltaEvent (line 5480) | type BetaRawMessageDeltaEvent struct method RawJSON (line 5513) | func (r BetaRawMessageDeltaEvent) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 5514) | func (r *BetaRawMessageDeltaEvent) UnmarshalJSON(data []byte) error { method implBetaRawMessageStreamEventUnion (line 5620) | func (BetaRawMessageDeltaEvent) implBetaRawMessageStreamEventUnion() ... type BetaRawMessageDeltaEventDelta (line 5518) | type BetaRawMessageDeltaEventDelta struct method RawJSON (line 5537) | func (r BetaRawMessageDeltaEventDelta) RawJSON() string { return r.JSO... method UnmarshalJSON (line 5538) | func (r *BetaRawMessageDeltaEventDelta) UnmarshalJSON(data []byte) err... type BetaRawMessageStartEvent (line 5542) | type BetaRawMessageStartEvent struct method RawJSON (line 5555) | func (r BetaRawMessageStartEvent) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 5556) | func (r *BetaRawMessageStartEvent) UnmarshalJSON(data []byte) error { method implBetaRawMessageStreamEventUnion (line 5619) | func (BetaRawMessageStartEvent) implBetaRawMessageStreamEventUnion() ... type BetaRawMessageStopEvent (line 5560) | type BetaRawMessageStopEvent struct method RawJSON (line 5571) | func (r BetaRawMessageStopEvent) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 5572) | func (r *BetaRawMessageStopEvent) UnmarshalJSON(data []byte) error { method implBetaRawMessageStreamEventUnion (line 5621) | func (BetaRawMessageStopEvent) implBetaRawMessageStreamEventUnion() ... type BetaRawMessageStreamEventUnion (line 5584) | type BetaRawMessageStreamEventUnion struct method AsAny (line 5638) | func (u BetaRawMessageStreamEventUnion) AsAny() anyBetaRawMessageStrea... method AsMessageStart (line 5656) | func (u BetaRawMessageStreamEventUnion) AsMessageStart() (v BetaRawMes... method AsMessageDelta (line 5661) | func (u BetaRawMessageStreamEventUnion) AsMessageDelta() (v BetaRawMes... method AsMessageStop (line 5666) | func (u BetaRawMessageStreamEventUnion) AsMessageStop() (v BetaRawMess... method AsContentBlockStart (line 5671) | func (u BetaRawMessageStreamEventUnion) AsContentBlockStart() (v BetaR... method AsContentBlockDelta (line 5676) | func (u BetaRawMessageStreamEventUnion) AsContentBlockDelta() (v BetaR... method AsContentBlockStop (line 5681) | func (u BetaRawMessageStreamEventUnion) AsContentBlockStop() (v BetaRa... method RawJSON (line 5687) | func (u BetaRawMessageStreamEventUnion) RawJSON() string { return u.JS... method UnmarshalJSON (line 5689) | func (r *BetaRawMessageStreamEventUnion) UnmarshalJSON(data []byte) er... type anyBetaRawMessageStreamEvent (line 5615) | type anyBetaRawMessageStreamEvent interface type BetaRawMessageStreamEventUnionDelta (line 5699) | type BetaRawMessageStreamEventUnionDelta struct method UnmarshalJSON (line 5734) | func (r *BetaRawMessageStreamEventUnionDelta) UnmarshalJSON(data []byt... type BetaRedactedThinkingBlock (line 5738) | type BetaRedactedThinkingBlock struct method implBetaContentBlockUnion (line 2047) | func (BetaRedactedThinkingBlock) implBetaContentBlockUnion() ... method implBetaRawContentBlockStartEventContentBlockUnion (line 5148) | func (BetaRedactedThinkingBlock) implBetaRawContentBlockStartEventCont... method RawJSON (line 5751) | func (r BetaRedactedThinkingBlock) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 5752) | func (r *BetaRedactedThinkingBlock) UnmarshalJSON(data []byte) error { type BetaRedactedThinkingBlockParam (line 5757) | type BetaRedactedThinkingBlockParam struct method MarshalJSON (line 5765) | func (r BetaRedactedThinkingBlockParam) MarshalJSON() (data []byte, er... method UnmarshalJSON (line 5769) | func (r *BetaRedactedThinkingBlockParam) UnmarshalJSON(data []byte) er... type BetaRequestDocumentBlockParam (line 5774) | type BetaRequestDocumentBlockParam struct method MarshalJSON (line 5786) | func (r BetaRequestDocumentBlockParam) MarshalJSON() (data []byte, err... method UnmarshalJSON (line 5790) | func (r *BetaRequestDocumentBlockParam) UnmarshalJSON(data []byte) err... type BetaRequestDocumentBlockSourceUnionParam (line 5797) | type BetaRequestDocumentBlockSourceUnionParam struct method MarshalJSON (line 5806) | func (u BetaRequestDocumentBlockSourceUnionParam) MarshalJSON() ([]byt... method UnmarshalJSON (line 5813) | func (u *BetaRequestDocumentBlockSourceUnionParam) UnmarshalJSON(data ... method asAny (line 5817) | func (u *BetaRequestDocumentBlockSourceUnionParam) asAny() any { method GetContent (line 5833) | func (u BetaRequestDocumentBlockSourceUnionParam) GetContent() *BetaCo... method GetURL (line 5841) | func (u BetaRequestDocumentBlockSourceUnionParam) GetURL() *string { method GetFileID (line 5849) | func (u BetaRequestDocumentBlockSourceUnionParam) GetFileID() *string { method GetData (line 5857) | func (u BetaRequestDocumentBlockSourceUnionParam) GetData() *string { method GetMediaType (line 5867) | func (u BetaRequestDocumentBlockSourceUnionParam) GetMediaType() *stri... method GetType (line 5877) | func (u BetaRequestDocumentBlockSourceUnionParam) GetType() *string { type BetaRequestMCPServerToolConfigurationParam (line 5892) | type BetaRequestMCPServerToolConfigurationParam struct method MarshalJSON (line 5898) | func (r BetaRequestMCPServerToolConfigurationParam) MarshalJSON() (dat... method UnmarshalJSON (line 5902) | func (r *BetaRequestMCPServerToolConfigurationParam) UnmarshalJSON(dat... type BetaRequestMCPServerURLDefinitionParam (line 5907) | type BetaRequestMCPServerURLDefinitionParam struct method MarshalJSON (line 5917) | func (r BetaRequestMCPServerURLDefinitionParam) MarshalJSON() (data []... method UnmarshalJSON (line 5921) | func (r *BetaRequestMCPServerURLDefinitionParam) UnmarshalJSON(data []... type BetaRequestMCPToolResultBlockParam (line 5926) | type BetaRequestMCPToolResultBlockParam struct method MarshalJSON (line 5937) | func (r BetaRequestMCPToolResultBlockParam) MarshalJSON() (data []byte... method UnmarshalJSON (line 5941) | func (r *BetaRequestMCPToolResultBlockParam) UnmarshalJSON(data []byte... type BetaRequestMCPToolResultBlockParamContentUnion (line 5948) | type BetaRequestMCPToolResultBlockParamContentUnion struct method MarshalJSON (line 5954) | func (u BetaRequestMCPToolResultBlockParamContentUnion) MarshalJSON() ... method UnmarshalJSON (line 5957) | func (u *BetaRequestMCPToolResultBlockParamContentUnion) UnmarshalJSON... method asAny (line 5961) | func (u *BetaRequestMCPToolResultBlockParamContentUnion) asAny() any { type BetaSearchResultBlockParam (line 5971) | type BetaSearchResultBlockParam struct method MarshalJSON (line 5983) | func (r BetaSearchResultBlockParam) MarshalJSON() (data []byte, err er... method UnmarshalJSON (line 5987) | func (r *BetaSearchResultBlockParam) UnmarshalJSON(data []byte) error { type BetaServerToolCaller (line 5992) | type BetaServerToolCaller struct method RawJSON (line 6005) | func (r BetaServerToolCaller) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 6006) | func (r *BetaServerToolCaller) UnmarshalJSON(data []byte) error { method ToParam (line 6015) | func (r BetaServerToolCaller) ToParam() BetaServerToolCallerParam { method implBetaServerToolUseBlockCallerUnion (line 6168) | func (BetaServerToolCaller) implBetaServerToolUseBlockCallerUnion() ... method implBetaToolUseBlockCallerUnion (line 9372) | func (BetaServerToolCaller) implBetaToolUseBlockCallerUnion() {} method implBetaWebFetchToolResultBlockCallerUnion (line 9921) | func (BetaServerToolCaller) implBetaWebFetchToolResultBlockCallerUnion... method implBetaWebSearchToolResultBlockCallerUnion (line 10357) | func (BetaServerToolCaller) implBetaWebSearchToolResultBlockCallerUnio... type BetaServerToolCallerParam (line 6022) | type BetaServerToolCallerParam struct method MarshalJSON (line 6030) | func (r BetaServerToolCallerParam) MarshalJSON() (data []byte, err err... method UnmarshalJSON (line 6034) | func (r *BetaServerToolCallerParam) UnmarshalJSON(data []byte) error { type BetaServerToolCaller20260120 (line 6038) | type BetaServerToolCaller20260120 struct method RawJSON (line 6051) | func (r BetaServerToolCaller20260120) RawJSON() string { return r.JSON... method UnmarshalJSON (line 6052) | func (r *BetaServerToolCaller20260120) UnmarshalJSON(data []byte) error { method ToParam (line 6062) | func (r BetaServerToolCaller20260120) ToParam() BetaServerToolCaller20... method implBetaServerToolUseBlockCallerUnion (line 6169) | func (BetaServerToolCaller20260120) implBetaServerToolUseBlockCallerUn... method implBetaToolUseBlockCallerUnion (line 9373) | func (BetaServerToolCaller20260120) implBetaToolUseBlockCallerUnion() {} method implBetaWebFetchToolResultBlockCallerUnion (line 9922) | func (BetaServerToolCaller20260120) implBetaWebFetchToolResultBlockCal... method implBetaWebSearchToolResultBlockCallerUnion (line 10358) | func (BetaServerToolCaller20260120) implBetaWebSearchToolResultBlockCa... type BetaServerToolCaller20260120Param (line 6067) | type BetaServerToolCaller20260120Param struct method MarshalJSON (line 6075) | func (r BetaServerToolCaller20260120Param) MarshalJSON() (data []byte,... method UnmarshalJSON (line 6079) | func (r *BetaServerToolCaller20260120Param) UnmarshalJSON(data []byte)... type BetaServerToolUsage (line 6083) | type BetaServerToolUsage struct method RawJSON (line 6098) | func (r BetaServerToolUsage) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 6099) | func (r *BetaServerToolUsage) UnmarshalJSON(data []byte) error { type BetaServerToolUseBlock (line 6103) | type BetaServerToolUseBlock struct method implBetaContentBlockUnion (line 2049) | func (BetaServerToolUseBlock) implBetaContentBlockUnion() ... method implBetaRawContentBlockStartEventContentBlockUnion (line 5150) | func (BetaServerToolUseBlock) implBetaRawContentBlockStartEventContent... method RawJSON (line 6125) | func (r BetaServerToolUseBlock) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 6126) | func (r *BetaServerToolUseBlock) UnmarshalJSON(data []byte) error { type BetaServerToolUseBlockName (line 6130) | type BetaServerToolUseBlockName constant BetaServerToolUseBlockNameWebSearch (line 6133) | BetaServerToolUseBlockNameWebSearch BetaServerToolUseBlock... constant BetaServerToolUseBlockNameWebFetch (line 6134) | BetaServerToolUseBlockNameWebFetch BetaServerToolUseBlock... constant BetaServerToolUseBlockNameCodeExecution (line 6135) | BetaServerToolUseBlockNameCodeExecution BetaServerToolUseBlock... constant BetaServerToolUseBlockNameBashCodeExecution (line 6136) | BetaServerToolUseBlockNameBashCodeExecution BetaServerToolUseBlock... constant BetaServerToolUseBlockNameTextEditorCodeExecution (line 6137) | BetaServerToolUseBlockNameTextEditorCodeExecution BetaServerToolUseBlock... constant BetaServerToolUseBlockNameToolSearchToolRegex (line 6138) | BetaServerToolUseBlockNameToolSearchToolRegex BetaServerToolUseBlock... constant BetaServerToolUseBlockNameToolSearchToolBm25 (line 6139) | BetaServerToolUseBlockNameToolSearchToolBm25 BetaServerToolUseBlock... type BetaServerToolUseBlockCallerUnion (line 6149) | type BetaServerToolUseBlockCallerUnion struct method AsAny (line 6180) | func (u BetaServerToolUseBlockCallerUnion) AsAny() anyBetaServerToolUs... method AsDirect (line 6192) | func (u BetaServerToolUseBlockCallerUnion) AsDirect() (v BetaDirectCal... method AsCodeExecution20250825 (line 6197) | func (u BetaServerToolUseBlockCallerUnion) AsCodeExecution20250825() (... method AsCodeExecution20260120 (line 6202) | func (u BetaServerToolUseBlockCallerUnion) AsCodeExecution20260120() (... method RawJSON (line 6208) | func (u BetaServerToolUseBlockCallerUnion) RawJSON() string { return u... method UnmarshalJSON (line 6210) | func (r *BetaServerToolUseBlockCallerUnion) UnmarshalJSON(data []byte)... type anyBetaServerToolUseBlockCaller (line 6163) | type anyBetaServerToolUseBlockCaller interface type BetaServerToolUseBlockParam (line 6215) | type BetaServerToolUseBlockParam struct method MarshalJSON (line 6230) | func (r BetaServerToolUseBlockParam) MarshalJSON() (data []byte, err e... method UnmarshalJSON (line 6234) | func (r *BetaServerToolUseBlockParam) UnmarshalJSON(data []byte) error { type BetaServerToolUseBlockParamName (line 6238) | type BetaServerToolUseBlockParamName constant BetaServerToolUseBlockParamNameWebSearch (line 6241) | BetaServerToolUseBlockParamNameWebSearch BetaServerToolUse... constant BetaServerToolUseBlockParamNameWebFetch (line 6242) | BetaServerToolUseBlockParamNameWebFetch BetaServerToolUse... constant BetaServerToolUseBlockParamNameCodeExecution (line 6243) | BetaServerToolUseBlockParamNameCodeExecution BetaServerToolUse... constant BetaServerToolUseBlockParamNameBashCodeExecution (line 6244) | BetaServerToolUseBlockParamNameBashCodeExecution BetaServerToolUse... constant BetaServerToolUseBlockParamNameTextEditorCodeExecution (line 6245) | BetaServerToolUseBlockParamNameTextEditorCodeExecution BetaServerToolUse... constant BetaServerToolUseBlockParamNameToolSearchToolRegex (line 6246) | BetaServerToolUseBlockParamNameToolSearchToolRegex BetaServerToolUse... constant BetaServerToolUseBlockParamNameToolSearchToolBm25 (line 6247) | BetaServerToolUseBlockParamNameToolSearchToolBm25 BetaServerToolUse... type BetaServerToolUseBlockParamCallerUnion (line 6253) | type BetaServerToolUseBlockParamCallerUnion struct method MarshalJSON (line 6260) | func (u BetaServerToolUseBlockParamCallerUnion) MarshalJSON() ([]byte,... method UnmarshalJSON (line 6263) | func (u *BetaServerToolUseBlockParamCallerUnion) UnmarshalJSON(data []... method asAny (line 6267) | func (u *BetaServerToolUseBlockParamCallerUnion) asAny() any { method GetType (line 6279) | func (u BetaServerToolUseBlockParamCallerUnion) GetType() *string { method GetToolID (line 6291) | func (u BetaServerToolUseBlockParamCallerUnion) GetToolID() *string { type BetaSignatureDelta (line 6300) | type BetaSignatureDelta struct method implBetaRawContentBlockDeltaUnion (line 4956) | func (BetaSignatureDelta) implBetaRawContentBlockDeltaUnion() ... method RawJSON (line 6313) | func (r BetaSignatureDelta) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 6314) | func (r *BetaSignatureDelta) UnmarshalJSON(data []byte) error { type BetaSkill (line 6319) | type BetaSkill struct method RawJSON (line 6339) | func (r BetaSkill) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 6340) | func (r *BetaSkill) UnmarshalJSON(data []byte) error { type BetaSkillType (line 6345) | type BetaSkillType constant BetaSkillTypeAnthropic (line 6348) | BetaSkillTypeAnthropic BetaSkillType = "anthropic" constant BetaSkillTypeCustom (line 6349) | BetaSkillTypeCustom BetaSkillType = "custom" type BetaSkillParams (line 6355) | type BetaSkillParams struct method MarshalJSON (line 6367) | func (r BetaSkillParams) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 6371) | func (r *BetaSkillParams) UnmarshalJSON(data []byte) error { type BetaSkillParamsType (line 6376) | type BetaSkillParamsType constant BetaSkillParamsTypeAnthropic (line 6379) | BetaSkillParamsTypeAnthropic BetaSkillParamsType = "anthropic" constant BetaSkillParamsTypeCustom (line 6380) | BetaSkillParamsTypeCustom BetaSkillParamsType = "custom" type BetaStopReason (line 6383) | type BetaStopReason constant BetaStopReasonEndTurn (line 6386) | BetaStopReasonEndTurn BetaStopReason = "end_turn" constant BetaStopReasonMaxTokens (line 6387) | BetaStopReasonMaxTokens BetaStopReason = "max_tokens" constant BetaStopReasonStopSequence (line 6388) | BetaStopReasonStopSequence BetaStopReason = "stop_sequence" constant BetaStopReasonToolUse (line 6389) | BetaStopReasonToolUse BetaStopReason = "tool_use" constant BetaStopReasonPauseTurn (line 6390) | BetaStopReasonPauseTurn BetaStopReason = "pause_turn" constant BetaStopReasonCompaction (line 6391) | BetaStopReasonCompaction BetaStopReason = "compaction" constant BetaStopReasonRefusal (line 6392) | BetaStopReasonRefusal BetaStopReason = "refusal" constant BetaStopReasonModelContextWindowExceeded (line 6393) | BetaStopReasonModelContextWindowExceeded BetaStopReason = "model_context... type BetaTextBlock (line 6396) | type BetaTextBlock struct method implBetaContentBlockUnion (line 2045) | func (BetaTextBlock) implBetaContentBlockUnion() ... method implBetaRawContentBlockStartEventContentBlockUnion (line 5146) | func (BetaTextBlock) implBetaRawContentBlockStartEventContentBlockUnio... method RawJSON (line 6416) | func (r BetaTextBlock) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 6417) | func (r *BetaTextBlock) UnmarshalJSON(data []byte) error { type BetaTextBlockParam (line 6422) | type BetaTextBlockParam struct method MarshalJSON (line 6432) | func (r BetaTextBlockParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 6436) | func (r *BetaTextBlockParam) UnmarshalJSON(data []byte) error { type BetaTextCitationUnion (line 6448) | type BetaTextCitationUnion struct method AsAny (line 6520) | func (u BetaTextCitationUnion) AsAny() anyBetaTextCitation { method AsCharLocation (line 6536) | func (u BetaTextCitationUnion) AsCharLocation() (v BetaCitationCharLoc... method AsPageLocation (line 6541) | func (u BetaTextCitationUnion) AsPageLocation() (v BetaCitationPageLoc... method AsContentBlockLocation (line 6546) | func (u BetaTextCitationUnion) AsContentBlockLocation() (v BetaCitatio... method AsWebSearchResultLocation (line 6551) | func (u BetaTextCitationUnion) AsWebSearchResultLocation() (v BetaCita... method AsSearchResultLocation (line 6556) | func (u BetaTextCitationUnion) AsSearchResultLocation() (v BetaCitatio... method RawJSON (line 6562) | func (u BetaTextCitationUnion) RawJSON() string { return u.JSON.raw } method UnmarshalJSON (line 6564) | func (r *BetaTextCitationUnion) UnmarshalJSON(data []byte) error { type anyBetaTextCitation (line 6498) | type anyBetaTextCitation interface type BetaTextCitationParamUnion (line 6571) | type BetaTextCitationParamUnion struct method MarshalJSON (line 6580) | func (u BetaTextCitationParamUnion) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 6587) | func (u *BetaTextCitationParamUnion) UnmarshalJSON(data []byte) error { method asAny (line 6591) | func (u *BetaTextCitationParamUnion) asAny() any { method GetEndCharIndex (line 6607) | func (u BetaTextCitationParamUnion) GetEndCharIndex() *int64 { method GetStartCharIndex (line 6615) | func (u BetaTextCitationParamUnion) GetStartCharIndex() *int64 { method GetEndPageNumber (line 6623) | func (u BetaTextCitationParamUnion) GetEndPageNumber() *int64 { method GetStartPageNumber (line 6631) | func (u BetaTextCitationParamUnion) GetStartPageNumber() *int64 { method GetEncryptedIndex (line 6639) | func (u BetaTextCitationParamUnion) GetEncryptedIndex() *string { method GetURL (line 6647) | func (u BetaTextCitationParamUnion) GetURL() *string { method GetSearchResultIndex (line 6655) | func (u BetaTextCitationParamUnion) GetSearchResultIndex() *int64 { method GetSource (line 6663) | func (u BetaTextCitationParamUnion) GetSource() *string { method GetCitedText (line 6671) | func (u BetaTextCitationParamUnion) GetCitedText() *string { method GetDocumentIndex (line 6687) | func (u BetaTextCitationParamUnion) GetDocumentIndex() *int64 { method GetDocumentTitle (line 6699) | func (u BetaTextCitationParamUnion) GetDocumentTitle() *string { method GetType (line 6711) | func (u BetaTextCitationParamUnion) GetType() *string { method GetEndBlockIndex (line 6727) | func (u BetaTextCitationParamUnion) GetEndBlockIndex() *int64 { method GetStartBlockIndex (line 6737) | func (u BetaTextCitationParamUnion) GetStartBlockIndex() *int64 { method GetTitle (line 6747) | func (u BetaTextCitationParamUnion) GetTitle() *string { type BetaTextDelta (line 6756) | type BetaTextDelta struct method implBetaRawContentBlockDeltaUnion (line 4952) | func (BetaTextDelta) implBetaRawContentBlockDeltaUnion() ... method RawJSON (line 6769) | func (r BetaTextDelta) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 6770) | func (r *BetaTextDelta) UnmarshalJSON(data []byte) error { type BetaTextEditorCodeExecutionCreateResultBlock (line 6774) | type BetaTextEditorCodeExecutionCreateResultBlock struct method RawJSON (line 6787) | func (r BetaTextEditorCodeExecutionCreateResultBlock) RawJSON() string... method UnmarshalJSON (line 6788) | func (r *BetaTextEditorCodeExecutionCreateResultBlock) UnmarshalJSON(d... type BetaTextEditorCodeExecutionCreateResultBlockParam (line 6793) | type BetaTextEditorCodeExecutionCreateResultBlockParam struct method MarshalJSON (line 6801) | func (r BetaTextEditorCodeExecutionCreateResultBlockParam) MarshalJSON... method UnmarshalJSON (line 6805) | func (r *BetaTextEditorCodeExecutionCreateResultBlockParam) UnmarshalJ... type BetaTextEditorCodeExecutionStrReplaceResultBlock (line 6809) | type BetaTextEditorCodeExecutionStrReplaceResultBlock struct method RawJSON (line 6830) | func (r BetaTextEditorCodeExecutionStrReplaceResultBlock) RawJSON() st... method UnmarshalJSON (line 6831) | func (r *BetaTextEditorCodeExecutionStrReplaceResultBlock) UnmarshalJS... type BetaTextEditorCodeExecutionStrReplaceResultBlockParam (line 6836) | type BetaTextEditorCodeExecutionStrReplaceResultBlockParam struct method MarshalJSON (line 6848) | func (r BetaTextEditorCodeExecutionStrReplaceResultBlockParam) Marshal... method UnmarshalJSON (line 6852) | func (r *BetaTextEditorCodeExecutionStrReplaceResultBlockParam) Unmars... type BetaTextEditorCodeExecutionToolResultBlock (line 6856) | type BetaTextEditorCodeExecutionToolResultBlock struct method implBetaContentBlockUnion (line 2054) | func (BetaTextEditorCodeExecutionToolResultBlock) implBetaContentBlock... method implBetaRawContentBlockStartEventContentBlockUnion (line 5155) | func (BetaTextEditorCodeExecutionToolResultBlock) implBetaRawContentBl... method RawJSON (line 6871) | func (r BetaTextEditorCodeExecutionToolResultBlock) RawJSON() string {... method UnmarshalJSON (line 6872) | func (r *BetaTextEditorCodeExecutionToolResultBlock) UnmarshalJSON(dat... type BetaTextEditorCodeExecutionToolResultBlockContentUnion (line 6883) | type BetaTextEditorCodeExecutionToolResultBlockContentUnion struct method AsResponseTextEditorCodeExecutionToolResultError (line 6930) | func (u BetaTextEditorCodeExecutionToolResultBlockContentUnion) AsResp... method AsResponseTextEditorCodeExecutionViewResultBlock (line 6935) | func (u BetaTextEditorCodeExecutionToolResultBlockContentUnion) AsResp... method AsResponseTextEditorCodeExecutionCreateResultBlock (line 6940) | func (u BetaTextEditorCodeExecutionToolResultBlockContentUnion) AsResp... method AsResponseTextEditorCodeExecutionStrReplaceResultBlock (line 6945) | func (u BetaTextEditorCodeExecutionToolResultBlockContentUnion) AsResp... method RawJSON (line 6951) | func (u BetaTextEditorCodeExecutionToolResultBlockContentUnion) RawJSO... method UnmarshalJSON (line 6953) | func (r *BetaTextEditorCodeExecutionToolResultBlockContentUnion) Unmar... type BetaTextEditorCodeExecutionToolResultBlockParam (line 6958) | type BetaTextEditorCodeExecutionToolResultBlockParam struct method MarshalJSON (line 6969) | func (r BetaTextEditorCodeExecutionToolResultBlockParam) MarshalJSON()... method UnmarshalJSON (line 6973) | func (r *BetaTextEditorCodeExecutionToolResultBlockParam) UnmarshalJSO... type BetaTextEditorCodeExecutionToolResultBlockParamContentUnion (line 6980) | type BetaTextEditorCodeExecutionToolResultBlockParamContentUnion struct method MarshalJSON (line 6988) | func (u BetaTextEditorCodeExecutionToolResultBlockParamContentUnion) M... method UnmarshalJSON (line 6991) | func (u *BetaTextEditorCodeExecutionToolResultBlockParamContentUnion) ... method asAny (line 6995) | func (u *BetaTextEditorCodeExecutionToolResultBlockParamContentUnion) ... method GetErrorCode (line 7009) | func (u BetaTextEditorCodeExecutionToolResultBlockParamContentUnion) G... method GetErrorMessage (line 7017) | func (u BetaTextEditorCodeExecutionToolResultBlockParamContentUnion) G... method GetContent (line 7025) | func (u BetaTextEditorCodeExecutionToolResultBlockParamContentUnion) G... method GetFileType (line 7033) | func (u BetaTextEditorCodeExecutionToolResultBlockParamContentUnion) G... method GetNumLines (line 7041) | func (u BetaTextEditorCodeExecutionToolResultBlockParamContentUnion) G... method GetStartLine (line 7049) | func (u BetaTextEditorCodeExecutionToolResultBlockParamContentUnion) G... method GetTotalLines (line 7057) | func (u BetaTextEditorCodeExecutionToolResultBlockParamContentUnion) G... method GetIsFileUpdate (line 7065) | func (u BetaTextEditorCodeExecutionToolResultBlockParamContentUnion) G... method GetLines (line 7073) | func (u BetaTextEditorCodeExecutionToolResultBlockParamContentUnion) G... method GetNewLines (line 7081) | func (u BetaTextEditorCodeExecutionToolResultBlockParamContentUnion) G... method GetNewStart (line 7089) | func (u BetaTextEditorCodeExecutionToolResultBlockParamContentUnion) G... method GetOldLines (line 7097) | func (u BetaTextEditorCodeExecutionToolResultBlockParamContentUnion) G... method GetOldStart (line 7105) | func (u BetaTextEditorCodeExecutionToolResultBlockParamContentUnion) G... method GetType (line 7113) | func (u BetaTextEditorCodeExecutionToolResultBlockParamContentUnion) G... type BetaTextEditorCodeExecutionToolResultError (line 7126) | type BetaTextEditorCodeExecutionToolResultError struct method RawJSON (line 7143) | func (r BetaTextEditorCodeExecutionToolResultError) RawJSON() string {... method UnmarshalJSON (line 7144) | func (r *BetaTextEditorCodeExecutionToolResultError) UnmarshalJSON(dat... type BetaTextEditorCodeExecutionToolResultErrorErrorCode (line 7148) | type BetaTextEditorCodeExecutionToolResultErrorErrorCode constant BetaTextEditorCodeExecutionToolResultErrorErrorCodeInvalidToolInput (line 7151) | BetaTextEditorCodeExecutionToolResultErrorErrorCodeInvalidToolInput ... constant BetaTextEditorCodeExecutionToolResultErrorErrorCodeUnavailable (line 7152) | BetaTextEditorCodeExecutionToolResultErrorErrorCodeUnavailable ... constant BetaTextEditorCodeExecutionToolResultErrorErrorCodeTooManyRequests (line 7153) | BetaTextEditorCodeExecutionToolResultErrorErrorCodeTooManyRequests ... constant BetaTextEditorCodeExecutionToolResultErrorErrorCodeExecutionTimeExceeded (line 7154) | BetaTextEditorCodeExecutionToolResultErrorErrorCodeExecutionTimeExceeded... constant BetaTextEditorCodeExecutionToolResultErrorErrorCodeFileNotFound (line 7155) | BetaTextEditorCodeExecutionToolResultErrorErrorCodeFileNotFound ... type BetaTextEditorCodeExecutionToolResultErrorParam (line 7159) | type BetaTextEditorCodeExecutionToolResultErrorParam struct method MarshalJSON (line 7170) | func (r BetaTextEditorCodeExecutionToolResultErrorParam) MarshalJSON()... method UnmarshalJSON (line 7174) | func (r *BetaTextEditorCodeExecutionToolResultErrorParam) UnmarshalJSO... type BetaTextEditorCodeExecutionToolResultErrorParamErrorCode (line 7178) | type BetaTextEditorCodeExecutionToolResultErrorParamErrorCode constant BetaTextEditorCodeExecutionToolResultErrorParamErrorCodeInvalidToolInput (line 7181) | BetaTextEditorCodeExecutionToolResultErrorParamErrorCodeInvalidToolInput... constant BetaTextEditorCodeExecutionToolResultErrorParamErrorCodeUnavailable (line 7182) | BetaTextEditorCodeExecutionToolResultErrorParamErrorCodeUnavailable ... constant BetaTextEditorCodeExecutionToolResultErrorParamErrorCodeTooManyRequests (line 7183) | BetaTextEditorCodeExecutionToolResultErrorParamErrorCodeTooManyRequests ... constant BetaTextEditorCodeExecutionToolResultErrorParamErrorCodeExecutionTimeExceeded (line 7184) | BetaTextEditorCodeExecutionToolResultErrorParamErrorCodeExecutionTimeExc... constant BetaTextEditorCodeExecutionToolResultErrorParamErrorCodeFileNotFound (line 7185) | BetaTextEditorCodeExecutionToolResultErrorParamErrorCodeFileNotFound ... type BetaTextEditorCodeExecutionViewResultBlock (line 7188) | type BetaTextEditorCodeExecutionViewResultBlock struct method RawJSON (line 7210) | func (r BetaTextEditorCodeExecutionViewResultBlock) RawJSON() string {... method UnmarshalJSON (line 7211) | func (r *BetaTextEditorCodeExecutionViewResultBlock) UnmarshalJSON(dat... type BetaTextEditorCodeExecutionViewResultBlockFileType (line 7215) | type BetaTextEditorCodeExecutionViewResultBlockFileType constant BetaTextEditorCodeExecutionViewResultBlockFileTypeText (line 7218) | BetaTextEditorCodeExecutionViewResultBlockFileTypeText BetaTextEditorCo... constant BetaTextEditorCodeExecutionViewResultBlockFileTypeImage (line 7219) | BetaTextEditorCodeExecutionViewResultBlockFileTypeImage BetaTextEditorCo... constant BetaTextEditorCodeExecutionViewResultBlockFileTypePDF (line 7220) | BetaTextEditorCodeExecutionViewResultBlockFileTypePDF BetaTextEditorCo... type BetaTextEditorCodeExecutionViewResultBlockParam (line 7224) | type BetaTextEditorCodeExecutionViewResultBlockParam struct method MarshalJSON (line 7237) | func (r BetaTextEditorCodeExecutionViewResultBlockParam) MarshalJSON()... method UnmarshalJSON (line 7241) | func (r *BetaTextEditorCodeExecutionViewResultBlockParam) UnmarshalJSO... type BetaTextEditorCodeExecutionViewResultBlockParamFileType (line 7245) | type BetaTextEditorCodeExecutionViewResultBlockParamFileType constant BetaTextEditorCodeExecutionViewResultBlockParamFileTypeText (line 7248) | BetaTextEditorCodeExecutionViewResultBlockParamFileTypeText BetaTextEdi... constant BetaTextEditorCodeExecutionViewResultBlockParamFileTypeImage (line 7249) | BetaTextEditorCodeExecutionViewResultBlockParamFileTypeImage BetaTextEdi... constant BetaTextEditorCodeExecutionViewResultBlockParamFileTypePDF (line 7250) | BetaTextEditorCodeExecutionViewResultBlockParamFileTypePDF BetaTextEdi... type BetaThinkingBlock (line 7253) | type BetaThinkingBlock struct method implBetaContentBlockUnion (line 2046) | func (BetaThinkingBlock) implBetaContentBlockUnion() ... method implBetaRawContentBlockStartEventContentBlockUnion (line 5147) | func (BetaThinkingBlock) implBetaRawContentBlockStartEventContentBlock... method RawJSON (line 7268) | func (r BetaThinkingBlock) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 7269) | func (r *BetaThinkingBlock) UnmarshalJSON(data []byte) error { type BetaThinkingBlockParam (line 7274) | type BetaThinkingBlockParam struct method MarshalJSON (line 7282) | func (r BetaThinkingBlockParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 7286) | func (r *BetaThinkingBlockParam) UnmarshalJSON(data []byte) error { type BetaThinkingConfigAdaptiveParam (line 7291) | type BetaThinkingConfigAdaptiveParam struct method MarshalJSON (line 7304) | func (r BetaThinkingConfigAdaptiveParam) MarshalJSON() (data []byte, e... method UnmarshalJSON (line 7308) | func (r *BetaThinkingConfigAdaptiveParam) UnmarshalJSON(data []byte) e... type BetaThinkingConfigAdaptiveDisplay (line 7316) | type BetaThinkingConfigAdaptiveDisplay constant BetaThinkingConfigAdaptiveDisplaySummarized (line 7319) | BetaThinkingConfigAdaptiveDisplaySummarized BetaThinkingConfigAdaptiveDi... constant BetaThinkingConfigAdaptiveDisplayOmitted (line 7320) | BetaThinkingConfigAdaptiveDisplayOmitted BetaThinkingConfigAdaptiveDi... function NewBetaThinkingConfigDisabledParam (line 7323) | func NewBetaThinkingConfigDisabledParam() BetaThinkingConfigDisabledParam { type BetaThinkingConfigDisabledParam (line 7331) | type BetaThinkingConfigDisabledParam struct method MarshalJSON (line 7336) | func (r BetaThinkingConfigDisabledParam) MarshalJSON() (data []byte, e... method UnmarshalJSON (line 7340) | func (r *BetaThinkingConfigDisabledParam) UnmarshalJSON(data []byte) e... type BetaThinkingConfigEnabledParam (line 7345) | type BetaThinkingConfigEnabledParam struct method MarshalJSON (line 7368) | func (r BetaThinkingConfigEnabledParam) MarshalJSON() (data []byte, er... method UnmarshalJSON (line 7372) | func (r *BetaThinkingConfigEnabledParam) UnmarshalJSON(data []byte) er... type BetaThinkingConfigEnabledDisplay (line 7380) | type BetaThinkingConfigEnabledDisplay constant BetaThinkingConfigEnabledDisplaySummarized (line 7383) | BetaThinkingConfigEnabledDisplaySummarized BetaThinkingConfigEnabledDisp... constant BetaThinkingConfigEnabledDisplayOmitted (line 7384) | BetaThinkingConfigEnabledDisplayOmitted BetaThinkingConfigEnabledDisp... function BetaThinkingConfigParamOfEnabled (line 7387) | func BetaThinkingConfigParamOfEnabled(budgetTokens int64) BetaThinkingCo... type BetaThinkingConfigParamUnion (line 7396) | type BetaThinkingConfigParamUnion struct method MarshalJSON (line 7403) | func (u BetaThinkingConfigParamUnion) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 7406) | func (u *BetaThinkingConfigParamUnion) UnmarshalJSON(data []byte) error { method asAny (line 7410) | func (u *BetaThinkingConfigParamUnion) asAny() any { method GetBudgetTokens (line 7422) | func (u BetaThinkingConfigParamUnion) GetBudgetTokens() *int64 { method GetType (line 7430) | func (u BetaThinkingConfigParamUnion) GetType() *string { method GetDisplay (line 7442) | func (u BetaThinkingConfigParamUnion) GetDisplay() *string { type BetaThinkingDelta (line 7451) | type BetaThinkingDelta struct method implBetaRawContentBlockDeltaUnion (line 4955) | func (BetaThinkingDelta) implBetaRawContentBlockDeltaUnion() ... method RawJSON (line 7464) | func (r BetaThinkingDelta) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 7465) | func (r *BetaThinkingDelta) UnmarshalJSON(data []byte) error { type BetaThinkingTurnsParam (line 7470) | type BetaThinkingTurnsParam struct method MarshalJSON (line 7477) | func (r BetaThinkingTurnsParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 7481) | func (r *BetaThinkingTurnsParam) UnmarshalJSON(data []byte) error { type BetaToolParam (line 7486) | type BetaToolParam struct method MarshalJSON (line 7524) | func (r BetaToolParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 7528) | func (r *BetaToolParam) UnmarshalJSON(data []byte) error { type BetaToolInputSchemaParam (line 7538) | type BetaToolInputSchemaParam struct method MarshalJSON (line 7547) | func (r BetaToolInputSchemaParam) MarshalJSON() (data []byte, err erro... method UnmarshalJSON (line 7551) | func (r *BetaToolInputSchemaParam) UnmarshalJSON(data []byte) error { type BetaToolType (line 7555) | type BetaToolType constant BetaToolTypeCustom (line 7558) | BetaToolTypeCustom BetaToolType = "custom" type BetaToolBash20241022Param (line 7562) | type BetaToolBash20241022Param struct method MarshalJSON (line 7584) | func (r BetaToolBash20241022Param) MarshalJSON() (data []byte, err err... method UnmarshalJSON (line 7588) | func (r *BetaToolBash20241022Param) UnmarshalJSON(data []byte) error { type BetaToolBash20250124Param (line 7593) | type BetaToolBash20250124Param struct method MarshalJSON (line 7615) | func (r BetaToolBash20250124Param) MarshalJSON() (data []byte, err err... method UnmarshalJSON (line 7619) | func (r *BetaToolBash20250124Param) UnmarshalJSON(data []byte) error { function BetaToolChoiceParamOfTool (line 7623) | func BetaToolChoiceParamOfTool(name string) BetaToolChoiceUnionParam { type BetaToolChoiceUnionParam (line 7632) | type BetaToolChoiceUnionParam struct method MarshalJSON (line 7640) | func (u BetaToolChoiceUnionParam) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 7643) | func (u *BetaToolChoiceUnionParam) UnmarshalJSON(data []byte) error { method asAny (line 7647) | func (u *BetaToolChoiceUnionParam) asAny() any { method GetName (line 7661) | func (u BetaToolChoiceUnionParam) GetName() *string { method GetType (line 7669) | func (u BetaToolChoiceUnionParam) GetType() *string { method GetDisableParallelToolUse (line 7683) | func (u BetaToolChoiceUnionParam) GetDisableParallelToolUse() *bool { type BetaToolChoiceAnyParam (line 7697) | type BetaToolChoiceAnyParam struct method MarshalJSON (line 7708) | func (r BetaToolChoiceAnyParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 7712) | func (r *BetaToolChoiceAnyParam) UnmarshalJSON(data []byte) error { type BetaToolChoiceAutoParam (line 7719) | type BetaToolChoiceAutoParam struct method MarshalJSON (line 7730) | func (r BetaToolChoiceAutoParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 7734) | func (r *BetaToolChoiceAutoParam) UnmarshalJSON(data []byte) error { function NewBetaToolChoiceNoneParam (line 7738) | func NewBetaToolChoiceNoneParam() BetaToolChoiceNoneParam { type BetaToolChoiceNoneParam (line 7748) | type BetaToolChoiceNoneParam struct method MarshalJSON (line 7753) | func (r BetaToolChoiceNoneParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 7757) | func (r *BetaToolChoiceNoneParam) UnmarshalJSON(data []byte) error { type BetaToolChoiceToolParam (line 7764) | type BetaToolChoiceToolParam struct method MarshalJSON (line 7777) | func (r BetaToolChoiceToolParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 7781) | func (r *BetaToolChoiceToolParam) UnmarshalJSON(data []byte) error { type BetaToolComputerUse20241022Param (line 7786) | type BetaToolComputerUse20241022Param struct method MarshalJSON (line 7815) | func (r BetaToolComputerUse20241022Param) MarshalJSON() (data []byte, ... method UnmarshalJSON (line 7819) | func (r *BetaToolComputerUse20241022Param) UnmarshalJSON(data []byte) ... type BetaToolComputerUse20250124Param (line 7824) | type BetaToolComputerUse20250124Param struct method MarshalJSON (line 7853) | func (r BetaToolComputerUse20250124Param) MarshalJSON() (data []byte, ... method UnmarshalJSON (line 7857) | func (r *BetaToolComputerUse20250124Param) UnmarshalJSON(data []byte) ... type BetaToolComputerUse20251124Param (line 7862) | type BetaToolComputerUse20251124Param struct method MarshalJSON (line 7893) | func (r BetaToolComputerUse20251124Param) MarshalJSON() (data []byte, ... method UnmarshalJSON (line 7897) | func (r *BetaToolComputerUse20251124Param) UnmarshalJSON(data []byte) ... type BetaToolReferenceBlock (line 7901) | type BetaToolReferenceBlock struct method RawJSON (line 7914) | func (r BetaToolReferenceBlock) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 7915) | func (r *BetaToolReferenceBlock) UnmarshalJSON(data []byte) error { type BetaToolReferenceBlockParam (line 7922) | type BetaToolReferenceBlockParam struct method MarshalJSON (line 7931) | func (r BetaToolReferenceBlockParam) MarshalJSON() (data []byte, err e... method UnmarshalJSON (line 7935) | func (r *BetaToolReferenceBlockParam) UnmarshalJSON(data []byte) error { type BetaToolResultBlockParam (line 7940) | type BetaToolResultBlockParam struct method MarshalJSON (line 7951) | func (r BetaToolResultBlockParam) MarshalJSON() (data []byte, err erro... method UnmarshalJSON (line 7955) | func (r *BetaToolResultBlockParam) UnmarshalJSON(data []byte) error { function NewBetaToolResultTextBlockParam (line 7959) | func NewBetaToolResultTextBlockParam(toolUseID string, text string, isEr... type BetaToolResultBlockParamContentUnion (line 7972) | type BetaToolResultBlockParamContentUnion struct method MarshalJSON (line 7981) | func (u BetaToolResultBlockParamContentUnion) MarshalJSON() ([]byte, e... method UnmarshalJSON (line 7988) | func (u *BetaToolResultBlockParamContentUnion) UnmarshalJSON(data []by... method asAny (line 7992) | func (u *BetaToolResultBlockParamContentUnion) asAny() any { method GetText (line 8008) | func (u BetaToolResultBlockParamContentUnion) GetText() *string { method GetContent (line 8016) | func (u BetaToolResultBlockParamContentUnion) GetContent() []BetaTextB... method GetContext (line 8024) | func (u BetaToolResultBlockParamContentUnion) GetContext() *string { method GetToolName (line 8032) | func (u BetaToolResultBlockParamContentUnion) GetToolName() *string { method GetType (line 8040) | func (u BetaToolResultBlockParamContentUnion) GetType() *string { method GetTitle (line 8056) | func (u BetaToolResultBlockParamContentUnion) GetTitle() *string { method GetCacheControl (line 8066) | func (u BetaToolResultBlockParamContentUnion) GetCacheControl() *BetaC... method GetCitations (line 8084) | func (u BetaToolResultBlockParamContentUnion) GetCitations() (res beta... method GetSource (line 8121) | func (u BetaToolResultBlockParamContentUnion) GetSource() (res betaToo... type betaToolResultBlockParamContentUnionCitations (line 8097) | type betaToolResultBlockParamContentUnionCitations struct method AsAny (line 8107) | func (u betaToolResultBlockParamContentUnionCitations) AsAny() any { r... method GetEnabled (line 8110) | func (u betaToolResultBlockParamContentUnionCitations) GetEnabled() *b... type betaToolResultBlockParamContentUnionSource (line 8137) | type betaToolResultBlockParamContentUnionSource struct method AsAny (line 8154) | func (u betaToolResultBlockParamContentUnionSource) AsAny() any { retu... method GetContent (line 8157) | func (u betaToolResultBlockParamContentUnionSource) GetContent() *Beta... method GetData (line 8166) | func (u betaToolResultBlockParamContentUnionSource) GetData() *string { method GetMediaType (line 8177) | func (u betaToolResultBlockParamContentUnionSource) GetMediaType() *st... method GetType (line 8188) | func (u betaToolResultBlockParamContentUnionSource) GetType() *string { method GetURL (line 8199) | func (u betaToolResultBlockParamContentUnionSource) GetURL() *string { method GetFileID (line 8210) | func (u betaToolResultBlockParamContentUnionSource) GetFileID() *string { type BetaToolSearchToolBm25_20251119Param (line 8221) | type BetaToolSearchToolBm25_20251119Param struct method MarshalJSON (line 8244) | func (r BetaToolSearchToolBm25_20251119Param) MarshalJSON() (data []by... method UnmarshalJSON (line 8248) | func (r *BetaToolSearchToolBm25_20251119Param) UnmarshalJSON(data []by... type BetaToolSearchToolBm25_20251119Type (line 8252) | type BetaToolSearchToolBm25_20251119Type constant BetaToolSearchToolBm25_20251119TypeToolSearchToolBm25_20251119 (line 8255) | BetaToolSearchToolBm25_20251119TypeToolSearchToolBm25_20251119 BetaToolS... constant BetaToolSearchToolBm25_20251119TypeToolSearchToolBm25 (line 8256) | BetaToolSearchToolBm25_20251119TypeToolSearchToolBm25 BetaToolS... type BetaToolSearchToolRegex20251119Param (line 8260) | type BetaToolSearchToolRegex20251119Param struct method MarshalJSON (line 8282) | func (r BetaToolSearchToolRegex20251119Param) MarshalJSON() (data []by... method UnmarshalJSON (line 8286) | func (r *BetaToolSearchToolRegex20251119Param) UnmarshalJSON(data []by... type BetaToolSearchToolRegex20251119Type (line 8290) | type BetaToolSearchToolRegex20251119Type constant BetaToolSearchToolRegex20251119TypeToolSearchToolRegex20251119 (line 8293) | BetaToolSearchToolRegex20251119TypeToolSearchToolRegex20251119 BetaToolS... constant BetaToolSearchToolRegex20251119TypeToolSearchToolRegex (line 8294) | BetaToolSearchToolRegex20251119TypeToolSearchToolRegex BetaToolS... type BetaToolSearchToolResultBlock (line 8297) | type BetaToolSearchToolResultBlock struct method implBetaContentBlockUnion (line 2055) | func (BetaToolSearchToolResultBlock) implBetaContentBlockUnion() ... method implBetaRawContentBlockStartEventContentBlockUnion (line 5157) | func (BetaToolSearchToolResultBlock) implBetaRawContentBlockStartEvent... method RawJSON (line 8312) | func (r BetaToolSearchToolResultBlock) RawJSON() string { return r.JSO... method UnmarshalJSON (line 8313) | func (r *BetaToolSearchToolResultBlock) UnmarshalJSON(data []byte) err... type BetaToolSearchToolResultBlockContentUnion (line 8322) | type BetaToolSearchToolResultBlockContentUnion struct method AsResponseToolSearchToolResultError (line 8339) | func (u BetaToolSearchToolResultBlockContentUnion) AsResponseToolSearc... method AsResponseToolSearchToolSearchResultBlock (line 8344) | func (u BetaToolSearchToolResultBlockContentUnion) AsResponseToolSearc... method RawJSON (line 8350) | func (u BetaToolSearchToolResultBlockContentUnion) RawJSON() string { ... method UnmarshalJSON (line 8352) | func (r *BetaToolSearchToolResultBlockContentUnion) UnmarshalJSON(data... type BetaToolSearchToolResultBlockParam (line 8357) | type BetaToolSearchToolResultBlockParam struct method MarshalJSON (line 8368) | func (r BetaToolSearchToolResultBlockParam) MarshalJSON() (data []byte... method UnmarshalJSON (line 8372) | func (r *BetaToolSearchToolResultBlockParam) UnmarshalJSON(data []byte... type BetaToolSearchToolResultBlockParamContentUnion (line 8379) | type BetaToolSearchToolResultBlockParamContentUnion struct method MarshalJSON (line 8385) | func (u BetaToolSearchToolResultBlockParamContentUnion) MarshalJSON() ... method UnmarshalJSON (line 8388) | func (u *BetaToolSearchToolResultBlockParamContentUnion) UnmarshalJSON... method asAny (line 8392) | func (u *BetaToolSearchToolResultBlockParamContentUnion) asAny() any { method GetErrorCode (line 8402) | func (u BetaToolSearchToolResultBlockParamContentUnion) GetErrorCode()... method GetToolReferences (line 8410) | func (u BetaToolSearchToolResultBlockParamContentUnion) GetToolReferen... method GetType (line 8418) | func (u BetaToolSearchToolResultBlockParamContentUnion) GetType() *str... type BetaToolSearchToolResultError (line 8427) | type BetaToolSearchToolResultError struct method RawJSON (line 8444) | func (r BetaToolSearchToolResultError) RawJSON() string { return r.JSO... method UnmarshalJSON (line 8445) | func (r *BetaToolSearchToolResultError) UnmarshalJSON(data []byte) err... type BetaToolSearchToolResultErrorErrorCode (line 8449) | type BetaToolSearchToolResultErrorErrorCode constant BetaToolSearchToolResultErrorErrorCodeInvalidToolInput (line 8452) | BetaToolSearchToolResultErrorErrorCodeInvalidToolInput BetaToolSear... constant BetaToolSearchToolResultErrorErrorCodeUnavailable (line 8453) | BetaToolSearchToolResultErrorErrorCodeUnavailable BetaToolSear... constant BetaToolSearchToolResultErrorErrorCodeTooManyRequests (line 8454) | BetaToolSearchToolResultErrorErrorCodeTooManyRequests BetaToolSear... constant BetaToolSearchToolResultErrorErrorCodeExecutionTimeExceeded (line 8455) | BetaToolSearchToolResultErrorErrorCodeExecutionTimeExceeded BetaToolSear... type BetaToolSearchToolResultErrorParam (line 8459) | type BetaToolSearchToolResultErrorParam struct method MarshalJSON (line 8469) | func (r BetaToolSearchToolResultErrorParam) MarshalJSON() (data []byte... method UnmarshalJSON (line 8473) | func (r *BetaToolSearchToolResultErrorParam) UnmarshalJSON(data []byte... type BetaToolSearchToolResultErrorParamErrorCode (line 8477) | type BetaToolSearchToolResultErrorParamErrorCode constant BetaToolSearchToolResultErrorParamErrorCodeInvalidToolInput (line 8480) | BetaToolSearchToolResultErrorParamErrorCodeInvalidToolInput BetaToo... constant BetaToolSearchToolResultErrorParamErrorCodeUnavailable (line 8481) | BetaToolSearchToolResultErrorParamErrorCodeUnavailable BetaToo... constant BetaToolSearchToolResultErrorParamErrorCodeTooManyRequests (line 8482) | BetaToolSearchToolResultErrorParamErrorCodeTooManyRequests BetaToo... constant BetaToolSearchToolResultErrorParamErrorCodeExecutionTimeExceeded (line 8483) | BetaToolSearchToolResultErrorParamErrorCodeExecutionTimeExceeded BetaToo... type BetaToolSearchToolSearchResultBlock (line 8486) | type BetaToolSearchToolSearchResultBlock struct method RawJSON (line 8499) | func (r BetaToolSearchToolSearchResultBlock) RawJSON() string { return... method UnmarshalJSON (line 8500) | func (r *BetaToolSearchToolSearchResultBlock) UnmarshalJSON(data []byt... type BetaToolSearchToolSearchResultBlockParam (line 8505) | type BetaToolSearchToolSearchResultBlockParam struct method MarshalJSON (line 8513) | func (r BetaToolSearchToolSearchResultBlockParam) MarshalJSON() (data ... method UnmarshalJSON (line 8517) | func (r *BetaToolSearchToolSearchResultBlockParam) UnmarshalJSON(data ... type BetaToolTextEditor20241022Param (line 8522) | type BetaToolTextEditor20241022Param struct method MarshalJSON (line 8546) | func (r BetaToolTextEditor20241022Param) MarshalJSON() (data []byte, e... method UnmarshalJSON (line 8550) | func (r *BetaToolTextEditor20241022Param) UnmarshalJSON(data []byte) e... type BetaToolTextEditor20250124Param (line 8555) | type BetaToolTextEditor20250124Param struct method MarshalJSON (line 8579) | func (r BetaToolTextEditor20250124Param) MarshalJSON() (data []byte, e... method UnmarshalJSON (line 8583) | func (r *BetaToolTextEditor20250124Param) UnmarshalJSON(data []byte) e... type BetaToolTextEditor20250429Param (line 8588) | type BetaToolTextEditor20250429Param struct method MarshalJSON (line 8612) | func (r BetaToolTextEditor20250429Param) MarshalJSON() (data []byte, e... method UnmarshalJSON (line 8616) | func (r *BetaToolTextEditor20250429Param) UnmarshalJSON(data []byte) e... type BetaToolTextEditor20250728Param (line 8621) | type BetaToolTextEditor20250728Param struct method MarshalJSON (line 8648) | func (r BetaToolTextEditor20250728Param) MarshalJSON() (data []byte, e... method UnmarshalJSON (line 8652) | func (r *BetaToolTextEditor20250728Param) UnmarshalJSON(data []byte) e... function BetaToolUnionParamOfTool (line 8656) | func BetaToolUnionParamOfTool(inputSchema BetaToolInputSchemaParam, name... function BetaToolUnionParamOfComputerUseTool20241022 (line 8663) | func BetaToolUnionParamOfComputerUseTool20241022(displayHeightPx int64, ... function BetaToolUnionParamOfComputerUseTool20250124 (line 8670) | func BetaToolUnionParamOfComputerUseTool20250124(displayHeightPx int64, ... function BetaToolUnionParamOfComputerUseTool20251124 (line 8677) | func BetaToolUnionParamOfComputerUseTool20251124(displayHeightPx int64, ... function BetaToolUnionParamOfToolSearchToolBm25_20251119 (line 8684) | func BetaToolUnionParamOfToolSearchToolBm25_20251119(type_ BetaToolSearc... function BetaToolUnionParamOfToolSearchToolRegex20251119 (line 8690) | func BetaToolUnionParamOfToolSearchToolRegex20251119(type_ BetaToolSearc... function BetaToolUnionParamOfMCPToolset (line 8696) | func BetaToolUnionParamOfMCPToolset(mcpServerName string) BetaToolUnionP... type BetaToolUnionParam (line 8705) | type BetaToolUnionParam struct method MarshalJSON (line 8731) | func (u BetaToolUnionParam) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 8755) | func (u *BetaToolUnionParam) UnmarshalJSON(data []byte) error { method asAny (line 8759) | func (u *BetaToolUnionParam) asAny() any { method GetInputSchema (line 8809) | func (u BetaToolUnionParam) GetInputSchema() *BetaToolInputSchemaParam { method GetDescription (line 8817) | func (u BetaToolUnionParam) GetDescription() *string { method GetEagerInputStreaming (line 8825) | func (u BetaToolUnionParam) GetEagerInputStreaming() *bool { method GetEnableZoom (line 8833) | func (u BetaToolUnionParam) GetEnableZoom() *bool { method GetMaxCharacters (line 8841) | func (u BetaToolUnionParam) GetMaxCharacters() *int64 { method GetUseCache (line 8849) | func (u BetaToolUnionParam) GetUseCache() *bool { method GetMCPServerName (line 8857) | func (u BetaToolUnionParam) GetMCPServerName() *string { method GetConfigs (line 8865) | func (u BetaToolUnionParam) GetConfigs() map[string]BetaMCPToolConfigP... method GetDefaultConfig (line 8873) | func (u BetaToolUnionParam) GetDefaultConfig() *BetaMCPToolDefaultConf... method GetName (line 8881) | func (u BetaToolUnionParam) GetName() *string { method GetDeferLoading (line 8929) | func (u BetaToolUnionParam) GetDeferLoading() *bool { method GetStrict (line 8977) | func (u BetaToolUnionParam) GetStrict() *bool { method GetType (line 9025) | func (u BetaToolUnionParam) GetType() *string { method GetDisplayHeightPx (line 9075) | func (u BetaToolUnionParam) GetDisplayHeightPx() *int64 { method GetDisplayWidthPx (line 9087) | func (u BetaToolUnionParam) GetDisplayWidthPx() *int64 { method GetDisplayNumber (line 9099) | func (u BetaToolUnionParam) GetDisplayNumber() *int64 { method GetMaxUses (line 9111) | func (u BetaToolUnionParam) GetMaxUses() *int64 { method GetMaxContentTokens (line 9127) | func (u BetaToolUnionParam) GetMaxContentTokens() *int64 { method GetAllowedCallers (line 9140) | func (u BetaToolUnionParam) GetAllowedCallers() []string { method GetCacheControl (line 9188) | func (u BetaToolUnionParam) GetCacheControl() *BetaCacheControlEphemer... method GetInputExamples (line 9239) | func (u BetaToolUnionParam) GetInputExamples() []map[string]any { method GetAllowedDomains (line 9268) | func (u BetaToolUnionParam) GetAllowedDomains() []string { method GetBlockedDomains (line 9285) | func (u BetaToolUnionParam) GetBlockedDomains() []string { method GetUserLocation (line 9301) | func (u BetaToolUnionParam) GetUserLocation() *BetaUserLocationParam { method GetCitations (line 9311) | func (u BetaToolUnionParam) GetCitations() *BetaCitationsConfigParam { type BetaToolUseBlock (line 9322) | type BetaToolUseBlock struct method implBetaContentBlockUnion (line 2048) | func (BetaToolUseBlock) implBetaContentBlockUnion() ... method implBetaRawContentBlockStartEventContentBlockUnion (line 5149) | func (BetaToolUseBlock) implBetaRawContentBlockStartEventContentBlockU... method RawJSON (line 9342) | func (r BetaToolUseBlock) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 9343) | func (r *BetaToolUseBlock) UnmarshalJSON(data []byte) error { type BetaToolUseBlockCallerUnion (line 9353) | type BetaToolUseBlockCallerUnion struct method AsAny (line 9384) | func (u BetaToolUseBlockCallerUnion) AsAny() anyBetaToolUseBlockCaller { method AsDirect (line 9396) | func (u BetaToolUseBlockCallerUnion) AsDirect() (v BetaDirectCaller) { method AsCodeExecution20250825 (line 9401) | func (u BetaToolUseBlockCallerUnion) AsCodeExecution20250825() (v Beta... method AsCodeExecution20260120 (line 9406) | func (u BetaToolUseBlockCallerUnion) AsCodeExecution20260120() (v Beta... method RawJSON (line 9412) | func (u BetaToolUseBlockCallerUnion) RawJSON() string { return u.JSON.... method UnmarshalJSON (line 9414) | func (r *BetaToolUseBlockCallerUnion) UnmarshalJSON(data []byte) error { type anyBetaToolUseBlockCaller (line 9367) | type anyBetaToolUseBlockCaller interface type BetaToolUseBlockParam (line 9419) | type BetaToolUseBlockParam struct method MarshalJSON (line 9432) | func (r BetaToolUseBlockParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 9436) | func (r *BetaToolUseBlockParam) UnmarshalJSON(data []byte) error { type BetaToolUseBlockParamCallerUnion (line 9443) | type BetaToolUseBlockParamCallerUnion struct method MarshalJSON (line 9450) | func (u BetaToolUseBlockParamCallerUnion) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 9453) | func (u *BetaToolUseBlockParamCallerUnion) UnmarshalJSON(data []byte) ... method asAny (line 9457) | func (u *BetaToolUseBlockParamCallerUnion) asAny() any { method GetType (line 9469) | func (u BetaToolUseBlockParamCallerUnion) GetType() *string { method GetToolID (line 9481) | func (u BetaToolUseBlockParamCallerUnion) GetToolID() *string { type BetaToolUsesKeepParam (line 9491) | type BetaToolUsesKeepParam struct method MarshalJSON (line 9498) | func (r BetaToolUsesKeepParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 9502) | func (r *BetaToolUsesKeepParam) UnmarshalJSON(data []byte) error { type BetaToolUsesTriggerParam (line 9507) | type BetaToolUsesTriggerParam struct method MarshalJSON (line 9514) | func (r BetaToolUsesTriggerParam) MarshalJSON() (data []byte, err erro... method UnmarshalJSON (line 9518) | func (r *BetaToolUsesTriggerParam) UnmarshalJSON(data []byte) error { type BetaURLImageSourceParam (line 9523) | type BetaURLImageSourceParam struct method MarshalJSON (line 9530) | func (r BetaURLImageSourceParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 9534) | func (r *BetaURLImageSourceParam) UnmarshalJSON(data []byte) error { type BetaURLPDFSourceParam (line 9539) | type BetaURLPDFSourceParam struct method MarshalJSON (line 9546) | func (r BetaURLPDFSourceParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 9550) | func (r *BetaURLPDFSourceParam) UnmarshalJSON(data []byte) error { type BetaUsage (line 9554) | type BetaUsage struct method RawJSON (line 9604) | func (r BetaUsage) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 9605) | func (r *BetaUsage) UnmarshalJSON(data []byte) error { type BetaUsageServiceTier (line 9610) | type BetaUsageServiceTier constant BetaUsageServiceTierStandard (line 9613) | BetaUsageServiceTierStandard BetaUsageServiceTier = "standard" constant BetaUsageServiceTierPriority (line 9614) | BetaUsageServiceTierPriority BetaUsageServiceTier = "priority" constant BetaUsageServiceTierBatch (line 9615) | BetaUsageServiceTierBatch BetaUsageServiceTier = "batch" type BetaUsageSpeed (line 9619) | type BetaUsageSpeed constant BetaUsageSpeedStandard (line 9622) | BetaUsageSpeedStandard BetaUsageSpeed = "standard" constant BetaUsageSpeedFast (line 9623) | BetaUsageSpeedFast BetaUsageSpeed = "fast" type BetaUserLocationParam (line 9627) | type BetaUserLocationParam struct method MarshalJSON (line 9643) | func (r BetaUserLocationParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 9647) | func (r *BetaUserLocationParam) UnmarshalJSON(data []byte) error { type BetaWebFetchBlock (line 9651) | type BetaWebFetchBlock struct method RawJSON (line 9670) | func (r BetaWebFetchBlock) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 9671) | func (r *BetaWebFetchBlock) UnmarshalJSON(data []byte) error { type BetaWebFetchBlockParam (line 9676) | type BetaWebFetchBlockParam struct method MarshalJSON (line 9687) | func (r BetaWebFetchBlockParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 9691) | func (r *BetaWebFetchBlockParam) UnmarshalJSON(data []byte) error { type BetaWebFetchTool20250910Param (line 9696) | type BetaWebFetchTool20250910Param struct method MarshalJSON (line 9730) | func (r BetaWebFetchTool20250910Param) MarshalJSON() (data []byte, err... method UnmarshalJSON (line 9734) | func (r *BetaWebFetchTool20250910Param) UnmarshalJSON(data []byte) err... type BetaWebFetchTool20260209Param (line 9739) | type BetaWebFetchTool20260209Param struct method MarshalJSON (line 9773) | func (r BetaWebFetchTool20260209Param) MarshalJSON() (data []byte, err... method UnmarshalJSON (line 9777) | func (r *BetaWebFetchTool20260209Param) UnmarshalJSON(data []byte) err... type BetaWebFetchTool20260309Param (line 9784) | type BetaWebFetchTool20260309Param struct method MarshalJSON (line 9822) | func (r BetaWebFetchTool20260309Param) MarshalJSON() (data []byte, err... method UnmarshalJSON (line 9826) | func (r *BetaWebFetchTool20260309Param) UnmarshalJSON(data []byte) err... type BetaWebFetchToolResultBlock (line 9830) | type BetaWebFetchToolResultBlock struct method implBetaContentBlockUnion (line 2051) | func (BetaWebFetchToolResultBlock) implBetaContentBlockUnion() ... method implBetaRawContentBlockStartEventContentBlockUnion (line 5152) | func (BetaWebFetchToolResultBlock) implBetaRawContentBlockStartEventCo... method RawJSON (line 9848) | func (r BetaWebFetchToolResultBlock) RawJSON() string { return r.JSON.... method UnmarshalJSON (line 9849) | func (r *BetaWebFetchToolResultBlock) UnmarshalJSON(data []byte) error { type BetaWebFetchToolResultBlockContentUnion (line 9857) | type BetaWebFetchToolResultBlockContentUnion struct method AsResponseWebFetchToolResultError (line 9877) | func (u BetaWebFetchToolResultBlockContentUnion) AsResponseWebFetchToo... method AsResponseWebFetchResultBlock (line 9882) | func (u BetaWebFetchToolResultBlockContentUnion) AsResponseWebFetchRes... method RawJSON (line 9888) | func (u BetaWebFetchToolResultBlockContentUnion) RawJSON() string { re... method UnmarshalJSON (line 9890) | func (r *BetaWebFetchToolResultBlockContentUnion) UnmarshalJSON(data [... type BetaWebFetchToolResultBlockCallerUnion (line 9902) | type BetaWebFetchToolResultBlockCallerUnion struct method AsAny (line 9933) | func (u BetaWebFetchToolResultBlockCallerUnion) AsAny() anyBetaWebFetc... method AsDirect (line 9945) | func (u BetaWebFetchToolResultBlockCallerUnion) AsDirect() (v BetaDire... method AsCodeExecution20250825 (line 9950) | func (u BetaWebFetchToolResultBlockCallerUnion) AsCodeExecution2025082... method AsCodeExecution20260120 (line 9955) | func (u BetaWebFetchToolResultBlockCallerUnion) AsCodeExecution2026012... method RawJSON (line 9961) | func (u BetaWebFetchToolResultBlockCallerUnion) RawJSON() string { ret... method UnmarshalJSON (line 9963) | func (r *BetaWebFetchToolResultBlockCallerUnion) UnmarshalJSON(data []... type anyBetaWebFetchToolResultBlockCaller (line 9916) | type anyBetaWebFetchToolResultBlockCaller interface type BetaWebFetchToolResultBlockParam (line 9968) | type BetaWebFetchToolResultBlockParam struct method MarshalJSON (line 9981) | func (r BetaWebFetchToolResultBlockParam) MarshalJSON() (data []byte, ... method UnmarshalJSON (line 9985) | func (r *BetaWebFetchToolResultBlockParam) UnmarshalJSON(data []byte) ... type BetaWebFetchToolResultBlockParamContentUnion (line 9992) | type BetaWebFetchToolResultBlockParamContentUnion struct method MarshalJSON (line 9998) | func (u BetaWebFetchToolResultBlockParamContentUnion) MarshalJSON() ([... method UnmarshalJSON (line 10001) | func (u *BetaWebFetchToolResultBlockParamContentUnion) UnmarshalJSON(d... method asAny (line 10005) | func (u *BetaWebFetchToolResultBlockParamContentUnion) asAny() any { method GetErrorCode (line 10015) | func (u BetaWebFetchToolResultBlockParamContentUnion) GetErrorCode() *... method GetContent (line 10023) | func (u BetaWebFetchToolResultBlockParamContentUnion) GetContent() *Be... method GetURL (line 10031) | func (u BetaWebFetchToolResultBlockParamContentUnion) GetURL() *string { method GetRetrievedAt (line 10039) | func (u BetaWebFetchToolResultBlockParamContentUnion) GetRetrievedAt()... method GetType (line 10047) | func (u BetaWebFetchToolResultBlockParamContentUnion) GetType() *string { type BetaWebFetchToolResultBlockParamCallerUnion (line 10059) | type BetaWebFetchToolResultBlockParamCallerUnion struct method MarshalJSON (line 10066) | func (u BetaWebFetchToolResultBlockParamCallerUnion) MarshalJSON() ([]... method UnmarshalJSON (line 10069) | func (u *BetaWebFetchToolResultBlockParamCallerUnion) UnmarshalJSON(da... method asAny (line 10073) | func (u *BetaWebFetchToolResultBlockParamCallerUnion) asAny() any { method GetType (line 10085) | func (u BetaWebFetchToolResultBlockParamCallerUnion) GetType() *string { method GetToolID (line 10097) | func (u BetaWebFetchToolResultBlockParamCallerUnion) GetToolID() *stri... type BetaWebFetchToolResultErrorBlock (line 10106) | type BetaWebFetchToolResultErrorBlock struct method RawJSON (line 10122) | func (r BetaWebFetchToolResultErrorBlock) RawJSON() string { return r.... method UnmarshalJSON (line 10123) | func (r *BetaWebFetchToolResultErrorBlock) UnmarshalJSON(data []byte) ... type BetaWebFetchToolResultErrorBlockParam (line 10128) | type BetaWebFetchToolResultErrorBlockParam struct method MarshalJSON (line 10139) | func (r BetaWebFetchToolResultErrorBlockParam) MarshalJSON() (data []b... method UnmarshalJSON (line 10143) | func (r *BetaWebFetchToolResultErrorBlockParam) UnmarshalJSON(data []b... type BetaWebFetchToolResultErrorCode (line 10147) | type BetaWebFetchToolResultErrorCode constant BetaWebFetchToolResultErrorCodeInvalidToolInput (line 10150) | BetaWebFetchToolResultErrorCodeInvalidToolInput BetaWebFetchToolRe... constant BetaWebFetchToolResultErrorCodeURLTooLong (line 10151) | BetaWebFetchToolResultErrorCodeURLTooLong BetaWebFetchToolRe... constant BetaWebFetchToolResultErrorCodeURLNotAllowed (line 10152) | BetaWebFetchToolResultErrorCodeURLNotAllowed BetaWebFetchToolRe... constant BetaWebFetchToolResultErrorCodeURLNotAccessible (line 10153) | BetaWebFetchToolResultErrorCodeURLNotAccessible BetaWebFetchToolRe... constant BetaWebFetchToolResultErrorCodeUnsupportedContentType (line 10154) | BetaWebFetchToolResultErrorCodeUnsupportedContentType BetaWebFetchToolRe... constant BetaWebFetchToolResultErrorCodeTooManyRequests (line 10155) | BetaWebFetchToolResultErrorCodeTooManyRequests BetaWebFetchToolRe... constant BetaWebFetchToolResultErrorCodeMaxUsesExceeded (line 10156) | BetaWebFetchToolResultErrorCodeMaxUsesExceeded BetaWebFetchToolRe... constant BetaWebFetchToolResultErrorCodeUnavailable (line 10157) | BetaWebFetchToolResultErrorCodeUnavailable BetaWebFetchToolRe... type BetaWebSearchResultBlock (line 10160) | type BetaWebSearchResultBlock struct method RawJSON (line 10179) | func (r BetaWebSearchResultBlock) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 10180) | func (r *BetaWebSearchResultBlock) UnmarshalJSON(data []byte) error { type BetaWebSearchResultBlockParam (line 10185) | type BetaWebSearchResultBlockParam struct method MarshalJSON (line 10196) | func (r BetaWebSearchResultBlockParam) MarshalJSON() (data []byte, err... method UnmarshalJSON (line 10200) | func (r *BetaWebSearchResultBlockParam) UnmarshalJSON(data []byte) err... type BetaWebSearchTool20250305Param (line 10205) | type BetaWebSearchTool20250305Param struct method MarshalJSON (line 10238) | func (r BetaWebSearchTool20250305Param) MarshalJSON() (data []byte, er... method UnmarshalJSON (line 10242) | func (r *BetaWebSearchTool20250305Param) UnmarshalJSON(data []byte) er... type BetaWebSearchTool20260209Param (line 10247) | type BetaWebSearchTool20260209Param struct method MarshalJSON (line 10280) | func (r BetaWebSearchTool20260209Param) MarshalJSON() (data []byte, er... method UnmarshalJSON (line 10284) | func (r *BetaWebSearchTool20260209Param) UnmarshalJSON(data []byte) er... type BetaWebSearchToolRequestErrorParam (line 10289) | type BetaWebSearchToolRequestErrorParam struct method MarshalJSON (line 10299) | func (r BetaWebSearchToolRequestErrorParam) MarshalJSON() (data []byte... method UnmarshalJSON (line 10303) | func (r *BetaWebSearchToolRequestErrorParam) UnmarshalJSON(data []byte... type BetaWebSearchToolResultBlock (line 10307) | type BetaWebSearchToolResultBlock struct method implBetaContentBlockUnion (line 2050) | func (BetaWebSearchToolResultBlock) implBetaContentBlockUnion() ... method implBetaRawContentBlockStartEventContentBlockUnion (line 5151) | func (BetaWebSearchToolResultBlock) implBetaRawContentBlockStartEventC... method RawJSON (line 10325) | func (r BetaWebSearchToolResultBlock) RawJSON() string { return r.JSON... method UnmarshalJSON (line 10326) | func (r *BetaWebSearchToolResultBlock) UnmarshalJSON(data []byte) error { type BetaWebSearchToolResultBlockCallerUnion (line 10338) | type BetaWebSearchToolResultBlockCallerUnion struct method AsAny (line 10369) | func (u BetaWebSearchToolResultBlockCallerUnion) AsAny() anyBetaWebSea... method AsDirect (line 10381) | func (u BetaWebSearchToolResultBlockCallerUnion) AsDirect() (v BetaDir... method AsCodeExecution20250825 (line 10386) | func (u BetaWebSearchToolResultBlockCallerUnion) AsCodeExecution202508... method AsCodeExecution20260120 (line 10391) | func (u BetaWebSearchToolResultBlockCallerUnion) AsCodeExecution202601... method RawJSON (line 10397) | func (u BetaWebSearchToolResultBlockCallerUnion) RawJSON() string { re... method UnmarshalJSON (line 10399) | func (r *BetaWebSearchToolResultBlockCallerUnion) UnmarshalJSON(data [... type anyBetaWebSearchToolResultBlockCaller (line 10352) | type anyBetaWebSearchToolResultBlockCaller interface type BetaWebSearchToolResultBlockContentUnion (line 10410) | type BetaWebSearchToolResultBlockContentUnion struct method AsResponseWebSearchToolResultError (line 10426) | func (u BetaWebSearchToolResultBlockContentUnion) AsResponseWebSearchT... method AsBetaWebSearchResultBlockArray (line 10431) | func (u BetaWebSearchToolResultBlockContentUnion) AsBetaWebSearchResul... method RawJSON (line 10437) | func (u BetaWebSearchToolResultBlockContentUnion) RawJSON() string { r... method UnmarshalJSON (line 10439) | func (r *BetaWebSearchToolResultBlockContentUnion) UnmarshalJSON(data ... type BetaWebSearchToolResultBlockParam (line 10444) | type BetaWebSearchToolResultBlockParam struct method MarshalJSON (line 10457) | func (r BetaWebSearchToolResultBlockParam) MarshalJSON() (data []byte,... method UnmarshalJSON (line 10461) | func (r *BetaWebSearchToolResultBlockParam) UnmarshalJSON(data []byte)... type BetaWebSearchToolResultBlockParamCallerUnion (line 10468) | type BetaWebSearchToolResultBlockParamCallerUnion struct method MarshalJSON (line 10475) | func (u BetaWebSearchToolResultBlockParamCallerUnion) MarshalJSON() ([... method UnmarshalJSON (line 10478) | func (u *BetaWebSearchToolResultBlockParamCallerUnion) UnmarshalJSON(d... method asAny (line 10482) | func (u *BetaWebSearchToolResultBlockParamCallerUnion) asAny() any { method GetType (line 10494) | func (u BetaWebSearchToolResultBlockParamCallerUnion) GetType() *string { method GetToolID (line 10506) | func (u BetaWebSearchToolResultBlockParamCallerUnion) GetToolID() *str... function BetaNewWebSearchToolRequestError (line 10515) | func BetaNewWebSearchToolRequestError(errorCode BetaWebSearchToolResultE... type BetaWebSearchToolResultBlockParamContentUnion (line 10524) | type BetaWebSearchToolResultBlockParamContentUnion struct method MarshalJSON (line 10530) | func (u BetaWebSearchToolResultBlockParamContentUnion) MarshalJSON() (... method UnmarshalJSON (line 10533) | func (u *BetaWebSearchToolResultBlockParamContentUnion) UnmarshalJSON(... method asAny (line 10537) | func (u *BetaWebSearchToolResultBlockParamContentUnion) asAny() any { type BetaWebSearchToolResultError (line 10546) | type BetaWebSearchToolResultError struct method RawJSON (line 10561) | func (r BetaWebSearchToolResultError) RawJSON() string { return r.JSON... method UnmarshalJSON (line 10562) | func (r *BetaWebSearchToolResultError) UnmarshalJSON(data []byte) error { type BetaWebSearchToolResultErrorCode (line 10566) | type BetaWebSearchToolResultErrorCode constant BetaWebSearchToolResultErrorCodeInvalidToolInput (line 10569) | BetaWebSearchToolResultErrorCodeInvalidToolInput BetaWebSearchToolResult... constant BetaWebSearchToolResultErrorCodeUnavailable (line 10570) | BetaWebSearchToolResultErrorCodeUnavailable BetaWebSearchToolResult... constant BetaWebSearchToolResultErrorCodeMaxUsesExceeded (line 10571) | BetaWebSearchToolResultErrorCodeMaxUsesExceeded BetaWebSearchToolResult... constant BetaWebSearchToolResultErrorCodeTooManyRequests (line 10572) | BetaWebSearchToolResultErrorCodeTooManyRequests BetaWebSearchToolResult... constant BetaWebSearchToolResultErrorCodeQueryTooLong (line 10573) | BetaWebSearchToolResultErrorCodeQueryTooLong BetaWebSearchToolResult... constant BetaWebSearchToolResultErrorCodeRequestTooLarge (line 10574) | BetaWebSearchToolResultErrorCodeRequestTooLarge BetaWebSearchToolResult... type BetaMessageNewParams (line 10577) | type BetaMessageNewParams struct method MarshalJSON (line 10841) | func (r BetaMessageNewParams) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 10845) | func (r *BetaMessageNewParams) UnmarshalJSON(data []byte) error { type BetaMessageNewParamsContainerUnion (line 10852) | type BetaMessageNewParamsContainerUnion struct method MarshalJSON (line 10858) | func (u BetaMessageNewParamsContainerUnion) MarshalJSON() ([]byte, err... method UnmarshalJSON (line 10861) | func (u *BetaMessageNewParamsContainerUnion) UnmarshalJSON(data []byte... method asAny (line 10865) | func (u *BetaMessageNewParamsContainerUnion) asAny() any { type BetaMessageNewParamsServiceTier (line 10879) | type BetaMessageNewParamsServiceTier constant BetaMessageNewParamsServiceTierAuto (line 10882) | BetaMessageNewParamsServiceTierAuto BetaMessageNewParamsServiceT... constant BetaMessageNewParamsServiceTierStandardOnly (line 10883) | BetaMessageNewParamsServiceTierStandardOnly BetaMessageNewParamsServiceT... type BetaMessageNewParamsSpeed (line 10888) | type BetaMessageNewParamsSpeed constant BetaMessageNewParamsSpeedStandard (line 10891) | BetaMessageNewParamsSpeedStandard BetaMessageNewParamsSpeed = "standard" constant BetaMessageNewParamsSpeedFast (line 10892) | BetaMessageNewParamsSpeedFast BetaMessageNewParamsSpeed = "fast" type BetaMessageCountTokensParams (line 10895) | type BetaMessageCountTokensParams struct method MarshalJSON (line 11099) | func (r BetaMessageCountTokensParams) MarshalJSON() (data []byte, err ... method UnmarshalJSON (line 11103) | func (r *BetaMessageCountTokensParams) UnmarshalJSON(data []byte) error { type BetaMessageCountTokensParamsSpeed (line 11109) | type BetaMessageCountTokensParamsSpeed constant BetaMessageCountTokensParamsSpeedStandard (line 11112) | BetaMessageCountTokensParamsSpeedStandard BetaMessageCountTokensParamsSp... constant BetaMessageCountTokensParamsSpeedFast (line 11113) | BetaMessageCountTokensParamsSpeedFast BetaMessageCountTokensParamsSp... type BetaMessageCountTokensParamsSystemUnion (line 11119) | type BetaMessageCountTokensParamsSystemUnion struct method MarshalJSON (line 11125) | func (u BetaMessageCountTokensParamsSystemUnion) MarshalJSON() ([]byte... method UnmarshalJSON (line 11128) | func (u *BetaMessageCountTokensParamsSystemUnion) UnmarshalJSON(data [... method asAny (line 11132) | func (u *BetaMessageCountTokensParamsSystemUnion) asAny() any { type BetaMessageCountTokensParamsToolUnion (line 11144) | type BetaMessageCountTokensParamsToolUnion struct method MarshalJSON (line 11170) | func (u BetaMessageCountTokensParamsToolUnion) MarshalJSON() ([]byte, ... method UnmarshalJSON (line 11194) | func (u *BetaMessageCountTokensParamsToolUnion) UnmarshalJSON(data []b... method asAny (line 11198) | func (u *BetaMessageCountTokensParamsToolUnion) asAny() any { method GetInputSchema (line 11248) | func (u BetaMessageCountTokensParamsToolUnion) GetInputSchema() *BetaT... method GetDescription (line 11256) | func (u BetaMessageCountTokensParamsToolUnion) GetDescription() *string { method GetEagerInputStreaming (line 11264) | func (u BetaMessageCountTokensParamsToolUnion) GetEagerInputStreaming(... method GetEnableZoom (line 11272) | func (u BetaMessageCountTokensParamsToolUnion) GetEnableZoom() *bool { method GetMaxCharacters (line 11280) | func (u BetaMessageCountTokensParamsToolUnion) GetMaxCharacters() *int... method GetUseCache (line 11288) | func (u BetaMessageCountTokensParamsToolUnion) GetUseCache() *bool { method GetMCPServerName (line 11296) | func (u BetaMessageCountTokensParamsToolUnion) GetMCPServerName() *str... method GetConfigs (line 11304) | func (u BetaMessageCountTokensParamsToolUnion) GetConfigs() map[string... method GetDefaultConfig (line 11312) | func (u BetaMessageCountTokensParamsToolUnion) GetDefaultConfig() *Bet... method GetName (line 11320) | func (u BetaMessageCountTokensParamsToolUnion) GetName() *string { method GetDeferLoading (line 11368) | func (u BetaMessageCountTokensParamsToolUnion) GetDeferLoading() *bool { method GetStrict (line 11416) | func (u BetaMessageCountTokensParamsToolUnion) GetStrict() *bool { method GetType (line 11464) | func (u BetaMessageCountTokensParamsToolUnion) GetType() *string { method GetDisplayHeightPx (line 11514) | func (u BetaMessageCountTokensParamsToolUnion) GetDisplayHeightPx() *i... method GetDisplayWidthPx (line 11526) | func (u BetaMessageCountTokensParamsToolUnion) GetDisplayWidthPx() *in... method GetDisplayNumber (line 11538) | func (u BetaMessageCountTokensParamsToolUnion) GetDisplayNumber() *int... method GetMaxUses (line 11550) | func (u BetaMessageCountTokensParamsToolUnion) GetMaxUses() *int64 { method GetMaxContentTokens (line 11566) | func (u BetaMessageCountTokensParamsToolUnion) GetMaxContentTokens() *... method GetAllowedCallers (line 11579) | func (u BetaMessageCountTokensParamsToolUnion) GetAllowedCallers() []s... method GetCacheControl (line 11627) | func (u BetaMessageCountTokensParamsToolUnion) GetCacheControl() *Beta... method GetInputExamples (line 11678) | func (u BetaMessageCountTokensParamsToolUnion) GetInputExamples() []ma... method GetAllowedDomains (line 11707) | func (u BetaMessageCountTokensParamsToolUnion) GetAllowedDomains() []s... method GetBlockedDomains (line 11724) | func (u BetaMessageCountTokensParamsToolUnion) GetBlockedDomains() []s... method GetUserLocation (line 11740) | func (u BetaMessageCountTokensParamsToolUnion) GetUserLocation() *Beta... method GetCitations (line 11750) | func (u BetaMessageCountTokensParamsToolUnion) GetCitations() *BetaCit... FILE: betamessage_test.go function TestBetaMessageNewWithOptionalParams (line 17) | func TestBetaMessageNewWithOptionalParams(t *testing.T) { function TestBetaMessageCountTokensWithOptionalParams (line 178) | func TestBetaMessageCountTokensWithOptionalParams(t *testing.T) { function TestBetaAccumulate (line 321) | func TestBetaAccumulate(t *testing.T) { FILE: betamessagebatch.go type BetaMessageBatchService (line 32) | type BetaMessageBatchService struct method New (line 53) | func (r *BetaMessageBatchService) New(ctx context.Context, params Beta... method Get (line 70) | func (r *BetaMessageBatchService) Get(ctx context.Context, messageBatc... method List (line 90) | func (r *BetaMessageBatchService) List(ctx context.Context, params Bet... method ListAutoPaging (line 115) | func (r *BetaMessageBatchService) ListAutoPaging(ctx context.Context, ... method Delete (line 126) | func (r *BetaMessageBatchService) Delete(ctx context.Context, messageB... method Cancel (line 153) | func (r *BetaMessageBatchService) Cancel(ctx context.Context, messageB... method ResultsStreaming (line 176) | func (r *BetaMessageBatchService) ResultsStreaming(ctx context.Context... function NewBetaMessageBatchService (line 39) | func NewBetaMessageBatchService(opts ...option.RequestOption) (r BetaMes... type BetaDeletedMessageBatch (line 195) | type BetaDeletedMessageBatch struct method RawJSON (line 212) | func (r BetaDeletedMessageBatch) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 213) | func (r *BetaDeletedMessageBatch) UnmarshalJSON(data []byte) error { type BetaMessageBatch (line 217) | type BetaMessageBatch struct method RawJSON (line 278) | func (r BetaMessageBatch) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 279) | func (r *BetaMessageBatch) UnmarshalJSON(data []byte) error { type BetaMessageBatchProcessingStatus (line 284) | type BetaMessageBatchProcessingStatus constant BetaMessageBatchProcessingStatusInProgress (line 287) | BetaMessageBatchProcessingStatusInProgress BetaMessageBatchProcessingSta... constant BetaMessageBatchProcessingStatusCanceling (line 288) | BetaMessageBatchProcessingStatusCanceling BetaMessageBatchProcessingSta... constant BetaMessageBatchProcessingStatusEnded (line 289) | BetaMessageBatchProcessingStatusEnded BetaMessageBatchProcessingSta... type BetaMessageBatchCanceledResult (line 292) | type BetaMessageBatchCanceledResult struct method RawJSON (line 303) | func (r BetaMessageBatchCanceledResult) RawJSON() string { return r.JS... method UnmarshalJSON (line 304) | func (r *BetaMessageBatchCanceledResult) UnmarshalJSON(data []byte) er... method implBetaMessageBatchResultUnion (line 439) | func (BetaMessageBatchCanceledResult) implBetaMessageBatchResultUnion(... type BetaMessageBatchErroredResult (line 308) | type BetaMessageBatchErroredResult struct method RawJSON (line 321) | func (r BetaMessageBatchErroredResult) RawJSON() string { return r.JSO... method UnmarshalJSON (line 322) | func (r *BetaMessageBatchErroredResult) UnmarshalJSON(data []byte) err... method implBetaMessageBatchResultUnion (line 438) | func (BetaMessageBatchErroredResult) implBetaMessageBatchResultUnion()... type BetaMessageBatchExpiredResult (line 326) | type BetaMessageBatchExpiredResult struct method RawJSON (line 337) | func (r BetaMessageBatchExpiredResult) RawJSON() string { return r.JSO... method UnmarshalJSON (line 338) | func (r *BetaMessageBatchExpiredResult) UnmarshalJSON(data []byte) err... method implBetaMessageBatchResultUnion (line 440) | func (BetaMessageBatchExpiredResult) implBetaMessageBatchResultUnion()... type BetaMessageBatchIndividualResponse (line 344) | type BetaMessageBatchIndividualResponse struct method RawJSON (line 366) | func (r BetaMessageBatchIndividualResponse) RawJSON() string { return ... method UnmarshalJSON (line 367) | func (r *BetaMessageBatchIndividualResponse) UnmarshalJSON(data []byte... type BetaMessageBatchRequestCounts (line 371) | type BetaMessageBatchRequestCounts struct method RawJSON (line 403) | func (r BetaMessageBatchRequestCounts) RawJSON() string { return r.JSO... method UnmarshalJSON (line 404) | func (r *BetaMessageBatchRequestCounts) UnmarshalJSON(data []byte) err... type BetaMessageBatchResultUnion (line 415) | type BetaMessageBatchResultUnion struct method AsAny (line 452) | func (u BetaMessageBatchResultUnion) AsAny() anyBetaMessageBatchResult { method AsSucceeded (line 466) | func (u BetaMessageBatchResultUnion) AsSucceeded() (v BetaMessageBatch... method AsErrored (line 471) | func (u BetaMessageBatchResultUnion) AsErrored() (v BetaMessageBatchEr... method AsCanceled (line 476) | func (u BetaMessageBatchResultUnion) AsCanceled() (v BetaMessageBatchC... method AsExpired (line 481) | func (u BetaMessageBatchResultUnion) AsExpired() (v BetaMessageBatchEx... method RawJSON (line 487) | func (u BetaMessageBatchResultUnion) RawJSON() string { return u.JSON.... method UnmarshalJSON (line 489) | func (r *BetaMessageBatchResultUnion) UnmarshalJSON(data []byte) error { type anyBetaMessageBatchResult (line 433) | type anyBetaMessageBatchResult interface type BetaMessageBatchSucceededResult (line 493) | type BetaMessageBatchSucceededResult struct method implBetaMessageBatchResultUnion (line 437) | func (BetaMessageBatchSucceededResult) implBetaMessageBatchResultUnion... method RawJSON (line 506) | func (r BetaMessageBatchSucceededResult) RawJSON() string { return r.J... method UnmarshalJSON (line 507) | func (r *BetaMessageBatchSucceededResult) UnmarshalJSON(data []byte) e... type BetaMessageBatchNewParams (line 511) | type BetaMessageBatchNewParams struct method MarshalJSON (line 520) | func (r BetaMessageBatchNewParams) MarshalJSON() (data []byte, err err... method UnmarshalJSON (line 524) | func (r *BetaMessageBatchNewParams) UnmarshalJSON(data []byte) error { type BetaMessageBatchNewParamsRequest (line 529) | type BetaMessageBatchNewParamsRequest struct method MarshalJSON (line 543) | func (r BetaMessageBatchNewParamsRequest) MarshalJSON() (data []byte, ... method UnmarshalJSON (line 547) | func (r *BetaMessageBatchNewParamsRequest) UnmarshalJSON(data []byte) ... type BetaMessageBatchNewParamsRequestParams (line 557) | type BetaMessageBatchNewParamsRequestParams struct method MarshalJSON (line 825) | func (r BetaMessageBatchNewParamsRequestParams) MarshalJSON() (data []... method UnmarshalJSON (line 829) | func (r *BetaMessageBatchNewParamsRequestParams) UnmarshalJSON(data []... function init (line 833) | func init() { type BetaMessageBatchNewParamsRequestParamsContainerUnion (line 845) | type BetaMessageBatchNewParamsRequestParamsContainerUnion struct method MarshalJSON (line 851) | func (u BetaMessageBatchNewParamsRequestParamsContainerUnion) MarshalJ... method UnmarshalJSON (line 854) | func (u *BetaMessageBatchNewParamsRequestParamsContainerUnion) Unmarsh... method asAny (line 858) | func (u *BetaMessageBatchNewParamsRequestParamsContainerUnion) asAny()... type BetaMessageBatchGetParams (line 867) | type BetaMessageBatchGetParams struct type BetaMessageBatchListParams (line 873) | type BetaMessageBatchListParams struct method URLQuery (line 891) | func (r BetaMessageBatchListParams) URLQuery() (v url.Values, err erro... type BetaMessageBatchDeleteParams (line 898) | type BetaMessageBatchDeleteParams struct type BetaMessageBatchCancelParams (line 904) | type BetaMessageBatchCancelParams struct type BetaMessageBatchResultsParams (line 910) | type BetaMessageBatchResultsParams struct FILE: betamessagebatch_test.go function TestBetaMessageBatchNewWithOptionalParams (line 16) | func TestBetaMessageBatchNewWithOptionalParams(t *testing.T) { function TestBetaMessageBatchGetWithOptionalParams (line 183) | func TestBetaMessageBatchGetWithOptionalParams(t *testing.T) { function TestBetaMessageBatchListWithOptionalParams (line 211) | func TestBetaMessageBatchListWithOptionalParams(t *testing.T) { function TestBetaMessageBatchDeleteWithOptionalParams (line 238) | func TestBetaMessageBatchDeleteWithOptionalParams(t *testing.T) { function TestBetaMessageBatchCancelWithOptionalParams (line 266) | func TestBetaMessageBatchCancelWithOptionalParams(t *testing.T) { FILE: betamessageutil.go method Accumulate (line 20) | func (acc *BetaMessage) Accumulate(event BetaRawMessageStreamEventUnion)... method ToParam (line 97) | func (r BetaContentBlockUnion) ToParam() BetaContentBlockParamUnion { method toParamUnion (line 101) | func (variant BetaTextBlock) toParamUnion() BetaContentBlockParamUnion { method toParamUnion (line 106) | func (variant BetaToolUseBlock) toParamUnion() BetaContentBlockParamUnion { method toParamUnion (line 111) | func (variant BetaThinkingBlock) toParamUnion() BetaContentBlockParamUni... method toParamUnion (line 116) | func (variant BetaRedactedThinkingBlock) toParamUnion() BetaContentBlock... method toParamUnion (line 121) | func (variant BetaWebSearchToolResultBlock) toParamUnion() BetaContentBl... method toParamUnion (line 126) | func (variant BetaBashCodeExecutionToolResultBlock) toParamUnion() BetaC... method toParamUnion (line 131) | func (variant BetaCodeExecutionToolResultBlock) toParamUnion() BetaConte... method toParamUnion (line 136) | func (variant BetaContainerUploadBlock) toParamUnion() BetaContentBlockP... method toParamUnion (line 141) | func (variant BetaMCPToolResultBlock) toParamUnion() BetaContentBlockPar... method toParamUnion (line 146) | func (variant BetaMCPToolUseBlock) toParamUnion() BetaContentBlockParamU... method toParamUnion (line 151) | func (variant BetaServerToolUseBlock) toParamUnion() BetaContentBlockPar... method toParamUnion (line 156) | func (variant BetaTextEditorCodeExecutionToolResultBlock) toParamUnion()... method toParamUnion (line 161) | func (variant BetaWebFetchToolResultBlock) toParamUnion() BetaContentBlo... method toParamUnion (line 166) | func (variant BetaToolSearchToolResultBlock) toParamUnion() BetaContentB... method toParamUnion (line 171) | func (variant BetaCompactionBlock) toParamUnion() BetaContentBlockParamU... method ToParam (line 176) | func (r BetaMessage) ToParam() BetaMessageParam { method ToParam (line 187) | func (r BetaRedactedThinkingBlock) ToParam() BetaRedactedThinkingBlockPa... method ToParam (line 194) | func (r BetaTextBlock) ToParam() BetaTextBlockParam { method toParamUnion (line 210) | func (r BetaCitationCharLocation) toParamUnion() BetaTextCitationParamUn... method toParamUnion (line 221) | func (citationVariant BetaCitationPageLocation) toParamUnion() BetaTextC... method toParamUnion (line 231) | func (citationVariant BetaCitationContentBlockLocation) toParamUnion() B... method toParamUnion (line 242) | func (citationVariant BetaCitationsWebSearchResultLocation) toParamUnion... method toParamUnion (line 250) | func (citationVariant BetaCitationSearchResultLocation) toParamUnion() B... method ToParam (line 261) | func (r BetaThinkingBlock) ToParam() BetaThinkingBlockParam { method ToParam (line 269) | func (r BetaToolUseBlock) ToParam() BetaToolUseBlockParam { method ToParam (line 278) | func (r BetaWebSearchResultBlock) ToParam() BetaWebSearchResultBlockParam { method ToParam (line 288) | func (r BetaWebSearchToolResultBlock) ToParam() BetaWebSearchToolResultB... method ToParam (line 306) | func (r BetaWebFetchToolResultBlock) ToParam() BetaWebFetchToolResultBlo... method ToParam (line 313) | func (r BetaMCPToolUseBlock) ToParam() BetaMCPToolUseBlockParam { method ToParam (line 323) | func (r BetaContainerUploadBlock) ToParam() BetaContainerUploadBlockParam { method ToParam (line 330) | func (r BetaServerToolUseBlock) ToParam() BetaServerToolUseBlockParam { method ToParam (line 339) | func (r BetaTextEditorCodeExecutionToolResultBlock) ToParam() BetaTextEd... method ToParam (line 354) | func (r BetaMCPToolResultBlock) ToParam() BetaRequestMCPToolResultBlockP... method ToParam (line 368) | func (r BetaBashCodeExecutionToolResultBlock) ToParam() BetaBashCodeExec... method ToParam (line 392) | func (r BetaBashCodeExecutionOutputBlock) ToParam() BetaBashCodeExecutio... method ToParam (line 399) | func (r BetaCodeExecutionToolResultBlock) ToParam() BetaCodeExecutionToo... method ToParam (line 420) | func (r BetaCodeExecutionOutputBlock) ToParam() BetaCodeExecutionOutputB... method ToParam (line 427) | func (r BetaToolSearchToolResultBlock) ToParam() BetaToolSearchToolResul... method ToParam (line 447) | func (r BetaToolReferenceBlock) ToParam() BetaToolReferenceBlockParam { method ToParam (line 454) | func (r BetaCompactionBlock) ToParam() BetaCompactionBlockParam { FILE: betamodel.go type BetaModelService (line 30) | type BetaModelService struct method Get (line 47) | func (r *BetaModelService) Get(ctx context.Context, modelID string, qu... method List (line 65) | func (r *BetaModelService) List(ctx context.Context, params BetaModelL... method ListAutoPaging (line 89) | func (r *BetaModelService) ListAutoPaging(ctx context.Context, params ... function NewBetaModelService (line 37) | func NewBetaModelService(opts ...option.RequestOption) (r BetaModelServi... type BetaCapabilitySupport (line 94) | type BetaCapabilitySupport struct method RawJSON (line 106) | func (r BetaCapabilitySupport) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 107) | func (r *BetaCapabilitySupport) UnmarshalJSON(data []byte) error { type BetaContextManagementCapability (line 112) | type BetaContextManagementCapability struct method RawJSON (line 133) | func (r BetaContextManagementCapability) RawJSON() string { return r.J... method UnmarshalJSON (line 134) | func (r *BetaContextManagementCapability) UnmarshalJSON(data []byte) e... type BetaEffortCapability (line 139) | type BetaEffortCapability struct method RawJSON (line 163) | func (r BetaEffortCapability) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 164) | func (r *BetaEffortCapability) UnmarshalJSON(data []byte) error { type BetaModelCapabilities (line 169) | type BetaModelCapabilities struct method RawJSON (line 205) | func (r BetaModelCapabilities) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 206) | func (r *BetaModelCapabilities) UnmarshalJSON(data []byte) error { type BetaModelInfo (line 210) | type BetaModelInfo struct method RawJSON (line 243) | func (r BetaModelInfo) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 244) | func (r *BetaModelInfo) UnmarshalJSON(data []byte) error { type BetaThinkingCapability (line 249) | type BetaThinkingCapability struct method RawJSON (line 264) | func (r BetaThinkingCapability) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 265) | func (r *BetaThinkingCapability) UnmarshalJSON(data []byte) error { type BetaThinkingTypes (line 270) | type BetaThinkingTypes struct method RawJSON (line 285) | func (r BetaThinkingTypes) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 286) | func (r *BetaThinkingTypes) UnmarshalJSON(data []byte) error { type BetaModelGetParams (line 290) | type BetaModelGetParams struct type BetaModelListParams (line 296) | type BetaModelListParams struct method URLQuery (line 313) | func (r BetaModelListParams) URLQuery() (v url.Values, err error) { FILE: betamodel_test.go function TestBetaModelGetWithOptionalParams (line 16) | func TestBetaModelGetWithOptionalParams(t *testing.T) { function TestBetaModelListWithOptionalParams (line 44) | func TestBetaModelListWithOptionalParams(t *testing.T) { FILE: betaskill.go type BetaSkillService (line 32) | type BetaSkillService struct method New (line 48) | func (r *BetaSkillService) New(ctx context.Context, params BetaSkillNe... method Get (line 60) | func (r *BetaSkillService) Get(ctx context.Context, skillID string, qu... method List (line 76) | func (r *BetaSkillService) List(ctx context.Context, params BetaSkillL... method ListAutoPaging (line 97) | func (r *BetaSkillService) ListAutoPaging(ctx context.Context, params ... method Delete (line 102) | func (r *BetaSkillService) Delete(ctx context.Context, skillID string,... function NewBetaSkillService (line 40) | func NewBetaSkillService(opts ...option.RequestOption) (r BetaSkillServi... type BetaSkillNewResponse (line 117) | type BetaSkillNewResponse struct method RawJSON (line 161) | func (r BetaSkillNewResponse) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 162) | func (r *BetaSkillNewResponse) UnmarshalJSON(data []byte) error { type BetaSkillGetResponse (line 166) | type BetaSkillGetResponse struct method RawJSON (line 210) | func (r BetaSkillGetResponse) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 211) | func (r *BetaSkillGetResponse) UnmarshalJSON(data []byte) error { type BetaSkillListResponse (line 215) | type BetaSkillListResponse struct method RawJSON (line 259) | func (r BetaSkillListResponse) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 260) | func (r *BetaSkillListResponse) UnmarshalJSON(data []byte) error { type BetaSkillDeleteResponse (line 264) | type BetaSkillDeleteResponse struct method RawJSON (line 283) | func (r BetaSkillDeleteResponse) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 284) | func (r *BetaSkillDeleteResponse) UnmarshalJSON(data []byte) error { type BetaSkillNewParams (line 288) | type BetaSkillNewParams struct method MarshalMultipart (line 304) | func (r BetaSkillNewParams) MarshalMultipart() (data []byte, contentTy... type BetaSkillGetParams (line 322) | type BetaSkillGetParams struct type BetaSkillListParams (line 328) | type BetaSkillListParams struct method URLQuery (line 351) | func (r BetaSkillListParams) URLQuery() (v url.Values, err error) { type BetaSkillDeleteParams (line 358) | type BetaSkillDeleteParams struct FILE: betaskill_test.go function TestBetaSkillNewWithOptionalParams (line 18) | func TestBetaSkillNewWithOptionalParams(t *testing.T) { function TestBetaSkillGetWithOptionalParams (line 44) | func TestBetaSkillGetWithOptionalParams(t *testing.T) { function TestBetaSkillListWithOptionalParams (line 72) | func TestBetaSkillListWithOptionalParams(t *testing.T) { function TestBetaSkillDeleteWithOptionalParams (line 99) | func TestBetaSkillDeleteWithOptionalParams(t *testing.T) { FILE: betaskillversion.go type BetaSkillVersionService (line 32) | type BetaSkillVersionService struct method New (line 46) | func (r *BetaSkillVersionService) New(ctx context.Context, skillID str... method Get (line 62) | func (r *BetaSkillVersionService) Get(ctx context.Context, version str... method List (line 82) | func (r *BetaSkillVersionService) List(ctx context.Context, skillID st... method ListAutoPaging (line 107) | func (r *BetaSkillVersionService) ListAutoPaging(ctx context.Context, ... method Delete (line 112) | func (r *BetaSkillVersionService) Delete(ctx context.Context, version ... function NewBetaSkillVersionService (line 39) | func NewBetaSkillVersionService(opts ...option.RequestOption) (r BetaSki... type BetaSkillVersionNewResponse (line 131) | type BetaSkillVersionNewResponse struct method RawJSON (line 176) | func (r BetaSkillVersionNewResponse) RawJSON() string { return r.JSON.... method UnmarshalJSON (line 177) | func (r *BetaSkillVersionNewResponse) UnmarshalJSON(data []byte) error { type BetaSkillVersionGetResponse (line 181) | type BetaSkillVersionGetResponse struct method RawJSON (line 226) | func (r BetaSkillVersionGetResponse) RawJSON() string { return r.JSON.... method UnmarshalJSON (line 227) | func (r *BetaSkillVersionGetResponse) UnmarshalJSON(data []byte) error { type BetaSkillVersionListResponse (line 231) | type BetaSkillVersionListResponse struct method RawJSON (line 276) | func (r BetaSkillVersionListResponse) RawJSON() string { return r.JSON... method UnmarshalJSON (line 277) | func (r *BetaSkillVersionListResponse) UnmarshalJSON(data []byte) error { type BetaSkillVersionDeleteResponse (line 281) | type BetaSkillVersionDeleteResponse struct method RawJSON (line 300) | func (r BetaSkillVersionDeleteResponse) RawJSON() string { return r.JS... method UnmarshalJSON (line 301) | func (r *BetaSkillVersionDeleteResponse) UnmarshalJSON(data []byte) er... type BetaSkillVersionNewParams (line 305) | type BetaSkillVersionNewParams struct method MarshalMultipart (line 316) | func (r BetaSkillVersionNewParams) MarshalMultipart() (data []byte, co... type BetaSkillVersionGetParams (line 334) | type BetaSkillVersionGetParams struct type BetaSkillVersionListParams (line 344) | type BetaSkillVersionListParams struct method URLQuery (line 358) | func (r BetaSkillVersionListParams) URLQuery() (v url.Values, err erro... type BetaSkillVersionDeleteParams (line 365) | type BetaSkillVersionDeleteParams struct FILE: betaskillversion_test.go function TestBetaSkillVersionNewWithOptionalParams (line 18) | func TestBetaSkillVersionNewWithOptionalParams(t *testing.T) { function TestBetaSkillVersionGetWithOptionalParams (line 47) | func TestBetaSkillVersionGetWithOptionalParams(t *testing.T) { function TestBetaSkillVersionListWithOptionalParams (line 76) | func TestBetaSkillVersionListWithOptionalParams(t *testing.T) { function TestBetaSkillVersionDeleteWithOptionalParams (line 106) | func TestBetaSkillVersionDeleteWithOptionalParams(t *testing.T) { FILE: betatoolrunner.go type BetaTool (line 14) | type BetaTool interface type BetaToolRunnerParams (line 26) | type BetaToolRunnerParams struct type betaToolRunnerBase (line 34) | type betaToolRunnerBase struct method LastMessage (line 75) | func (b *betaToolRunnerBase) LastMessage() *BetaMessage { method AppendMessages (line 83) | func (b *betaToolRunnerBase) AppendMessages(messages ...BetaMessagePar... method Messages (line 89) | func (b *betaToolRunnerBase) Messages() []BetaMessageParam { method IterationCount (line 97) | func (b *betaToolRunnerBase) IterationCount() int { method IsCompleted (line 103) | func (b *betaToolRunnerBase) IsCompleted() bool { method Err (line 110) | func (b *betaToolRunnerBase) Err() error { method executeTools (line 119) | func (b *betaToolRunnerBase) executeTools(ctx context.Context, message... method executeToolUse (line 165) | func (b *betaToolRunnerBase) executeToolUse(ctx context.Context, toolU... function newBetaToolRunnerBase (line 47) | func newBetaToolRunnerBase(messageService *BetaMessageService, tools []B... function newBetaToolResultErrorBlockParam (line 160) | func newBetaToolResultErrorBlockParam(toolUseID string, errorText string... type BetaToolRunner (line 205) | type BetaToolRunner struct method NextMessage (line 226) | func (r *BetaToolRunner) NextMessage(ctx context.Context) (*BetaMessag... method RunToCompletion (line 273) | func (r *BetaToolRunner) RunToCompletion(ctx context.Context) (*BetaMe... method All (line 296) | func (r *BetaToolRunner) All(ctx context.Context) iter.Seq2[*BetaMessa... method NewToolRunner (line 213) | func (r *BetaMessageService) NewToolRunner(tools []BetaTool, params Beta... type BetaToolRunnerStreaming (line 322) | type BetaToolRunnerStreaming struct method NextStreaming (line 345) | func (r *BetaToolRunnerStreaming) NextStreaming(ctx context.Context) i... method AllStreaming (line 426) | func (r *BetaToolRunnerStreaming) AllStreaming(ctx context.Context) it... method NewToolRunnerStreaming (line 330) | func (r *BetaMessageService) NewToolRunnerStreaming(tools []BetaTool, pa... FILE: client.go type Client (line 21) | type Client struct method Execute (line 94) | func (r *Client) Execute(ctx context.Context, method string, path stri... method Get (line 101) | func (r *Client) Get(ctx context.Context, path string, params any, res... method Post (line 108) | func (r *Client) Post(ctx context.Context, path string, params any, re... method Put (line 114) | func (r *Client) Put(ctx context.Context, path string, params any, res... method Patch (line 121) | func (r *Client) Patch(ctx context.Context, path string, params any, r... method Delete (line 128) | func (r *Client) Delete(ctx context.Context, path string, params any, ... function DefaultClientOptions (line 32) | func DefaultClientOptions() []option.RequestOption { function NewClient (line 50) | func NewClient(opts ...option.RequestOption) (r Client) { function CalculateNonStreamingTimeout (line 134) | func CalculateNonStreamingTimeout(maxTokens int, model Model, opts []opt... FILE: client_test.go type closureTransport (line 19) | type closureTransport struct method RoundTrip (line 23) | func (t *closureTransport) RoundTrip(req *http.Request) (*http.Respons... function TestUserAgentHeader (line 27) | func TestUserAgentHeader(t *testing.T) { function TestRetryAfter (line 59) | func TestRetryAfter(t *testing.T) { function TestDeleteRetryCountHeader (line 104) | func TestDeleteRetryCountHeader(t *testing.T) { function TestOverwriteRetryCountHeader (line 145) | func TestOverwriteRetryCountHeader(t *testing.T) { function TestRetryAfterMs (line 186) | func TestRetryAfterMs(t *testing.T) { function TestContextCancel (line 224) | func TestContextCancel(t *testing.T) { function TestContextCancelDelay (line 255) | func TestContextCancelDelay(t *testing.T) { function TestContextDeadline (line 286) | func TestContextDeadline(t *testing.T) { function TestContextDeadlineStreaming (line 334) | func TestContextDeadlineStreaming(t *testing.T) { function TestContextDeadlineStreamingWithRequestTimeout (line 393) | func TestContextDeadlineStreamingWithRequestTimeout(t *testing.T) { type readerFunc (line 453) | type readerFunc method Read (line 455) | func (f readerFunc) Read(p []byte) (int, error) { return f(p) } method Close (line 456) | func (f readerFunc) Close() error { return nil } FILE: completion.go type CompletionService (line 26) | type CompletionService struct method New (line 49) | func (r *CompletionService) New(ctx context.Context, params Completion... method NewStreaming (line 69) | func (r *CompletionService) NewStreaming(ctx context.Context, params C... function NewCompletionService (line 33) | func NewCompletionService(opts ...option.RequestOption) (r CompletionSer... type Completion (line 84) | type Completion struct method RawJSON (line 120) | func (r Completion) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 121) | func (r *Completion) UnmarshalJSON(data []byte) error { type CompletionNewParams (line 125) | type CompletionNewParams struct method MarshalJSON (line 188) | func (r CompletionNewParams) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 192) | func (r *CompletionNewParams) UnmarshalJSON(data []byte) error { FILE: completion_test.go function TestCompletionNewWithOptionalParams (line 16) | func TestCompletionNewWithOptionalParams(t *testing.T) { FILE: examples/bedrock-bearer-token/main.go function main (line 10) | func main() { FILE: examples/bedrock-streaming/main.go function main (line 10) | func main() { FILE: examples/bedrock/main.go function main (line 10) | func main() { FILE: examples/file-upload/main.go function main (line 11) | func main() { FILE: examples/message-mcp-streaming/main.go function main (line 12) | func main() { FILE: examples/message-streaming/main.go function main (line 9) | func main() { FILE: examples/message/main.go function main (line 9) | func main() { FILE: examples/multimodal/main.go function main (line 13) | func main() { FILE: examples/structured-outputs/main.go type WeatherQuery (line 13) | type WeatherQuery struct function main (line 21) | func main() { function generateJSONSchema (line 59) | func generateJSONSchema(t any) map[string]any { function printJSON (line 77) | func printJSON(v any) { FILE: examples/tool-runner-streaming/main.go type WeatherRequest (line 12) | type WeatherRequest struct function colorWith (line 18) | func colorWith(code string, s string) string { return fmt.Sprintf("\033[... function colorUser (line 19) | func colorUser(s string) string { return colorWith("36", s) } function colorAssistant (line 20) | func colorAssistant(s string) string { return colorWith("32", s) } function colorTool (line 21) | func colorTool(s string) string { return colorWith("33", s) } function colorThinking (line 22) | func colorThinking(s string) string { return colorWith("90", s) } function getWeather (line 24) | func getWeather(ctx context.Context, req WeatherRequest) (anthropic.Beta... function main (line 39) | func main() { FILE: examples/tool-runner/main.go type CalculatorInput (line 13) | type CalculatorInput struct function calculate (line 19) | func calculate(ctx context.Context, calc CalculatorInput) (anthropic.Bet... function main (line 43) | func main() { FILE: examples/tools-streaming-jsonschema/main.go function main (line 12) | func main() { type GetCoordinatesInput (line 136) | type GetCoordinatesInput struct type GetCoordinateResponse (line 142) | type GetCoordinateResponse struct function GetCoordinates (line 147) | func GetCoordinates(location string) GetCoordinateResponse { type GetTemperatureUnitInput (line 156) | type GetTemperatureUnitInput struct function GetTemperatureUnit (line 162) | func GetTemperatureUnit(country string) string { type GetWeatherInput (line 168) | type GetWeatherInput struct type GetWeatherResponse (line 176) | type GetWeatherResponse struct function GetWeather (line 181) | func GetWeather(lat, long float64, unit string) GetWeatherResponse { function GenerateSchema (line 188) | func GenerateSchema[T any]() anthropic.ToolInputSchemaParam { function color (line 202) | func color(s string) string { FILE: examples/tools-streaming/main.go function main (line 11) | func main() { type CoordinateResponse (line 171) | type CoordinateResponse struct function GetCoordinates (line 176) | func GetCoordinates(location string) CoordinateResponse { function GetTemperatureUnit (line 183) | func GetTemperatureUnit(country string) string { type WeatherResponse (line 187) | type WeatherResponse struct function GetWeather (line 192) | func GetWeather(lat, long float64, unit string) WeatherResponse { function color (line 199) | func color(s string) string { FILE: examples/tools/main.go function main (line 11) | func main() { type CoordinateResponse (line 162) | type CoordinateResponse struct function GetCoordinates (line 167) | func GetCoordinates(location string) CoordinateResponse { function GetTemperatureUnit (line 174) | func GetTemperatureUnit(country string) string { type WeatherResponse (line 178) | type WeatherResponse struct function GetWeather (line 183) | func GetWeather(lat, long float64, unit string) WeatherResponse { function color (line 190) | func color(s string) string { FILE: examples/vertex-streaming/main.go function main (line 9) | func main() { FILE: examples/vertex/main.go function main (line 10) | func main() { FILE: field.go function String (line 9) | func String(s string) param.Opt[string] { return param.NewOpt(s) } function Int (line 10) | func Int(i int64) param.Opt[int64] { return param.NewOpt(i) } function Bool (line 11) | func Bool(b bool) param.Opt[bool] { return param.NewOpt(b) } function Float (line 12) | func Float(f float64) param.Opt[float64] { return param.NewOpt(f) } function Time (line 13) | func Time(t time.Time) param.Opt[time.Time] { return param.NewOpt(t) } function Opt (line 15) | func Opt[T comparable](v T) param.Opt[T] { return param.NewOpt(v) } function Ptr (line 16) | func Ptr[T any](v T) *T { return &v } function IntPtr (line 18) | func IntPtr(v int64) *int64 { return &v } function BoolPtr (line 19) | func BoolPtr(v bool) *bool { return &v } function FloatPtr (line 20) | func FloatPtr(v float64) *float64 { return &v } function StringPtr (line 21) | func StringPtr(v string) *string { return &v } function TimePtr (line 22) | func TimePtr(v time.Time) *time.Time { return &v } function File (line 24) | func File(rdr io.Reader, filename string, contentType string) file { type file (line 28) | type file struct method Filename (line 34) | func (f file) Filename() string { method ContentType (line 43) | func (f file) ContentType() string { FILE: internal/apierror/apierror.go type Error (line 17) | type Error struct method RawJSON (line 30) | func (r Error) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 31) | func (r *Error) UnmarshalJSON(data []byte) error { method Error (line 35) | func (r *Error) Error() string { method DumpRequest (line 46) | func (r *Error) DumpRequest(body bool) []byte { method DumpResponse (line 54) | func (r *Error) DumpResponse(body bool) []byte { FILE: internal/apiform/encoder.go function Marshal (line 21) | func Marshal(value any, writer *multipart.Writer) error { function MarshalRoot (line 29) | func MarshalRoot(value any, writer *multipart.Writer) error { function MarshalWithSettings (line 38) | func MarshalWithSettings(value any, writer *multipart.Writer, arrayForma... type encoder (line 46) | type encoder struct method marshal (line 67) | func (e *encoder) marshal(value any, writer *multipart.Writer) error { method typeEncoder (line 77) | func (e *encoder) typeEncoder(t reflect.Type) encoderFunc { method newTypeEncoder (line 113) | func (e *encoder) newTypeEncoder(t reflect.Type) encoderFunc { method newPrimitiveTypeEncoder (line 145) | func (e *encoder) newPrimitiveTypeEncoder(t reflect.Type) encoderFunc { method newArrayTypeEncoder (line 183) | func (e *encoder) newArrayTypeEncoder(t reflect.Type) encoderFunc { method newStructTypeEncoder (line 200) | func (e *encoder) newStructTypeEncoder(t reflect.Type) encoderFunc { method newStructUnionTypeEncoder (line 305) | func (e *encoder) newStructUnionTypeEncoder(t reflect.Type) encoderFunc { method newTimeTypeEncoder (line 329) | func (e *encoder) newTimeTypeEncoder() encoderFunc { method newInterfaceEncoder (line 336) | func (e encoder) newInterfaceEncoder() encoderFunc { method newReaderTypeEncoder (line 352) | func (e *encoder) newReaderTypeEncoder() encoderFunc { method arrayKeyEncoder (line 382) | func (e encoder) arrayKeyEncoder() func(string, int) string { method objKeyEncoder (line 407) | func (e encoder) objKeyEncoder(parent string) func(string) string { method encodeMapEntries (line 421) | func (e *encoder) encodeMapEntries(key string, v reflect.Value, writer... method newMapEncoder (line 455) | func (e *encoder) newMapEncoder(_ reflect.Type) encoderFunc { type encoderFunc (line 52) | type encoderFunc type encoderField (line 54) | type encoderField struct type encoderEntry (line 60) | type encoderEntry struct function escapeQuotes (line 348) | func escapeQuotes(s string) string { function WriteExtras (line 461) | func WriteExtras(writer *multipart.Writer, extras map[string]any) (err e... FILE: internal/apiform/form.go type Marshaler (line 3) | type Marshaler interface FILE: internal/apiform/form_test.go function P (line 13) | func P[T any](v T) *T { return &v } type Primitives (line 15) | type Primitives struct type int_ (line 26) | type int_ type PrimitivesBrackets (line 27) | type PrimitivesBrackets struct type PrimitivePointers (line 31) | type PrimitivePointers struct type Slices (line 40) | type Slices struct type DateTime (line 44) | type DateTime struct type AdditionalProperties (line 49) | type AdditionalProperties struct type TypedAdditionalProperties (line 54) | type TypedAdditionalProperties struct type EmbeddedStructs (line 59) | type EmbeddedStructs struct type Recursive (line 65) | type Recursive struct type UnknownStruct (line 70) | type UnknownStruct struct type UnionStruct (line 74) | type UnionStruct struct type Union (line 78) | type Union interface type UnionInteger (line 82) | type UnionInteger method union (line 84) | func (UnionInteger) union() {} type UnionStructA (line 86) | type UnionStructA struct method union (line 92) | func (UnionStructA) union() {} type UnionStructB (line 94) | type UnionStructB struct method union (line 99) | func (UnionStructB) union() {} type UnionTime (line 101) | type UnionTime method union (line 103) | func (UnionTime) union() {} type ReaderStruct (line 105) | type ReaderStruct struct type NamedEnum (line 109) | type NamedEnum constant NamedEnumFoo (line 111) | NamedEnumFoo NamedEnum = "foo" type StructUnionWrapper (line 113) | type StructUnionWrapper struct type StructUnion (line 117) | type StructUnion struct type MultipartMarshalerParent (line 126) | type MultipartMarshalerParent struct type MultipartMarshalerMiddleNext (line 130) | type MultipartMarshalerMiddleNext struct type MultipartMarshalerMiddle (line 134) | type MultipartMarshalerMiddle struct function TestEncode (line 583) | func TestEncode(t *testing.T) { FILE: internal/apiform/richparam.go method newRichFieldTypeEncoder (line 9) | func (e *encoder) newRichFieldTypeEncoder(t reflect.Type) encoderFunc { FILE: internal/apiform/tag.go constant apiStructTag (line 8) | apiStructTag = "api" constant jsonStructTag (line 9) | jsonStructTag = "json" constant formStructTag (line 10) | formStructTag = "form" constant formatStructTag (line 11) | formatStructTag = "format" type parsedStructTag (line 13) | type parsedStructTag struct function parseFormStructTag (line 21) | func parseFormStructTag(field reflect.StructField) (tag parsedStructTag,... function parseApiStructTag (line 51) | func parseApiStructTag(field reflect.StructField, tag *parsedStructTag) { function parseFormatStructTag (line 69) | func parseFormatStructTag(field reflect.StructField) (format string, ok ... FILE: internal/apijson/decodeparam_test.go function TestOptionalDecoders (line 12) | func TestOptionalDecoders(t *testing.T) { type BasicObject (line 52) | type BasicObject struct method UnmarshalJSON (line 66) | func (o *BasicObject) UnmarshalJSON(data []byte) error { return apijso... function TestBasicObjectWithNull (line 68) | func TestBasicObjectWithNull(t *testing.T) { function TestBasicObject (line 88) | func TestBasicObject(t *testing.T) { type ComplexObject (line 112) | type ComplexObject struct method UnmarshalJSON (line 118) | func (o *ComplexObject) UnmarshalJSON(data []byte) error { return apij... function init (line 120) | func init() { function TestComplexObject (line 124) | func TestComplexObject(t *testing.T) { type MemberA (line 154) | type MemberA struct type MemberB (line 159) | type MemberB struct type MemberC (line 164) | type MemberC struct type MemberD (line 170) | type MemberD struct type MemberE (line 175) | type MemberE struct type MemberF (line 180) | type MemberF struct type MemberG (line 187) | type MemberG struct function init (line 194) | func init() { type UnionStruct (line 199) | type UnionStruct struct method UnmarshalJSON (line 212) | func (union *UnionStruct) UnmarshalJSON(data []byte) error { function TestUnionStruct (line 216) | func TestUnionStruct(t *testing.T) { type ConstantA (line 312) | type ConstantA method Default (line 316) | func (c ConstantA) Default() string { return "A" } type ConstantB (line 313) | type ConstantB method Default (line 317) | func (c ConstantB) Default() string { return "B" } type ConstantC (line 314) | type ConstantC method Default (line 318) | func (c ConstantC) Default() string { return "C" } type DiscVariantA (line 320) | type DiscVariantA struct type DiscVariantB (line 326) | type DiscVariantB struct type DiscVariantC (line 332) | type DiscVariantC struct type DiscriminatedUnion (line 338) | type DiscriminatedUnion struct method UnmarshalJSON (line 384) | func (d *DiscriminatedUnion) UnmarshalJSON(data []byte) error { function init (line 346) | func init() { type FooVariant (line 354) | type FooVariant struct type BarVariant (line 359) | type BarVariant struct type MultiDiscriminatorUnion (line 364) | type MultiDiscriminatorUnion struct method UnmarshalJSON (line 380) | func (m *MultiDiscriminatorUnion) UnmarshalJSON(data []byte) error { function init (line 371) | func init() { function TestDiscriminatedUnion (line 388) | func TestDiscriminatedUnion(t *testing.T) { function TestMultiDiscriminatorUnion (line 442) | func TestMultiDiscriminatorUnion(t *testing.T) { FILE: internal/apijson/decoder.go function Unmarshal (line 26) | func Unmarshal(raw []byte, to any) error { function UnmarshalRoot (line 34) | func UnmarshalRoot(raw []byte, to any) error { type decoderBuilder (line 40) | type decoderBuilder struct method unmarshal (line 88) | func (d *decoderBuilder) unmarshal(raw []byte, to any) error { method unmarshalWithExactness (line 98) | func (d *decoderBuilder) unmarshalWithExactness(raw []byte, to any) (e... method typeDecoder (line 109) | func (d *decoderBuilder) typeDecoder(t reflect.Type) decoderFunc { method validatedTypeDecoder (line 146) | func (d *decoderBuilder) validatedTypeDecoder(t reflect.Type, entry *v... method newTypeDecoder (line 173) | func (d *decoderBuilder) newTypeDecoder(t reflect.Type) decoderFunc { method newDefaultTypeDecoder (line 190) | func (d *decoderBuilder) newDefaultTypeDecoder(t reflect.Type) decoder... method newMapDecoder (line 261) | func (d *decoderBuilder) newMapDecoder(t reflect.Type) decoderFunc { method newArrayTypeDecoder (line 307) | func (d *decoderBuilder) newArrayTypeDecoder(t reflect.Type) decoderFu... method newStructTypeDecoder (line 330) | func (d *decoderBuilder) newStructTypeDecoder(t reflect.Type) decoderF... method newPrimitiveTypeDecoder (line 530) | func (d *decoderBuilder) newPrimitiveTypeDecoder(t reflect.Type) decod... method newOptTypeDecoder (line 627) | func (d *decoderBuilder) newOptTypeDecoder(t reflect.Type) decoderFunc { method newTimeTypeDecoder (line 638) | func (d *decoderBuilder) newTimeTypeDecoder(t reflect.Type) decoderFunc { type decoderState (line 50) | type decoderState struct type exactness (line 61) | type exactness constant loose (line 66) | loose exactness = iota constant extras (line 68) | extras constant exact (line 70) | exact type decoderFunc (line 73) | type decoderFunc type decoderField (line 75) | type decoderField struct type decoderEntry (line 82) | type decoderEntry struct function indirectUnmarshalerDecoder (line 162) | func indirectUnmarshalerDecoder(n gjson.Result, v reflect.Value, state *... function unmarshalerDecoder (line 166) | func unmarshalerDecoder(n gjson.Result, v reflect.Value, state *decoderS... function setUnexportedField (line 673) | func setUnexportedField(field reflect.Value, value any) { function guardStrict (line 677) | func guardStrict(state *decoderState, cond bool) bool { function canParseAsNumber (line 690) | func canParseAsNumber(str string) bool { function guardUnknown (line 697) | func guardUnknown(state *decoderState, v reflect.Value) bool { FILE: internal/apijson/decoderesp_test.go type StructWithNullExtraField (line 10) | type StructWithNullExtraField struct method UnmarshalJSON (line 19) | func (r *StructWithNullExtraField) UnmarshalJSON(data []byte) error { function TestDecodeWithNullExtraField (line 23) | func TestDecodeWithNullExtraField(t *testing.T) { FILE: internal/apijson/encoder.go function Marshal (line 23) | func Marshal(value any) ([]byte, error) { function MarshalRoot (line 28) | func MarshalRoot(value any) ([]byte, error) { type encoder (line 33) | type encoder struct method marshal (line 52) | func (e *encoder) marshal(value any) ([]byte, error) { method typeEncoder (line 62) | func (e *encoder) typeEncoder(t reflect.Type) encoderFunc { method newTypeEncoder (line 105) | func (e *encoder) newTypeEncoder(t reflect.Type) encoderFunc { method newPrimitiveTypeEncoder (line 142) | func (e *encoder) newPrimitiveTypeEncoder(t reflect.Type) encoderFunc { method newArrayTypeEncoder (line 180) | func (e *encoder) newArrayTypeEncoder(t reflect.Type) encoderFunc { method newStructTypeEncoder (line 206) | func (e *encoder) newStructTypeEncoder(t reflect.Type) encoderFunc { method newTimeTypeEncoder (line 293) | func (e *encoder) newTimeTypeEncoder() encoderFunc { method newInterfaceEncoder (line 300) | func (e encoder) newInterfaceEncoder() encoderFunc { method encodeMapEntries (line 312) | func (e *encoder) encodeMapEntries(json []byte, v reflect.Value) ([]by... method newMapEncoder (line 361) | func (e *encoder) newMapEncoder(_ reflect.Type) encoderFunc { type encoderFunc (line 38) | type encoderFunc type encoderField (line 40) | type encoderField struct type encoderEntry (line 46) | type encoderEntry struct function marshalerEncoder (line 97) | func marshalerEncoder(v reflect.Value) ([]byte, error) { function indirectMarshalerEncoder (line 101) | func indirectMarshalerEncoder(v reflect.Value) ([]byte, error) { FILE: internal/apijson/enum.go type validationEntry (line 15) | type validationEntry struct function RegisterFieldValidator (line 27) | func RegisterFieldValidator[T any, V string | bool | int | float64](fiel... method validateString (line 86) | func (state *decoderState) validateString(v reflect.Value) { method validateInt (line 95) | func (state *decoderState) validateInt(v reflect.Value) { method validateBool (line 104) | func (state *decoderState) validateBool(v reflect.Value) { method validateOptKind (line 116) | func (state *decoderState) validateOptKind(node gjson.Result, t reflect.... FILE: internal/apijson/enum_test.go type EnumStruct (line 8) | type EnumStruct struct method UnmarshalJSON (line 19) | func (o *EnumStruct) UnmarshalJSON(data []byte) error { function init (line 23) | func init() { type NamedEnumType (line 30) | type NamedEnumType method IsKnown (line 38) | func (e NamedEnumType) IsKnown() bool { constant NamedEnumOne (line 33) | NamedEnumOne NamedEnumType = "one" constant NamedEnumTwo (line 34) | NamedEnumTwo NamedEnumType = "two" constant NamedEnumThree (line 35) | NamedEnumThree NamedEnumType = "three" function TestEnumStructStringValidator (line 42) | func TestEnumStructStringValidator(t *testing.T) { FILE: internal/apijson/field.go type status (line 3) | type status constant missing (line 6) | missing status = iota constant null (line 7) | null constant invalid (line 8) | invalid constant valid (line 9) | valid type Field (line 12) | type Field struct method IsNull (line 20) | func (j Field) IsNull() bool { return j.status <= null } method IsMissing (line 21) | func (j Field) IsMissing() bool { return j.status == missing } method IsInvalid (line 22) | func (j Field) IsInvalid() bool { return j.status == invalid } method Raw (line 23) | func (j Field) Raw() string { return j.raw } FILE: internal/apijson/json_test.go function P (line 12) | func P[T any](v T) *T { return &v } type Primitives (line 14) | type Primitives struct type PrimitivePointers (line 23) | type PrimitivePointers struct type Slices (line 32) | type Slices struct type DateTime (line 36) | type DateTime struct type AdditionalProperties (line 41) | type AdditionalProperties struct type TypedAdditionalProperties (line 46) | type TypedAdditionalProperties struct type EmbeddedStruct (line 51) | type EmbeddedStruct struct type EmbeddedStructJSON (line 58) | type EmbeddedStructJSON struct type EmbeddedStructs (line 65) | type EmbeddedStructs struct type EmbeddedStructsJSON (line 73) | type EmbeddedStructsJSON struct type Recursive (line 79) | type Recursive struct type JSONFieldStruct (line 84) | type JSONFieldStruct struct type JSONFieldStructJSON (line 93) | type JSONFieldStructJSON struct type UnknownStruct (line 102) | type UnknownStruct struct type UnionStruct (line 106) | type UnionStruct struct type Union (line 110) | type Union interface type Inline (line 114) | type Inline struct type InlineArray (line 119) | type InlineArray struct type InlineJSON (line 124) | type InlineJSON struct type UnionInteger (line 129) | type UnionInteger method union (line 131) | func (UnionInteger) union() {} type UnionStructA (line 133) | type UnionStructA struct method union (line 139) | func (UnionStructA) union() {} type UnionStructB (line 141) | type UnionStructB struct method union (line 146) | func (UnionStructB) union() {} type UnionTime (line 148) | type UnionTime method union (line 150) | func (UnionTime) union() {} function init (line 152) | func init() { type ComplexUnionStruct (line 175) | type ComplexUnionStruct struct type ComplexUnion (line 179) | type ComplexUnion interface type ComplexUnionA (line 183) | type ComplexUnionA struct method complexUnion (line 188) | func (ComplexUnionA) complexUnion() {} type ComplexUnionB (line 190) | type ComplexUnionB struct method complexUnion (line 195) | func (ComplexUnionB) complexUnion() {} type ComplexUnionC (line 197) | type ComplexUnionC struct method complexUnion (line 201) | func (ComplexUnionC) complexUnion() {} type ComplexUnionTypeA (line 203) | type ComplexUnionTypeA struct method complexUnion (line 208) | func (ComplexUnionTypeA) complexUnion() {} type TypeA (line 210) | type TypeA method IsKnown (line 212) | func (t TypeA) IsKnown() bool { type ComplexUnionTypeB (line 216) | type ComplexUnionTypeB struct method complexUnion (line 237) | func (ComplexUnionTypeB) complexUnion() {} type TypeB (line 221) | type TypeB method IsKnown (line 223) | func (t TypeB) IsKnown() bool { type UnmarshalStruct (line 227) | type UnmarshalStruct struct method UnmarshalJSON (line 232) | func (r *UnmarshalStruct) UnmarshalJSON(json []byte) error { function init (line 239) | func init() { type MarshallingUnionStruct (line 264) | type MarshallingUnionStruct struct method UnmarshalJSON (line 268) | func (r *MarshallingUnionStruct) UnmarshalJSON(data []byte) (err error) { method MarshalJSON (line 274) | func (r MarshallingUnionStruct) MarshalJSON() (data []byte, err error) { type MarshallingUnion (line 278) | type MarshallingUnion interface type MarshallingUnionA (line 282) | type MarshallingUnionA struct method marshallingUnion (line 286) | func (MarshallingUnionA) marshallingUnion() {} method UnmarshalJSON (line 288) | func (r *MarshallingUnionA) UnmarshalJSON(data []byte) (err error) { type MarshallingUnionB (line 292) | type MarshallingUnionB struct method marshallingUnion (line 296) | func (MarshallingUnionB) marshallingUnion() {} method UnmarshalJSON (line 298) | func (r *MarshallingUnionB) UnmarshalJSON(data []byte) (err error) { function init (line 302) | func init() { function TestDecode (line 587) | func TestDecode(t *testing.T) { function TestEncode (line 601) | func TestEncode(t *testing.T) { FILE: internal/apijson/port.go function Port (line 9) | func Port(from any, to any) error { FILE: internal/apijson/port_test.go type Metadata (line 8) | type Metadata struct type Card (line 13) | type Card struct type cardJSON (line 24) | type cardJSON struct method RawJSON (line 35) | func (r cardJSON) RawJSON() string { return r.raw } type CardProcessor (line 37) | type CardProcessor type CardVisa (line 40) | type CardVisa struct type cardVisaJSON (line 50) | type cardVisaJSON struct method RawJSON (line 60) | func (r cardVisaJSON) RawJSON() string { return r.raw } type CardVisaProcessor (line 62) | type CardVisaProcessor type CardVisaData (line 64) | type CardVisaData struct type CardMastercard (line 69) | type CardMastercard struct type cardMastercardJSON (line 79) | type cardMastercardJSON struct method RawJSON (line 89) | func (r cardMastercardJSON) RawJSON() string { return r.raw } type CardMastercardProcessor (line 91) | type CardMastercardProcessor type CardMastercardData (line 93) | type CardMastercardData struct type CommonFields (line 97) | type CommonFields struct type commonFieldsJSON (line 104) | type commonFieldsJSON struct type CardEmbedded (line 111) | type CardEmbedded struct type cardEmbeddedJSON (line 120) | type cardEmbeddedJSON struct method RawJSON (line 128) | func (r cardEmbeddedJSON) RawJSON() string { return r.raw } function TestPort (line 242) | func TestPort(t *testing.T) { FILE: internal/apijson/registry.go type UnionVariant (line 9) | type UnionVariant struct type unionEntry (line 19) | type unionEntry struct function Discriminator (line 24) | func Discriminator[T any](value any) UnionVariant { function RegisterUnion (line 33) | func RegisterUnion[T any](discriminator string, variants ...UnionVariant) { type UnionUnmarshaler (line 46) | type UnionUnmarshaler struct method UnmarshalJSON (line 50) | func (c *UnionUnmarshaler[T]) UnmarshalJSON(buf []byte) error { type CustomDecoderFunc (line 54) | type CustomDecoderFunc function RegisterCustomDecoder (line 56) | func RegisterCustomDecoder[T any](decoder CustomDecoderFunc) { FILE: internal/apijson/subfield.go function getSubField (line 8) | func getSubField(root reflect.Value, index []int, name string) reflect.V... function setMetadataSubField (line 24) | func setMetadataSubField(root reflect.Value, index []int, name string, m... function setMetadataExtraFields (line 37) | func setMetadataExtraFields(root reflect.Value, index []int, name string... method toRespField (line 57) | func (f Field) toRespField() respjson.Field { FILE: internal/apijson/tag.go constant apiStructTag (line 8) | apiStructTag = "api" constant jsonStructTag (line 9) | jsonStructTag = "json" constant formatStructTag (line 10) | formatStructTag = "format" type parsedStructTag (line 12) | type parsedStructTag struct function parseJSONStructTag (line 20) | func parseJSONStructTag(field reflect.StructField) (tag parsedStructTag,... function parseApiStructTag (line 48) | func parseApiStructTag(field reflect.StructField, tag *parsedStructTag) { function parseFormatStructTag (line 66) | func parseFormatStructTag(field reflect.StructField) (format string, ok ... FILE: internal/apijson/union.go function isStructUnion (line 13) | func isStructUnion(t reflect.Type) bool { function RegisterDiscriminatedUnion (line 25) | func RegisterDiscriminatedUnion[T any](key string, mappings map[string]r... method newStructUnionDecoder (line 40) | func (d *decoderBuilder) newStructUnionDecoder(t reflect.Type) decoderFu... method newUnionDecoder (line 146) | func (d *decoderBuilder) newUnionDecoder(t reflect.Type) decoderFunc { FILE: internal/apiquery/encoder.go type encoder (line 17) | type encoder struct method typeEncoder (line 43) | func (e *encoder) typeEncoder(t reflect.Type) encoderFunc { method newTypeEncoder (line 87) | func (e *encoder) newTypeEncoder(t reflect.Type) encoderFunc { method newStructTypeEncoder (line 125) | func (e *encoder) newStructTypeEncoder(t reflect.Type) encoderFunc { method newStructUnionTypeEncoder (line 214) | func (e *encoder) newStructUnionTypeEncoder(t reflect.Type) encoderFunc { method newMapEncoder (line 238) | func (e *encoder) newMapEncoder(t reflect.Type) encoderFunc { method renderKeyPath (line 263) | func (e *encoder) renderKeyPath(key string, subkey string) string { method newArrayTypeEncoder (line 273) | func (e *encoder) newArrayTypeEncoder(t reflect.Type) encoderFunc { method newPrimitiveTypeEncoder (line 325) | func (e *encoder) newPrimitiveTypeEncoder(t reflect.Type) encoderFunc { method newTimeTypeEncoder (line 375) | func (e *encoder) newTimeTypeEncoder(_ reflect.Type) encoderFunc { method newInterfaceEncoder (line 385) | func (e encoder) newInterfaceEncoder() encoderFunc { type encoderFunc (line 23) | type encoderFunc type encoderField (line 25) | type encoderField struct type encoderEntry (line 31) | type encoderEntry struct type Pair (line 38) | type Pair struct function marshalerEncoder (line 79) | func marshalerEncoder(key string, value reflect.Value) ([]Pair, error) { FILE: internal/apiquery/query.go function MarshalWithSettings (line 9) | func MarshalWithSettings(value any, settings QuerySettings) (url.Values,... function Marshal (line 28) | func Marshal(value any) (url.Values, error) { type Queryer (line 32) | type Queryer interface type QuerySettings (line 36) | type QuerySettings struct type NestedQueryFormat (line 41) | type NestedQueryFormat constant NestedQueryFormatBrackets (line 44) | NestedQueryFormatBrackets NestedQueryFormat = iota constant NestedQueryFormatDots (line 45) | NestedQueryFormatDots type ArrayQueryFormat (line 48) | type ArrayQueryFormat constant ArrayQueryFormatComma (line 51) | ArrayQueryFormatComma ArrayQueryFormat = iota constant ArrayQueryFormatRepeat (line 52) | ArrayQueryFormatRepeat constant ArrayQueryFormatIndices (line 53) | ArrayQueryFormatIndices constant ArrayQueryFormatBrackets (line 54) | ArrayQueryFormatBrackets FILE: internal/apiquery/query_test.go function P (line 10) | func P[T any](v T) *T { return &v } type Primitives (line 12) | type Primitives struct type PrimitivePointers (line 21) | type PrimitivePointers struct type Slices (line 30) | type Slices struct type DateTime (line 35) | type DateTime struct type AdditionalProperties (line 40) | type AdditionalProperties struct type Recursive (line 45) | type Recursive struct type UnknownStruct (line 50) | type UnknownStruct struct type UnionStruct (line 54) | type UnionStruct struct type Union (line 58) | type Union interface type UnionInteger (line 62) | type UnionInteger method union (line 64) | func (UnionInteger) union() {} type UnionString (line 66) | type UnionString method union (line 68) | func (UnionString) union() {} type UnionStructA (line 70) | type UnionStructA struct method union (line 76) | func (UnionStructA) union() {} type UnionStructB (line 78) | type UnionStructB struct method union (line 83) | func (UnionStructB) union() {} type UnionTime (line 85) | type UnionTime method union (line 87) | func (UnionTime) union() {} type DeeplyNested (line 89) | type DeeplyNested struct type DeeplyNested1 (line 93) | type DeeplyNested1 struct type DeeplyNested2 (line 97) | type DeeplyNested2 struct type DeeplyNested3 (line 101) | type DeeplyNested3 struct type RichPrimitives (line 105) | type RichPrimitives struct type QueryOmitTest (line 109) | type QueryOmitTest struct type NamedEnum (line 114) | type NamedEnum constant NamedEnumFoo (line 116) | NamedEnumFoo NamedEnum = "foo" type StructUnionWrapper (line 118) | type StructUnionWrapper struct type StructUnion (line 122) | type StructUnion struct function TestEncode (line 422) | func TestEncode(t *testing.T) { FILE: internal/apiquery/richparam.go method newRichFieldTypeEncoder (line 8) | func (e *encoder) newRichFieldTypeEncoder(t reflect.Type) encoderFunc { FILE: internal/apiquery/tag.go constant queryStructTag (line 8) | queryStructTag = "query" constant formatStructTag (line 9) | formatStructTag = "format" type parsedStructTag (line 11) | type parsedStructTag struct function parseQueryStructTag (line 18) | func parseQueryStructTag(field reflect.StructField) (tag parsedStructTag... function parseFormatStructTag (line 41) | func parseFormatStructTag(field reflect.StructField) (format string, ok ... FILE: internal/encoding/json/decode.go function Unmarshal (line 101) | func Unmarshal(data []byte, v any) error { type Unmarshaler (line 123) | type Unmarshaler interface type UnmarshalTypeError (line 129) | type UnmarshalTypeError struct method Error (line 137) | func (e *UnmarshalTypeError) Error() string { type UnmarshalFieldError (line 148) | type UnmarshalFieldError struct method Error (line 154) | func (e *UnmarshalFieldError) Error() string { type InvalidUnmarshalError (line 160) | type InvalidUnmarshalError struct method Error (line 164) | func (e *InvalidUnmarshalError) Error() string { type Number (line 193) | type Number method String (line 196) | func (n Number) String() string { return string(n) } method Float64 (line 199) | func (n Number) Float64() (float64, error) { method Int64 (line 204) | func (n Number) Int64() (int64, error) { type errorContext (line 209) | type errorContext struct type decodeState (line 215) | type decodeState struct method unmarshal (line 175) | func (d *decodeState) unmarshal(v any) error { method readIndex (line 227) | func (d *decodeState) readIndex() int { method init (line 236) | func (d *decodeState) init(data []byte) *decodeState { method saveError (line 250) | func (d *decodeState) saveError(err error) { method addErrorContext (line 257) | func (d *decodeState) addErrorContext(err error) error { method skip (line 273) | func (d *decodeState) skip() { method scanNext (line 288) | func (d *decodeState) scanNext() { method scanWhile (line 300) | func (d *decodeState) scanWhile(op int) { method rescanLiteral (line 324) | func (d *decodeState) rescanLiteral() { method value (line 365) | func (d *decodeState) value(v reflect.Value) error { method valueQuoted (line 410) | func (d *decodeState) valueQuoted() any { method array (line 509) | func (d *decodeState) array(v reflect.Value) error { method object (line 608) | func (d *decodeState) object(v reflect.Value) error { method convertNumber (line 846) | func (d *decodeState) convertNumber(s string) (any, error) { method literalStore (line 866) | func (d *decodeState) literalStore(item []byte, v reflect.Value, fromQ... method valueInterface (line 1045) | func (d *decodeState) valueInterface() (val any) { method arrayInterface (line 1062) | func (d *decodeState) arrayInterface() []any { method objectInterface (line 1088) | func (d *decodeState) objectInterface() map[string]any { method literalInterface (line 1139) | func (d *decodeState) literalInterface() any { constant phasePanicMsg (line 234) | phasePanicMsg = "JSON decoder out of sync - data changing underfoot?" type unquotedValue (line 404) | type unquotedValue struct function indirect (line 434) | func indirect(v reflect.Value, decodingNull bool) (Unmarshaler, encoding... function getu4 (line 1174) | func getu4(s []byte) rune { function unquote (line 1197) | func unquote(s []byte) (t string, ok bool) { function unquoteBytes (line 1212) | func unquoteBytes(s []byte) (t []byte, ok bool) { FILE: internal/encoding/json/encode.go function Marshal (line 176) | func Marshal(v any) ([]byte, error) { function MarshalIndent (line 196) | func MarshalIndent(v any, prefix, indent string) ([]byte, error) { type Marshaler (line 211) | type Marshaler interface type UnsupportedTypeError (line 217) | type UnsupportedTypeError struct method Error (line 221) | func (e *UnsupportedTypeError) Error() string { type UnsupportedValueError (line 227) | type UnsupportedValueError struct method Error (line 232) | func (e *UnsupportedValueError) Error() string { type InvalidUTF8Error (line 242) | type InvalidUTF8Error struct method Error (line 246) | func (e *InvalidUTF8Error) Error() string { type MarshalerError (line 252) | type MarshalerError struct method Error (line 258) | func (e *MarshalerError) Error() string { method Unwrap (line 269) | func (e *MarshalerError) Unwrap() error { return e.Err } constant hex (line 271) | hex = "0123456789abcdef" type encodeState (line 274) | type encodeState struct method marshal (line 308) | func (e *encodeState) marshal(v any, opts encOpts) (err error) { method error (line 323) | func (e *encodeState) error(err error) { method reflectValue (line 343) | func (e *encodeState) reflectValue(v reflect.Value, opts encOpts) { constant startDetectingCyclesAfter (line 286) | startDetectingCyclesAfter = 1000 function newEncodeState (line 290) | func newEncodeState() *encodeState { type jsonError (line 306) | type jsonError struct function isEmptyValue (line 327) | func isEmptyValue(v reflect.Value) bool { type encOpts (line 347) | type encOpts struct type encoderFunc (line 357) | type encoderFunc function valueEncoder (line 361) | func valueEncoder(v reflect.Value) encoderFunc { function typeEncoder (line 368) | func typeEncoder(t reflect.Type) encoderFunc { function newTypeEncoder (line 406) | func newTypeEncoder(t reflect.Type, allowAddr bool) encoderFunc { function invalidValueEncoder (line 461) | func invalidValueEncoder(e *encodeState, v reflect.Value, _ encOpts) { function marshalerEncoder (line 465) | func marshalerEncoder(e *encodeState, v reflect.Value, opts encOpts) { function addrMarshalerEncoder (line 494) | func addrMarshalerEncoder(e *encodeState, v reflect.Value, opts encOpts) { function textMarshalerEncoder (line 520) | func textMarshalerEncoder(e *encodeState, v reflect.Value, opts encOpts) { function addrTextMarshalerEncoder (line 537) | func addrTextMarshalerEncoder(e *encodeState, v reflect.Value, opts encO... function boolEncoder (line 551) | func boolEncoder(e *encodeState, v reflect.Value, opts encOpts) { function intEncoder (line 559) | func intEncoder(e *encodeState, v reflect.Value, opts encOpts) { function uintEncoder (line 567) | func uintEncoder(e *encodeState, v reflect.Value, opts encOpts) { type floatEncoder (line 575) | type floatEncoder method encode (line 577) | func (bits floatEncoder) encode(e *encodeState, v reflect.Value, opts ... function stringEncoder (line 616) | func stringEncoder(e *encodeState, v reflect.Value, opts encOpts) { function isValidNumber (line 653) | func isValidNumber(s string) bool { function interfaceEncoder (line 712) | func interfaceEncoder(e *encodeState, v reflect.Value, opts encOpts) { function unsupportedTypeEncoder (line 720) | func unsupportedTypeEncoder(e *encodeState, v reflect.Value, _ encOpts) { type structEncoder (line 724) | type structEncoder struct method encode (line 734) | func (se structEncoder) encode(e *encodeState, v reflect.Value, opts e... type structFields (line 728) | type structFields struct function newStructEncoder (line 773) | func newStructEncoder(t reflect.Type) encoderFunc { type mapEncoder (line 778) | type mapEncoder struct method encode (line 782) | func (me mapEncoder) encode(e *encodeState, v reflect.Value, opts encO... function newMapEncoder (line 827) | func newMapEncoder(t reflect.Type) encoderFunc { function encodeByteSlice (line 841) | func encodeByteSlice(e *encodeState, v reflect.Value, _ encOpts) { type sliceEncoder (line 857) | type sliceEncoder struct method encode (line 861) | func (se sliceEncoder) encode(e *encodeState, v reflect.Value, opts en... function newSliceEncoder (line 885) | func newSliceEncoder(t reflect.Type) encoderFunc { type arrayEncoder (line 897) | type arrayEncoder struct method encode (line 901) | func (ae arrayEncoder) encode(e *encodeState, v reflect.Value, opts en... function newArrayEncoder (line 913) | func newArrayEncoder(t reflect.Type) encoderFunc { type ptrEncoder (line 918) | type ptrEncoder struct method encode (line 922) | func (pe ptrEncoder) encode(e *encodeState, v reflect.Value, opts encO... function newPtrEncoder (line 943) | func newPtrEncoder(t reflect.Type) encoderFunc { type condAddrEncoder (line 948) | type condAddrEncoder struct method encode (line 952) | func (ce condAddrEncoder) encode(e *encodeState, v reflect.Value, opts... function newCondAddrEncoder (line 962) | func newCondAddrEncoder(canAddrEnc, elseEnc encoderFunc) encoderFunc { function isValidTag (line 967) | func isValidTag(s string) bool { function typeByIndex (line 984) | func typeByIndex(t reflect.Type, index []int) reflect.Type { type reflectWithString (line 994) | type reflectWithString struct function resolveKeyName (line 999) | func resolveKeyName(k reflect.Value) (string, error) { function appendString (line 1019) | func appendString[Bytes []byte | string](dst []byte, src Bytes, escapeHT... type field (line 1092) | type field struct type isZeroer (line 1114) | type isZeroer interface function typeFields (line 1134) | func typeFields(t reflect.Type) structFields { function dominantField (line 1369) | func dominantField(fields []field) (field, bool) { function cachedTypeFields (line 1382) | func cachedTypeFields(t reflect.Type) structFields { function mayAppendQuote (line 1390) | func mayAppendQuote(b []byte, quoted bool) []byte { FILE: internal/encoding/json/fold.go function foldName (line 14) | func foldName(in []byte) []byte { function appendFoldedName (line 20) | func appendFoldedName(out, in []byte) []byte { function foldRune (line 40) | func foldRune(r rune) rune { FILE: internal/encoding/json/indent.go function HTMLEscape (line 14) | func HTMLEscape(dst *bytes.Buffer, src []byte) { function appendHTMLEscape (line 19) | func appendHTMLEscape(dst, src []byte) []byte { function Compact (line 41) | func Compact(dst *bytes.Buffer, src []byte) error { function appendCompact (line 49) | func appendCompact(dst, src []byte, escape bool) ([]byte, error) { function appendNewline (line 90) | func appendNewline(dst []byte, prefix, indent string, depth int) []byte { constant indentGrowthFactor (line 105) | indentGrowthFactor = 2 function Indent (line 118) | func Indent(dst *bytes.Buffer, src []byte, prefix, indent string) error { function appendIndent (line 126) | func appendIndent(dst, src []byte, prefix, indent string) ([]byte, error) { FILE: internal/encoding/json/scanner.go function Valid (line 22) | func Valid(data []byte) bool { function checkValid (line 31) | func checkValid(data []byte, scan *scanner) error { type SyntaxError (line 47) | type SyntaxError struct method Error (line 52) | func (e *SyntaxError) Error() string { return e.msg } type scanner (line 66) | type scanner struct method reset (line 150) | func (s *scanner) reset() { method eof (line 159) | func (s *scanner) eof() int { method pushParseState (line 178) | func (s *scanner) pushParseState(c byte, newParseState int, successSta... method popParseState (line 188) | func (s *scanner) popParseState() { method error (line 591) | func (s *scanner) error(c byte, context string) int { function newScanner (line 93) | func newScanner() *scanner { function freeScanner (line 101) | func freeScanner(scan *scanner) { constant scanContinue (line 118) | scanContinue = iota constant scanBeginLiteral (line 119) | scanBeginLiteral constant scanBeginObject (line 120) | scanBeginObject constant scanObjectKey (line 121) | scanObjectKey constant scanObjectValue (line 122) | scanObjectValue constant scanEndObject (line 123) | scanEndObject constant scanBeginArray (line 124) | scanBeginArray constant scanArrayValue (line 125) | scanArrayValue constant scanEndArray (line 126) | scanEndArray constant scanSkipSpace (line 127) | scanSkipSpace constant scanEnd (line 130) | scanEnd constant scanError (line 131) | scanError constant parseObjectKey (line 139) | parseObjectKey = iota constant parseObjectValue (line 140) | parseObjectValue constant parseArrayValue (line 141) | parseArrayValue constant maxNestingDepth (line 146) | maxNestingDepth = 10000 function isSpace (line 199) | func isSpace(c byte) bool { function stateBeginValueOrEmpty (line 204) | func stateBeginValueOrEmpty(s *scanner, c byte) int { function stateBeginValue (line 215) | func stateBeginValue(s *scanner, c byte) int { function stateBeginStringOrEmpty (line 253) | func stateBeginStringOrEmpty(s *scanner, c byte) int { function stateBeginString (line 266) | func stateBeginString(s *scanner, c byte) int { function stateEndValue (line 279) | func stateEndValue(s *scanner, c byte) int { function stateEndTop (line 328) | func stateEndTop(s *scanner, c byte) int { function stateInString (line 337) | func stateInString(s *scanner, c byte) int { function stateInStringEsc (line 353) | func stateInStringEsc(s *scanner, c byte) int { function stateInStringEscU (line 366) | func stateInStringEscU(s *scanner, c byte) int { function stateInStringEscU1 (line 376) | func stateInStringEscU1(s *scanner, c byte) int { function stateInStringEscU12 (line 386) | func stateInStringEscU12(s *scanner, c byte) int { function stateInStringEscU123 (line 396) | func stateInStringEscU123(s *scanner, c byte) int { function stateNeg (line 406) | func stateNeg(s *scanner, c byte) int { function state1 (line 420) | func state1(s *scanner, c byte) int { function state0 (line 429) | func state0(s *scanner, c byte) int { function stateDot (line 443) | func stateDot(s *scanner, c byte) int { function stateDot0 (line 453) | func stateDot0(s *scanner, c byte) int { function stateE (line 466) | func stateE(s *scanner, c byte) int { function stateESign (line 476) | func stateESign(s *scanner, c byte) int { function stateE0 (line 487) | func stateE0(s *scanner, c byte) int { function stateT (line 495) | func stateT(s *scanner, c byte) int { function stateTr (line 504) | func stateTr(s *scanner, c byte) int { function stateTru (line 513) | func stateTru(s *scanner, c byte) int { function stateF (line 522) | func stateF(s *scanner, c byte) int { function stateFa (line 531) | func stateFa(s *scanner, c byte) int { function stateFal (line 540) | func stateFal(s *scanner, c byte) int { function stateFals (line 549) | func stateFals(s *scanner, c byte) int { function stateN (line 558) | func stateN(s *scanner, c byte) int { function stateNu (line 567) | func stateNu(s *scanner, c byte) int { function stateNul (line 576) | func stateNul(s *scanner, c byte) int { function stateError (line 586) | func stateError(s *scanner, c byte) int { function quoteChar (line 598) | func quoteChar(c byte) string { FILE: internal/encoding/json/sentinel/null.go type cacheEntry (line 9) | type cacheEntry struct function NewNullSentinel (line 17) | func NewNullSentinel[T any](mk func() T) T { function IsValueNull (line 29) | func IsValueNull(v reflect.Value) bool { function IsNull (line 38) | func IsNull[T any](v T) bool { FILE: internal/encoding/json/sentinel/sentinel_test.go type Pair (line 11) | type Pair struct function TestNullSlice (line 16) | func TestNullSlice(t *testing.T) { function TestNullMap (line 42) | func TestNullMap(t *testing.T) { function TestIsNullRepeated (line 68) | func TestIsNullRepeated(t *testing.T) { FILE: internal/encoding/json/shims/shims.go constant EscapeHTMLByDefault (line 14) | EscapeHTMLByDefault = true type OverflowableType (line 16) | type OverflowableType struct method OverflowInt (line 18) | func (t OverflowableType) OverflowInt(x int64) bool { method OverflowUint (line 29) | func (t OverflowableType) OverflowUint(x uint64) bool { function TypeFor (line 68) | func TypeFor[T any]() reflect.Type { type AppendableStdEncoding (line 90) | type AppendableStdEncoding struct method AppendEncode (line 94) | func (enc AppendableStdEncoding) AppendEncode(dst, src []byte) []byte { FILE: internal/encoding/json/stream.go type Decoder (line 14) | type Decoder struct method UseNumber (line 37) | func (dec *Decoder) UseNumber() { dec.d.useNumber = true } method DisallowUnknownFields (line 42) | func (dec *Decoder) DisallowUnknownFields() { dec.d.disallowUnknownFie... method Decode (line 49) | func (dec *Decoder) Decode(v any) error { method Buffered (line 83) | func (dec *Decoder) Buffered() io.Reader { method readValue (line 89) | func (dec *Decoder) readValue() (int, error) { method refill (line 146) | func (dec *Decoder) refill() error { method tokenPrepareForDecode (line 304) | func (dec *Decoder) tokenPrepareForDecode() error { method tokenValueAllowed (line 333) | func (dec *Decoder) tokenValueAllowed() bool { method tokenValueEnd (line 341) | func (dec *Decoder) tokenValueEnd() { method Token (line 368) | func (dec *Decoder) Token() (Token, error) { method tokenError (line 462) | func (dec *Decoder) tokenError(c byte) (Token, error) { method More (line 483) | func (dec *Decoder) More() bool { method peek (line 488) | func (dec *Decoder) peek() (byte, error) { method InputOffset (line 510) | func (dec *Decoder) InputOffset() int64 { function NewDecoder (line 31) | func NewDecoder(r io.Reader) *Decoder { function nonSpace (line 171) | func nonSpace(b []byte) bool { type Encoder (line 181) | type Encoder struct method Encode (line 202) | func (enc *Encoder) Encode(v any) error { method SetIndent (line 240) | func (enc *Encoder) SetIndent(prefix, indent string) { method SetEscapeHTML (line 252) | func (enc *Encoder) SetEscapeHTML(on bool) { function NewEncoder (line 192) | func NewEncoder(w io.Writer) *Encoder { type RawMessage (line 259) | type RawMessage method MarshalJSON (line 262) | func (m RawMessage) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 270) | func (m *RawMessage) UnmarshalJSON(data []byte) error { type Token (line 289) | type Token constant tokenTopValue (line 292) | tokenTopValue = iota constant tokenArrayStart (line 293) | tokenArrayStart constant tokenArrayValue (line 294) | tokenArrayValue constant tokenArrayComma (line 295) | tokenArrayComma constant tokenObjectStart (line 296) | tokenObjectStart constant tokenObjectKey (line 297) | tokenObjectKey constant tokenObjectColon (line 298) | tokenObjectColon constant tokenObjectValue (line 299) | tokenObjectValue constant tokenObjectComma (line 300) | tokenObjectComma type Delim (line 351) | type Delim method String (line 353) | func (d Delim) String() string { FILE: internal/encoding/json/tags.go type tagOptions (line 13) | type tagOptions method Contains (line 25) | func (o tagOptions) Contains(optionName string) bool { function parseTag (line 17) | func parseTag(tag string) (string, tagOptions) { FILE: internal/encoding/json/time.go type TimeMarshaler (line 10) | type TimeMarshaler interface function TimeLayout (line 14) | func TimeLayout(fmt string) string { function newTimeEncoder (line 27) | func newTimeEncoder() encoderFunc { function continueWithTimeFmt (line 36) | func continueWithTimeFmt(timefmt string, k encoderFunc) encoderFunc { function timeMarshalEncoder (line 43) | func timeMarshalEncoder(e *encodeState, v reflect.Value, opts encOpts) b... FILE: internal/paramutil/field.go function AddrIfPresent (line 8) | func AddrIfPresent[T comparable](v param.Opt[T]) *T { function ToOpt (line 15) | func ToOpt[T comparable](v T, meta respjson.Field) param.Opt[T] { function Valid (line 25) | func Valid(v param.ParamStruct) bool { FILE: internal/paramutil/union.go function VariantFromUnion (line 13) | func VariantFromUnion(u reflect.Value) (any, error) { FILE: internal/requestconfig/requestconfig.go function getDefaultHeaders (line 27) | func getDefaultHeaders() map[string]string { function getNormalizedOS (line 33) | func getNormalizedOS() string { function getNormalizedArchitecture (line 54) | func getNormalizedArchitecture() string { function getPlatformProperties (line 69) | func getPlatformProperties() map[string]string { type RequestOption (line 80) | type RequestOption interface type RequestOptionFunc (line 84) | type RequestOptionFunc method Apply (line 87) | func (s RequestOptionFunc) Apply(r *RequestConfig) error { return s... type PreRequestOptionFunc (line 85) | type PreRequestOptionFunc method Apply (line 88) | func (s PreRequestOptionFunc) Apply(r *RequestConfig) error { return s... function NewRequestConfig (line 90) | func NewRequestConfig(ctx context.Context, method string, u string, body... type HTTPDoer (line 195) | type HTTPDoer interface type RequestConfig (line 203) | type RequestConfig struct method Execute (line 375) | func (cfg *RequestConfig) Execute() (err error) { method Clone (line 570) | func (cfg *RequestConfig) Clone(ctx context.Context) *RequestConfig { method Apply (line 597) | func (cfg *RequestConfig) Apply(opts ...RequestOption) error { function applyMiddleware (line 235) | func applyMiddleware(middleware middleware, next middlewareNext) middlew... function shouldRetry (line 241) | func shouldRetry(req *http.Request, res *http.Response) bool { function parseRetryAfterHeader (line 268) | func parseRetryAfterHeader(resp *http.Response) (time.Duration, bool) { function isBeforeContextDeadline (line 326) | func isBeforeContextDeadline(t time.Time, ctx context.Context) bool { type bodyWithTimeout (line 336) | type bodyWithTimeout struct method Read (line 341) | func (b *bodyWithTimeout) Read(p []byte) (n int, err error) { method Close (line 352) | func (b *bodyWithTimeout) Close() error { function retryDelay (line 358) | func retryDelay(res *http.Response, retryCount int) time.Duration { function ExecuteNewRequest (line 562) | func ExecuteNewRequest(ctx context.Context, method string, u string, bod... function PreRequestOptions (line 613) | func PreRequestOptions(opts ...RequestOption) (RequestConfig, error) { function WithDefaultBaseURL (line 629) | func WithDefaultBaseURL(baseURL string) RequestOption { FILE: internal/requestconfig/requestconfig_test.go function mockBaseURL (line 16) | func mockBaseURL(server *httptest.Server) *url.URL { function TestErrorWithRequestID (line 23) | func TestErrorWithRequestID(t *testing.T) { FILE: internal/testutil/golden.go function CompareGolden (line 11) | func CompareGolden(t *testing.T, goldenRelPath string, got []byte) { FILE: internal/testutil/testutil.go function CheckTestServer (line 10) | func CheckTestServer(t *testing.T, url string) bool { FILE: internal/testutil/vcr.go function NewVCRHTTPClient (line 15) | func NewVCRHTTPClient(t *testing.T, cassetteName string) (*http.Client, ... FILE: internal/version.go constant PackageVersion (line 5) | PackageVersion = "1.27.1" FILE: message.go type MessageService (line 30) | type MessageService struct method New (line 55) | func (r *MessageService) New(ctx context.Context, body MessageNewParam... method NewStreaming (line 81) | func (r *MessageService) NewStreaming(ctx context.Context, body Messag... method CountTokens (line 100) | func (r *MessageService) CountTokens(ctx context.Context, body Message... function NewMessageService (line 38) | func NewMessageService(opts ...option.RequestOption) (r MessageService) { type Base64ImageSourceParam (line 108) | type Base64ImageSourceParam struct method MarshalJSON (line 117) | func (r Base64ImageSourceParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 121) | func (r *Base64ImageSourceParam) UnmarshalJSON(data []byte) error { type Base64ImageSourceMediaType (line 125) | type Base64ImageSourceMediaType constant Base64ImageSourceMediaTypeImageJPEG (line 128) | Base64ImageSourceMediaTypeImageJPEG Base64ImageSourceMediaType = "image/... constant Base64ImageSourceMediaTypeImagePNG (line 129) | Base64ImageSourceMediaTypeImagePNG Base64ImageSourceMediaType = "image/... constant Base64ImageSourceMediaTypeImageGIF (line 130) | Base64ImageSourceMediaTypeImageGIF Base64ImageSourceMediaType = "image/... constant Base64ImageSourceMediaTypeImageWebP (line 131) | Base64ImageSourceMediaTypeImageWebP Base64ImageSourceMediaType = "image/... type Base64PDFSource (line 134) | type Base64PDFSource struct method RawJSON (line 149) | func (r Base64PDFSource) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 150) | func (r *Base64PDFSource) UnmarshalJSON(data []byte) error { method ToParam (line 159) | func (r Base64PDFSource) ToParam() Base64PDFSourceParam { method implDocumentBlockSourceUnion (line 3085) | func (Base64PDFSource) implDocumentBlockSourceUnion() {} type Base64PDFSourceParam (line 164) | type Base64PDFSourceParam struct method MarshalJSON (line 173) | func (r Base64PDFSourceParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 177) | func (r *Base64PDFSourceParam) UnmarshalJSON(data []byte) error { type BashCodeExecutionOutputBlock (line 181) | type BashCodeExecutionOutputBlock struct method RawJSON (line 194) | func (r BashCodeExecutionOutputBlock) RawJSON() string { return r.JSON... method UnmarshalJSON (line 195) | func (r *BashCodeExecutionOutputBlock) UnmarshalJSON(data []byte) error { type BashCodeExecutionOutputBlockParam (line 200) | type BashCodeExecutionOutputBlockParam struct method MarshalJSON (line 208) | func (r BashCodeExecutionOutputBlockParam) MarshalJSON() (data []byte,... method UnmarshalJSON (line 212) | func (r *BashCodeExecutionOutputBlockParam) UnmarshalJSON(data []byte)... type BashCodeExecutionResultBlock (line 216) | type BashCodeExecutionResultBlock struct method RawJSON (line 235) | func (r BashCodeExecutionResultBlock) RawJSON() string { return r.JSON... method UnmarshalJSON (line 236) | func (r *BashCodeExecutionResultBlock) UnmarshalJSON(data []byte) error { type BashCodeExecutionResultBlockParam (line 241) | type BashCodeExecutionResultBlockParam struct method MarshalJSON (line 252) | func (r BashCodeExecutionResultBlockParam) MarshalJSON() (data []byte,... method UnmarshalJSON (line 256) | func (r *BashCodeExecutionResultBlockParam) UnmarshalJSON(data []byte)... type BashCodeExecutionToolResultBlock (line 260) | type BashCodeExecutionToolResultBlock struct method RawJSON (line 275) | func (r BashCodeExecutionToolResultBlock) RawJSON() string { return r.... method UnmarshalJSON (line 276) | func (r *BashCodeExecutionToolResultBlock) UnmarshalJSON(data []byte) ... method implContentBlockUnion (line 1497) | func (BashCodeExecutionToolResultBlock) implContentBlockUnion() {} method implContentBlockStartEventContentBlockUnion (line 4433) | func (BashCodeExecutionToolResultBlock) implContentBlockStartEventCont... type BashCodeExecutionToolResultBlockContentUnion (line 285) | type BashCodeExecutionToolResultBlockContentUnion struct method AsResponseBashCodeExecutionToolResultError (line 308) | func (u BashCodeExecutionToolResultBlockContentUnion) AsResponseBashCo... method AsResponseBashCodeExecutionResultBlock (line 313) | func (u BashCodeExecutionToolResultBlockContentUnion) AsResponseBashCo... method RawJSON (line 319) | func (u BashCodeExecutionToolResultBlockContentUnion) RawJSON() string... method UnmarshalJSON (line 321) | func (r *BashCodeExecutionToolResultBlockContentUnion) UnmarshalJSON(d... type BashCodeExecutionToolResultBlockParam (line 326) | type BashCodeExecutionToolResultBlockParam struct method MarshalJSON (line 337) | func (r BashCodeExecutionToolResultBlockParam) MarshalJSON() (data []b... method UnmarshalJSON (line 341) | func (r *BashCodeExecutionToolResultBlockParam) UnmarshalJSON(data []b... type BashCodeExecutionToolResultBlockParamContentUnion (line 348) | type BashCodeExecutionToolResultBlockParamContentUnion struct method MarshalJSON (line 354) | func (u BashCodeExecutionToolResultBlockParamContentUnion) MarshalJSON... method UnmarshalJSON (line 357) | func (u *BashCodeExecutionToolResultBlockParamContentUnion) UnmarshalJ... method asAny (line 361) | func (u *BashCodeExecutionToolResultBlockParamContentUnion) asAny() any { method GetErrorCode (line 371) | func (u BashCodeExecutionToolResultBlockParamContentUnion) GetErrorCod... method GetContent (line 379) | func (u BashCodeExecutionToolResultBlockParamContentUnion) GetContent(... method GetReturnCode (line 387) | func (u BashCodeExecutionToolResultBlockParamContentUnion) GetReturnCo... method GetStderr (line 395) | func (u BashCodeExecutionToolResultBlockParamContentUnion) GetStderr()... method GetStdout (line 403) | func (u BashCodeExecutionToolResultBlockParamContentUnion) GetStdout()... method GetType (line 411) | func (u BashCodeExecutionToolResultBlockParamContentUnion) GetType() *... type BashCodeExecutionToolResultError (line 420) | type BashCodeExecutionToolResultError struct method RawJSON (line 435) | func (r BashCodeExecutionToolResultError) RawJSON() string { return r.... method UnmarshalJSON (line 436) | func (r *BashCodeExecutionToolResultError) UnmarshalJSON(data []byte) ... type BashCodeExecutionToolResultErrorCode (line 440) | type BashCodeExecutionToolResultErrorCode constant BashCodeExecutionToolResultErrorCodeInvalidToolInput (line 443) | BashCodeExecutionToolResultErrorCodeInvalidToolInput BashCodeExecut... constant BashCodeExecutionToolResultErrorCodeUnavailable (line 444) | BashCodeExecutionToolResultErrorCodeUnavailable BashCodeExecut... constant BashCodeExecutionToolResultErrorCodeTooManyRequests (line 445) | BashCodeExecutionToolResultErrorCodeTooManyRequests BashCodeExecut... constant BashCodeExecutionToolResultErrorCodeExecutionTimeExceeded (line 446) | BashCodeExecutionToolResultErrorCodeExecutionTimeExceeded BashCodeExecut... constant BashCodeExecutionToolResultErrorCodeOutputFileTooLarge (line 447) | BashCodeExecutionToolResultErrorCodeOutputFileTooLarge BashCodeExecut... type BashCodeExecutionToolResultErrorParam (line 451) | type BashCodeExecutionToolResultErrorParam struct method MarshalJSON (line 461) | func (r BashCodeExecutionToolResultErrorParam) MarshalJSON() (data []b... method UnmarshalJSON (line 465) | func (r *BashCodeExecutionToolResultErrorParam) UnmarshalJSON(data []b... function NewCacheControlEphemeralParam (line 469) | func NewCacheControlEphemeralParam() CacheControlEphemeralParam { type CacheControlEphemeralParam (line 477) | type CacheControlEphemeralParam struct method MarshalJSON (line 493) | func (r CacheControlEphemeralParam) MarshalJSON() (data []byte, err er... method UnmarshalJSON (line 497) | func (r *CacheControlEphemeralParam) UnmarshalJSON(data []byte) error { type CacheControlEphemeralTTL (line 509) | type CacheControlEphemeralTTL constant CacheControlEphemeralTTLTTL5m (line 512) | CacheControlEphemeralTTLTTL5m CacheControlEphemeralTTL = "5m" constant CacheControlEphemeralTTLTTL1h (line 513) | CacheControlEphemeralTTLTTL1h CacheControlEphemeralTTL = "1h" type CacheCreation (line 516) | type CacheCreation struct method RawJSON (line 531) | func (r CacheCreation) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 532) | func (r *CacheCreation) UnmarshalJSON(data []byte) error { type CitationCharLocation (line 536) | type CitationCharLocation struct method RawJSON (line 559) | func (r CitationCharLocation) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 560) | func (r *CitationCharLocation) UnmarshalJSON(data []byte) error { method implCitationsDeltaCitationUnion (line 836) | func (CitationCharLocation) implCitationsDeltaCitationUnion() ... method implTextCitationUnion (line 5459) | func (CitationCharLocation) implTextCitationUnion() {} type CitationCharLocationParam (line 566) | type CitationCharLocationParam struct method MarshalJSON (line 577) | func (r CitationCharLocationParam) MarshalJSON() (data []byte, err err... method UnmarshalJSON (line 581) | func (r *CitationCharLocationParam) UnmarshalJSON(data []byte) error { type CitationContentBlockLocation (line 585) | type CitationContentBlockLocation struct method RawJSON (line 608) | func (r CitationContentBlockLocation) RawJSON() string { return r.JSON... method UnmarshalJSON (line 609) | func (r *CitationContentBlockLocation) UnmarshalJSON(data []byte) error { method implCitationsDeltaCitationUnion (line 838) | func (CitationContentBlockLocation) implCitationsDeltaCitationUnion() ... method implTextCitationUnion (line 5461) | func (CitationContentBlockLocation) implTextCitationUnion() {} type CitationContentBlockLocationParam (line 615) | type CitationContentBlockLocationParam struct method MarshalJSON (line 627) | func (r CitationContentBlockLocationParam) MarshalJSON() (data []byte,... method UnmarshalJSON (line 631) | func (r *CitationContentBlockLocationParam) UnmarshalJSON(data []byte)... type CitationPageLocation (line 635) | type CitationPageLocation struct method RawJSON (line 658) | func (r CitationPageLocation) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 659) | func (r *CitationPageLocation) UnmarshalJSON(data []byte) error { method implCitationsDeltaCitationUnion (line 837) | func (CitationPageLocation) implCitationsDeltaCitationUnion() ... method implTextCitationUnion (line 5460) | func (CitationPageLocation) implTextCitationUnion() {} type CitationPageLocationParam (line 665) | type CitationPageLocationParam struct method MarshalJSON (line 676) | func (r CitationPageLocationParam) MarshalJSON() (data []byte, err err... method UnmarshalJSON (line 680) | func (r *CitationPageLocationParam) UnmarshalJSON(data []byte) error { type CitationSearchResultLocationParam (line 686) | type CitationSearchResultLocationParam struct method MarshalJSON (line 699) | func (r CitationSearchResultLocationParam) MarshalJSON() (data []byte,... method UnmarshalJSON (line 703) | func (r *CitationSearchResultLocationParam) UnmarshalJSON(data []byte)... type CitationWebSearchResultLocationParam (line 708) | type CitationWebSearchResultLocationParam struct method MarshalJSON (line 719) | func (r CitationWebSearchResultLocationParam) MarshalJSON() (data []by... method UnmarshalJSON (line 723) | func (r *CitationWebSearchResultLocationParam) UnmarshalJSON(data []by... type CitationsConfig (line 727) | type CitationsConfig struct method RawJSON (line 738) | func (r CitationsConfig) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 739) | func (r *CitationsConfig) UnmarshalJSON(data []byte) error { type CitationsConfigParam (line 743) | type CitationsConfigParam struct method MarshalJSON (line 748) | func (r CitationsConfigParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 752) | func (r *CitationsConfigParam) UnmarshalJSON(data []byte) error { type CitationsDelta (line 756) | type CitationsDelta struct method RawJSON (line 769) | func (r CitationsDelta) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 770) | func (r *CitationsDelta) UnmarshalJSON(data []byte) error { method implRawContentBlockDeltaUnion (line 4252) | func (CitationsDelta) implRawContentBlockDeltaUnion() {} type CitationsDeltaCitationUnion (line 781) | type CitationsDeltaCitationUnion struct method AsAny (line 853) | func (u CitationsDeltaCitationUnion) AsAny() anyCitationsDeltaCitation { method AsCharLocation (line 869) | func (u CitationsDeltaCitationUnion) AsCharLocation() (v CitationCharL... method AsPageLocation (line 874) | func (u CitationsDeltaCitationUnion) AsPageLocation() (v CitationPageL... method AsContentBlockLocation (line 879) | func (u CitationsDeltaCitationUnion) AsContentBlockLocation() (v Citat... method AsWebSearchResultLocation (line 884) | func (u CitationsDeltaCitationUnion) AsWebSearchResultLocation() (v Ci... method AsSearchResultLocation (line 889) | func (u CitationsDeltaCitationUnion) AsSearchResultLocation() (v Citat... method RawJSON (line 895) | func (u CitationsDeltaCitationUnion) RawJSON() string { return u.JSON.... method UnmarshalJSON (line 897) | func (r *CitationsDeltaCitationUnion) UnmarshalJSON(data []byte) error { type anyCitationsDeltaCitation (line 832) | type anyCitationsDeltaCitation interface type CitationsSearchResultLocation (line 901) | type CitationsSearchResultLocation struct method implCitationsDeltaCitationUnion (line 840) | func (CitationsSearchResultLocation) implCitationsDeltaCitationUnion()... method RawJSON (line 924) | func (r CitationsSearchResultLocation) RawJSON() string { return r.JSO... method UnmarshalJSON (line 925) | func (r *CitationsSearchResultLocation) UnmarshalJSON(data []byte) err... method implTextCitationUnion (line 5463) | func (CitationsSearchResultLocation) implTextCitationUnion() {} type CitationsWebSearchResultLocation (line 929) | type CitationsWebSearchResultLocation struct method implCitationsDeltaCitationUnion (line 839) | func (CitationsWebSearchResultLocation) implCitationsDeltaCitationUnio... method RawJSON (line 948) | func (r CitationsWebSearchResultLocation) RawJSON() string { return r.... method UnmarshalJSON (line 949) | func (r *CitationsWebSearchResultLocation) UnmarshalJSON(data []byte) ... method implTextCitationUnion (line 5462) | func (CitationsWebSearchResultLocation) implTextCitationUnion() {} type CodeExecutionOutputBlock (line 953) | type CodeExecutionOutputBlock struct method RawJSON (line 966) | func (r CodeExecutionOutputBlock) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 967) | func (r *CodeExecutionOutputBlock) UnmarshalJSON(data []byte) error { type CodeExecutionOutputBlockParam (line 972) | type CodeExecutionOutputBlockParam struct method MarshalJSON (line 980) | func (r CodeExecutionOutputBlockParam) MarshalJSON() (data []byte, err... method UnmarshalJSON (line 984) | func (r *CodeExecutionOutputBlockParam) UnmarshalJSON(data []byte) err... type CodeExecutionResultBlock (line 988) | type CodeExecutionResultBlock struct method RawJSON (line 1007) | func (r CodeExecutionResultBlock) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 1008) | func (r *CodeExecutionResultBlock) UnmarshalJSON(data []byte) error { type CodeExecutionResultBlockParam (line 1013) | type CodeExecutionResultBlockParam struct method MarshalJSON (line 1024) | func (r CodeExecutionResultBlockParam) MarshalJSON() (data []byte, err... method UnmarshalJSON (line 1028) | func (r *CodeExecutionResultBlockParam) UnmarshalJSON(data []byte) err... type CodeExecutionTool20250522Param (line 1033) | type CodeExecutionTool20250522Param struct method MarshalJSON (line 1055) | func (r CodeExecutionTool20250522Param) MarshalJSON() (data []byte, er... method UnmarshalJSON (line 1059) | func (r *CodeExecutionTool20250522Param) UnmarshalJSON(data []byte) er... type CodeExecutionTool20250825Param (line 1064) | type CodeExecutionTool20250825Param struct method MarshalJSON (line 1086) | func (r CodeExecutionTool20250825Param) MarshalJSON() (data []byte, er... method UnmarshalJSON (line 1090) | func (r *CodeExecutionTool20250825Param) UnmarshalJSON(data []byte) er... type CodeExecutionTool20260120Param (line 1098) | type CodeExecutionTool20260120Param struct method MarshalJSON (line 1120) | func (r CodeExecutionTool20260120Param) MarshalJSON() (data []byte, er... method UnmarshalJSON (line 1124) | func (r *CodeExecutionTool20260120Param) UnmarshalJSON(data []byte) er... type CodeExecutionToolResultBlock (line 1128) | type CodeExecutionToolResultBlock struct method RawJSON (line 1144) | func (r CodeExecutionToolResultBlock) RawJSON() string { return r.JSON... method UnmarshalJSON (line 1145) | func (r *CodeExecutionToolResultBlock) UnmarshalJSON(data []byte) error { method implContentBlockUnion (line 1496) | func (CodeExecutionToolResultBlock) implContentBlockUnion() {} method implContentBlockStartEventContentBlockUnion (line 4432) | func (CodeExecutionToolResultBlock) implContentBlockStartEventContentB... type CodeExecutionToolResultBlockContentUnion (line 1154) | type CodeExecutionToolResultBlockContentUnion struct method AsResponseCodeExecutionToolResultError (line 1177) | func (u CodeExecutionToolResultBlockContentUnion) AsResponseCodeExecut... method AsResponseCodeExecutionResultBlock (line 1182) | func (u CodeExecutionToolResultBlockContentUnion) AsResponseCodeExecut... method AsResponseEncryptedCodeExecutionResultBlock (line 1187) | func (u CodeExecutionToolResultBlockContentUnion) AsResponseEncryptedC... method RawJSON (line 1193) | func (u CodeExecutionToolResultBlockContentUnion) RawJSON() string { r... method UnmarshalJSON (line 1195) | func (r *CodeExecutionToolResultBlockContentUnion) UnmarshalJSON(data ... type CodeExecutionToolResultBlockParam (line 1200) | type CodeExecutionToolResultBlockParam struct method MarshalJSON (line 1212) | func (r CodeExecutionToolResultBlockParam) MarshalJSON() (data []byte,... method UnmarshalJSON (line 1216) | func (r *CodeExecutionToolResultBlockParam) UnmarshalJSON(data []byte)... function CodeExecutionToolResultBlockParamContentOfRequestCodeExecutionToolResultError (line 1220) | func CodeExecutionToolResultBlockParamContentOfRequestCodeExecutionToolR... type CodeExecutionToolResultBlockParamContentUnion (line 1229) | type CodeExecutionToolResultBlockParamContentUnion struct method MarshalJSON (line 1236) | func (u CodeExecutionToolResultBlockParamContentUnion) MarshalJSON() (... method UnmarshalJSON (line 1239) | func (u *CodeExecutionToolResultBlockParamContentUnion) UnmarshalJSON(... method asAny (line 1243) | func (u *CodeExecutionToolResultBlockParamContentUnion) asAny() any { method GetErrorCode (line 1255) | func (u CodeExecutionToolResultBlockParamContentUnion) GetErrorCode() ... method GetStdout (line 1263) | func (u CodeExecutionToolResultBlockParamContentUnion) GetStdout() *st... method GetEncryptedStdout (line 1271) | func (u CodeExecutionToolResultBlockParamContentUnion) GetEncryptedStd... method GetType (line 1279) | func (u CodeExecutionToolResultBlockParamContentUnion) GetType() *stri... method GetReturnCode (line 1291) | func (u CodeExecutionToolResultBlockParamContentUnion) GetReturnCode()... method GetStderr (line 1301) | func (u CodeExecutionToolResultBlockParamContentUnion) GetStderr() *st... method GetContent (line 1311) | func (u CodeExecutionToolResultBlockParamContentUnion) GetContent() []... type CodeExecutionToolResultError (line 1320) | type CodeExecutionToolResultError struct method RawJSON (line 1335) | func (r CodeExecutionToolResultError) RawJSON() string { return r.JSON... method UnmarshalJSON (line 1336) | func (r *CodeExecutionToolResultError) UnmarshalJSON(data []byte) error { type CodeExecutionToolResultErrorCode (line 1340) | type CodeExecutionToolResultErrorCode constant CodeExecutionToolResultErrorCodeInvalidToolInput (line 1343) | CodeExecutionToolResultErrorCodeInvalidToolInput CodeExecutionToolR... constant CodeExecutionToolResultErrorCodeUnavailable (line 1344) | CodeExecutionToolResultErrorCodeUnavailable CodeExecutionToolR... constant CodeExecutionToolResultErrorCodeTooManyRequests (line 1345) | CodeExecutionToolResultErrorCodeTooManyRequests CodeExecutionToolR... constant CodeExecutionToolResultErrorCodeExecutionTimeExceeded (line 1346) | CodeExecutionToolResultErrorCodeExecutionTimeExceeded CodeExecutionToolR... type CodeExecutionToolResultErrorParam (line 1350) | type CodeExecutionToolResultErrorParam struct method MarshalJSON (line 1360) | func (r CodeExecutionToolResultErrorParam) MarshalJSON() (data []byte,... method UnmarshalJSON (line 1364) | func (r *CodeExecutionToolResultErrorParam) UnmarshalJSON(data []byte)... type Container (line 1370) | type Container struct method RawJSON (line 1385) | func (r Container) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 1386) | func (r *Container) UnmarshalJSON(data []byte) error { type ContainerUploadBlock (line 1391) | type ContainerUploadBlock struct method RawJSON (line 1404) | func (r ContainerUploadBlock) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 1405) | func (r *ContainerUploadBlock) UnmarshalJSON(data []byte) error { method implContentBlockUnion (line 1500) | func (ContainerUploadBlock) implContentBlockUnion() {} method implContentBlockStartEventContentBlockUnion (line 4436) | func (ContainerUploadBlock) implContentBlockStartEventContentBlockUnio... type ContainerUploadBlockParam (line 1413) | type ContainerUploadBlockParam struct method MarshalJSON (line 1422) | func (r ContainerUploadBlockParam) MarshalJSON() (data []byte, err err... method UnmarshalJSON (line 1426) | func (r *ContainerUploadBlockParam) UnmarshalJSON(data []byte) error { type ContentBlockUnion (line 1440) | type ContentBlockUnion struct method AsAny (line 1520) | func (u ContentBlockUnion) AsAny() anyContentBlock { method AsText (line 1550) | func (u ContentBlockUnion) AsText() (v TextBlock) { method AsThinking (line 1555) | func (u ContentBlockUnion) AsThinking() (v ThinkingBlock) { method AsRedactedThinking (line 1560) | func (u ContentBlockUnion) AsRedactedThinking() (v RedactedThinkingBlo... method AsToolUse (line 1565) | func (u ContentBlockUnion) AsToolUse() (v ToolUseBlock) { method AsServerToolUse (line 1570) | func (u ContentBlockUnion) AsServerToolUse() (v ServerToolUseBlock) { method AsWebSearchToolResult (line 1575) | func (u ContentBlockUnion) AsWebSearchToolResult() (v WebSearchToolRes... method AsWebFetchToolResult (line 1580) | func (u ContentBlockUnion) AsWebFetchToolResult() (v WebFetchToolResul... method AsCodeExecutionToolResult (line 1585) | func (u ContentBlockUnion) AsCodeExecutionToolResult() (v CodeExecutio... method AsBashCodeExecutionToolResult (line 1590) | func (u ContentBlockUnion) AsBashCodeExecutionToolResult() (v BashCode... method AsTextEditorCodeExecutionToolResult (line 1595) | func (u ContentBlockUnion) AsTextEditorCodeExecutionToolResult() (v Te... method AsToolSearchToolResult (line 1600) | func (u ContentBlockUnion) AsToolSearchToolResult() (v ToolSearchToolR... method AsContainerUpload (line 1605) | func (u ContentBlockUnion) AsContainerUpload() (v ContainerUploadBlock) { method RawJSON (line 1611) | func (u ContentBlockUnion) RawJSON() string { return u.JSON.raw } method UnmarshalJSON (line 1613) | func (r *ContentBlockUnion) UnmarshalJSON(data []byte) error { type anyContentBlock (line 1484) | type anyContentBlock interface type ContentBlockUnionCaller (line 1623) | type ContentBlockUnionCaller struct method UnmarshalJSON (line 1633) | func (r *ContentBlockUnionCaller) UnmarshalJSON(data []byte) error { type ContentBlockUnionContent (line 1646) | type ContentBlockUnionContent struct method UnmarshalJSON (line 1714) | func (r *ContentBlockUnionContent) UnmarshalJSON(data []byte) error { type ContentBlockUnionContentContent (line 1727) | type ContentBlockUnionContentContent struct method UnmarshalJSON (line 1752) | func (r *ContentBlockUnionContentContent) UnmarshalJSON(data []byte) e... function NewTextBlock (line 1756) | func NewTextBlock(text string) ContentBlockParamUnion { function NewImageBlock (line 1762) | func NewImageBlock[T Base64ImageSourceParam | URLImageSourceParam](sourc... function NewImageBlockBase64 (line 1773) | func NewImageBlockBase64(mediaType string, encodedData string) ContentBl... function NewDocumentBlock (line 1786) | func NewDocumentBlock[ function NewSearchResultBlock (line 1803) | func NewSearchResultBlock(content []TextBlockParam, source string, title... function NewThinkingBlock (line 1811) | func NewThinkingBlock(signature string, thinking string) ContentBlockPar... function NewRedactedThinkingBlock (line 1818) | func NewRedactedThinkingBlock(data string) ContentBlockParamUnion { function NewToolUseBlock (line 1824) | func NewToolUseBlock(id string, input any, name string) ContentBlockPara... function NewToolResultBlock (line 1832) | func NewToolResultBlock(toolUseID string, content string, isError bool) ... function NewServerToolUseBlock (line 1843) | func NewServerToolUseBlock(id string, input any, name ServerToolUseBlock... function NewWebSearchToolResultBlock (line 1851) | func NewWebSearchToolResultBlock[ function NewWebFetchToolResultBlock (line 1865) | func NewWebFetchToolResultBlock[ function NewCodeExecutionToolResultBlock (line 1879) | func NewCodeExecutionToolResultBlock[ function NewBashCodeExecutionToolResultBlock (line 1895) | func NewBashCodeExecutionToolResultBlock[ function NewTextEditorCodeExecutionToolResultBlock (line 1909) | func NewTextEditorCodeExecutionToolResultBlock[ function NewToolSearchToolResultBlock (line 1927) | func NewToolSearchToolResultBlock[ function NewContainerUploadBlock (line 1941) | func NewContainerUploadBlock(fileID string) ContentBlockParamUnion { type ContentBlockParamUnion (line 1950) | type ContentBlockParamUnion struct method MarshalJSON (line 1970) | func (u ContentBlockParamUnion) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 1988) | func (u *ContentBlockParamUnion) UnmarshalJSON(data []byte) error { method asAny (line 1992) | func (u *ContentBlockParamUnion) asAny() any { method GetText (line 2030) | func (u ContentBlockParamUnion) GetText() *string { method GetContext (line 2038) | func (u ContentBlockParamUnion) GetContext() *string { method GetSignature (line 2046) | func (u ContentBlockParamUnion) GetSignature() *string { method GetThinking (line 2054) | func (u ContentBlockParamUnion) GetThinking() *string { method GetData (line 2062) | func (u ContentBlockParamUnion) GetData() *string { method GetIsError (line 2070) | func (u ContentBlockParamUnion) GetIsError() *bool { method GetFileID (line 2078) | func (u ContentBlockParamUnion) GetFileID() *string { method GetType (line 2086) | func (u ContentBlockParamUnion) GetType() *string { method GetTitle (line 2124) | func (u ContentBlockParamUnion) GetTitle() *string { method GetID (line 2134) | func (u ContentBlockParamUnion) GetID() *string { method GetName (line 2144) | func (u ContentBlockParamUnion) GetName() *string { method GetToolUseID (line 2154) | func (u ContentBlockParamUnion) GetToolUseID() *string { method GetCacheControl (line 2174) | func (u ContentBlockParamUnion) GetCacheControl() *CacheControlEphemer... method GetCitations (line 2210) | func (u ContentBlockParamUnion) GetCitations() (res contentBlockParamU... method GetSource (line 2246) | func (u ContentBlockParamUnion) GetSource() (res contentBlockParamUnio... method GetContent (line 2333) | func (u ContentBlockParamUnion) GetContent() (res contentBlockParamUni... method GetInput (line 2636) | func (u ContentBlockParamUnion) GetInput() *any { method GetCaller (line 2648) | func (u ContentBlockParamUnion) GetCaller() (res contentBlockParamUnio... type contentBlockParamUnionCitations (line 2222) | type contentBlockParamUnionCitations struct method AsAny (line 2232) | func (u contentBlockParamUnionCitations) AsAny() any { return u.any } method GetEnabled (line 2235) | func (u contentBlockParamUnionCitations) GetEnabled() *bool { type contentBlockParamUnionSource (line 2260) | type contentBlockParamUnionSource struct method AsAny (line 2275) | func (u contentBlockParamUnionSource) AsAny() any { return u.any } method GetContent (line 2278) | func (u contentBlockParamUnionSource) GetContent() *ContentBlockSource... method GetData (line 2287) | func (u contentBlockParamUnionSource) GetData() *string { method GetMediaType (line 2298) | func (u contentBlockParamUnionSource) GetMediaType() *string { method GetType (line 2309) | func (u contentBlockParamUnionSource) GetType() *string { method GetURL (line 2320) | func (u contentBlockParamUnionSource) GetURL() *string { type contentBlockParamUnionContent (line 2365) | type contentBlockParamUnionContent struct method AsAny (line 2389) | func (u contentBlockParamUnionContent) AsAny() any { return u.any } method GetURL (line 2392) | func (u contentBlockParamUnionContent) GetURL() *string { method GetRetrievedAt (line 2401) | func (u contentBlockParamUnionContent) GetRetrievedAt() *string { method GetEncryptedStdout (line 2410) | func (u contentBlockParamUnionContent) GetEncryptedStdout() *string { method GetErrorMessage (line 2419) | func (u contentBlockParamUnionContent) GetErrorMessage() *string { method GetFileType (line 2428) | func (u contentBlockParamUnionContent) GetFileType() *string { method GetNumLines (line 2437) | func (u contentBlockParamUnionContent) GetNumLines() *int64 { method GetStartLine (line 2446) | func (u contentBlockParamUnionContent) GetStartLine() *int64 { method GetTotalLines (line 2455) | func (u contentBlockParamUnionContent) GetTotalLines() *int64 { method GetIsFileUpdate (line 2464) | func (u contentBlockParamUnionContent) GetIsFileUpdate() *bool { method GetLines (line 2473) | func (u contentBlockParamUnionContent) GetLines() []string { method GetNewLines (line 2482) | func (u contentBlockParamUnionContent) GetNewLines() *int64 { method GetNewStart (line 2491) | func (u contentBlockParamUnionContent) GetNewStart() *int64 { method GetOldLines (line 2500) | func (u contentBlockParamUnionContent) GetOldLines() *int64 { method GetOldStart (line 2509) | func (u contentBlockParamUnionContent) GetOldStart() *int64 { method GetToolReferences (line 2518) | func (u contentBlockParamUnionContent) GetToolReferences() []ToolRefer... method GetErrorCode (line 2527) | func (u contentBlockParamUnionContent) GetErrorCode() *string { method GetType (line 2548) | func (u contentBlockParamUnionContent) GetType() *string { method GetReturnCode (line 2569) | func (u contentBlockParamUnionContent) GetReturnCode() *int64 { method GetStderr (line 2580) | func (u contentBlockParamUnionContent) GetStderr() *string { method GetStdout (line 2591) | func (u contentBlockParamUnionContent) GetStdout() *string { method GetContent (line 2604) | func (u contentBlockParamUnionContent) GetContent() (res contentBlockP... type contentBlockParamUnionContentContent (line 2621) | type contentBlockParamUnionContentContent struct method AsAny (line 2633) | func (u contentBlockParamUnionContentContent) AsAny() any { return u.a... type contentBlockParamUnionCaller (line 2663) | type contentBlockParamUnionCaller struct method AsAny (line 2674) | func (u contentBlockParamUnionCaller) AsAny() any { return u.any } method GetType (line 2677) | func (u contentBlockParamUnionCaller) GetType() *string { method GetToolID (line 2692) | func (u contentBlockParamUnionCaller) GetToolID() *string { function init (line 2706) | func init() { function init (line 2720) | func init() { function init (line 2734) | func init() { function init (line 2756) | func init() { function init (line 2764) | func init() { function init (line 2774) | func init() { function init (line 2782) | func init() { function init (line 2791) | func init() { function init (line 2802) | func init() { function init (line 2811) | func init() { function init (line 2822) | func init() { function init (line 2833) | func init() { function init (line 2842) | func init() { function init (line 2851) | func init() { type ContentBlockSourceParam (line 2861) | type ContentBlockSourceParam struct method MarshalJSON (line 2868) | func (r ContentBlockSourceParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 2872) | func (r *ContentBlockSourceParam) UnmarshalJSON(data []byte) error { type ContentBlockSourceContentUnionParam (line 2879) | type ContentBlockSourceContentUnionParam struct method MarshalJSON (line 2885) | func (u ContentBlockSourceContentUnionParam) MarshalJSON() ([]byte, er... method UnmarshalJSON (line 2888) | func (u *ContentBlockSourceContentUnionParam) UnmarshalJSON(data []byt... method asAny (line 2892) | func (u *ContentBlockSourceContentUnionParam) asAny() any { function ContentBlockSourceContentItemParamOfText (line 2901) | func ContentBlockSourceContentItemParamOfText(text string) ContentBlockS... function ContentBlockSourceContentItemParamOfImage (line 2907) | func ContentBlockSourceContentItemParamOfImage[T Base64ImageSourceParam ... type ContentBlockSourceContentItemUnionParam (line 2921) | type ContentBlockSourceContentItemUnionParam struct method MarshalJSON (line 2927) | func (u ContentBlockSourceContentItemUnionParam) MarshalJSON() ([]byte... method UnmarshalJSON (line 2930) | func (u *ContentBlockSourceContentItemUnionParam) UnmarshalJSON(data [... method asAny (line 2934) | func (u *ContentBlockSourceContentItemUnionParam) asAny() any { method GetText (line 2944) | func (u ContentBlockSourceContentItemUnionParam) GetText() *string { method GetCitations (line 2952) | func (u ContentBlockSourceContentItemUnionParam) GetCitations() []Text... method GetSource (line 2960) | func (u ContentBlockSourceContentItemUnionParam) GetSource() *ImageBlo... method GetType (line 2968) | func (u ContentBlockSourceContentItemUnionParam) GetType() *string { method GetCacheControl (line 2978) | func (u ContentBlockSourceContentItemUnionParam) GetCacheControl() *Ca... type DirectCaller (line 2988) | type DirectCaller struct method RawJSON (line 2999) | func (r DirectCaller) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 3000) | func (r *DirectCaller) UnmarshalJSON(data []byte) error { method ToParam (line 3009) | func (r DirectCaller) ToParam() DirectCallerParam { method implServerToolUseBlockCallerUnion (line 5179) | func (DirectCaller) implServerToolUseBlockCallerUnion() {} method implToolUseBlockCallerUnion (line 7891) | func (DirectCaller) implToolUseBlockCallerUnion() {} method implWebFetchToolResultBlockCallerUnion (line 8343) | func (DirectCaller) implWebFetchToolResultBlockCallerUnion() ... method implWebSearchToolResultBlockCallerUnion (line 8819) | func (DirectCaller) implWebSearchToolResultBlockCallerUnion() ... function NewDirectCallerParam (line 3013) | func NewDirectCallerParam() DirectCallerParam { type DirectCallerParam (line 3022) | type DirectCallerParam struct method MarshalJSON (line 3027) | func (r DirectCallerParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 3031) | func (r *DirectCallerParam) UnmarshalJSON(data []byte) error { type DocumentBlock (line 3035) | type DocumentBlock struct method RawJSON (line 3054) | func (r DocumentBlock) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 3055) | func (r *DocumentBlock) UnmarshalJSON(data []byte) error { type DocumentBlockSourceUnion (line 3065) | type DocumentBlockSourceUnion struct method AsAny (line 3096) | func (u DocumentBlockSourceUnion) AsAny() anyDocumentBlockSource { method AsBase64 (line 3106) | func (u DocumentBlockSourceUnion) AsBase64() (v Base64PDFSource) { method AsText (line 3111) | func (u DocumentBlockSourceUnion) AsText() (v PlainTextSource) { method RawJSON (line 3117) | func (u DocumentBlockSourceUnion) RawJSON() string { return u.JSON.raw } method UnmarshalJSON (line 3119) | func (r *DocumentBlockSourceUnion) UnmarshalJSON(data []byte) error { type anyDocumentBlockSource (line 3081) | type anyDocumentBlockSource interface type DocumentBlockParam (line 3124) | type DocumentBlockParam struct method MarshalJSON (line 3136) | func (r DocumentBlockParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 3140) | func (r *DocumentBlockParam) UnmarshalJSON(data []byte) error { type DocumentBlockParamSourceUnion (line 3147) | type DocumentBlockParamSourceUnion struct method MarshalJSON (line 3155) | func (u DocumentBlockParamSourceUnion) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 3158) | func (u *DocumentBlockParamSourceUnion) UnmarshalJSON(data []byte) err... method asAny (line 3162) | func (u *DocumentBlockParamSourceUnion) asAny() any { method GetContent (line 3176) | func (u DocumentBlockParamSourceUnion) GetContent() *ContentBlockSourc... method GetURL (line 3184) | func (u DocumentBlockParamSourceUnion) GetURL() *string { method GetData (line 3192) | func (u DocumentBlockParamSourceUnion) GetData() *string { method GetMediaType (line 3202) | func (u DocumentBlockParamSourceUnion) GetMediaType() *string { method GetType (line 3212) | func (u DocumentBlockParamSourceUnion) GetType() *string { type EncryptedCodeExecutionResultBlock (line 3226) | type EncryptedCodeExecutionResultBlock struct method RawJSON (line 3245) | func (r EncryptedCodeExecutionResultBlock) RawJSON() string { return r... method UnmarshalJSON (line 3246) | func (r *EncryptedCodeExecutionResultBlock) UnmarshalJSON(data []byte)... type EncryptedCodeExecutionResultBlockParam (line 3253) | type EncryptedCodeExecutionResultBlockParam struct method MarshalJSON (line 3264) | func (r EncryptedCodeExecutionResultBlockParam) MarshalJSON() (data []... method UnmarshalJSON (line 3268) | func (r *EncryptedCodeExecutionResultBlockParam) UnmarshalJSON(data []... type ImageBlockParam (line 3273) | type ImageBlockParam struct method MarshalJSON (line 3282) | func (r ImageBlockParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 3286) | func (r *ImageBlockParam) UnmarshalJSON(data []byte) error { type ImageBlockParamSourceUnion (line 3293) | type ImageBlockParamSourceUnion struct method MarshalJSON (line 3299) | func (u ImageBlockParamSourceUnion) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 3302) | func (u *ImageBlockParamSourceUnion) UnmarshalJSON(data []byte) error { method asAny (line 3306) | func (u *ImageBlockParamSourceUnion) asAny() any { method GetData (line 3316) | func (u ImageBlockParamSourceUnion) GetData() *string { method GetMediaType (line 3324) | func (u ImageBlockParamSourceUnion) GetMediaType() *string { method GetURL (line 3332) | func (u ImageBlockParamSourceUnion) GetURL() *string { method GetType (line 3340) | func (u ImageBlockParamSourceUnion) GetType() *string { type InputJSONDelta (line 3349) | type InputJSONDelta struct method RawJSON (line 3362) | func (r InputJSONDelta) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 3363) | func (r *InputJSONDelta) UnmarshalJSON(data []byte) error { method implRawContentBlockDeltaUnion (line 4251) | func (InputJSONDelta) implRawContentBlockDeltaUnion() {} type JSONOutputFormatParam (line 3368) | type JSONOutputFormatParam struct method MarshalJSON (line 3376) | func (r JSONOutputFormatParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 3380) | func (r *JSONOutputFormatParam) UnmarshalJSON(data []byte) error { type MemoryTool20250818Param (line 3385) | type MemoryTool20250818Param struct method MarshalJSON (line 3407) | func (r MemoryTool20250818Param) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 3411) | func (r *MemoryTool20250818Param) UnmarshalJSON(data []byte) error { type Message (line 3415) | type Message struct method RawJSON (line 3527) | func (r Message) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 3528) | func (r *Message) UnmarshalJSON(data []byte) error { function MessageCountTokensToolParamOfTool (line 3533) | func MessageCountTokensToolParamOfTool(inputSchema ToolInputSchemaParam,... function MessageCountTokensToolParamOfToolSearchToolBm25_20251119 (line 3540) | func MessageCountTokensToolParamOfToolSearchToolBm25_20251119(type_ Tool... function MessageCountTokensToolParamOfToolSearchToolRegex20251119 (line 3546) | func MessageCountTokensToolParamOfToolSearchToolRegex20251119(type_ Tool... type MessageCountTokensToolUnionParam (line 3555) | type MessageCountTokensToolUnionParam struct method MarshalJSON (line 3575) | func (u MessageCountTokensToolUnionParam) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 3593) | func (u *MessageCountTokensToolUnionParam) UnmarshalJSON(data []byte) ... method asAny (line 3597) | func (u *MessageCountTokensToolUnionParam) asAny() any { method GetInputSchema (line 3635) | func (u MessageCountTokensToolUnionParam) GetInputSchema() *ToolInputS... method GetDescription (line 3643) | func (u MessageCountTokensToolUnionParam) GetDescription() *string { method GetEagerInputStreaming (line 3651) | func (u MessageCountTokensToolUnionParam) GetEagerInputStreaming() *bo... method GetMaxCharacters (line 3659) | func (u MessageCountTokensToolUnionParam) GetMaxCharacters() *int64 { method GetUseCache (line 3667) | func (u MessageCountTokensToolUnionParam) GetUseCache() *bool { method GetName (line 3675) | func (u MessageCountTokensToolUnionParam) GetName() *string { method GetDeferLoading (line 3713) | func (u MessageCountTokensToolUnionParam) GetDeferLoading() *bool { method GetStrict (line 3751) | func (u MessageCountTokensToolUnionParam) GetStrict() *bool { method GetType (line 3789) | func (u MessageCountTokensToolUnionParam) GetType() *string { method GetMaxUses (line 3827) | func (u MessageCountTokensToolUnionParam) GetMaxUses() *int64 { method GetMaxContentTokens (line 3843) | func (u MessageCountTokensToolUnionParam) GetMaxContentTokens() *int64 { method GetAllowedCallers (line 3856) | func (u MessageCountTokensToolUnionParam) GetAllowedCallers() []string { method GetCacheControl (line 3894) | func (u MessageCountTokensToolUnionParam) GetCacheControl() *CacheCont... method GetInputExamples (line 3933) | func (u MessageCountTokensToolUnionParam) GetInputExamples() []map[str... method GetAllowedDomains (line 3952) | func (u MessageCountTokensToolUnionParam) GetAllowedDomains() []string { method GetBlockedDomains (line 3969) | func (u MessageCountTokensToolUnionParam) GetBlockedDomains() []string { method GetUserLocation (line 3985) | func (u MessageCountTokensToolUnionParam) GetUserLocation() *UserLocat... method GetCitations (line 3995) | func (u MessageCountTokensToolUnionParam) GetCitations() *CitationsCon... type MessageDeltaUsage (line 4006) | type MessageDeltaUsage struct method RawJSON (line 4030) | func (r MessageDeltaUsage) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 4031) | func (r *MessageDeltaUsage) UnmarshalJSON(data []byte) error { type MessageParam (line 4036) | type MessageParam struct method MarshalJSON (line 4057) | func (r MessageParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 4061) | func (r *MessageParam) UnmarshalJSON(data []byte) error { function NewUserMessage (line 4043) | func NewUserMessage(blocks ...ContentBlockParamUnion) MessageParam { function NewAssistantMessage (line 4050) | func NewAssistantMessage(blocks ...ContentBlockParamUnion) MessageParam { type MessageParamRole (line 4065) | type MessageParamRole constant MessageParamRoleUser (line 4068) | MessageParamRoleUser MessageParamRole = "user" constant MessageParamRoleAssistant (line 4069) | MessageParamRoleAssistant MessageParamRole = "assistant" type MessageTokensCount (line 4072) | type MessageTokensCount struct method RawJSON (line 4085) | func (r MessageTokensCount) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 4086) | func (r *MessageTokensCount) UnmarshalJSON(data []byte) error { type MetadataParam (line 4090) | type MetadataParam struct method MarshalJSON (line 4100) | func (r MetadataParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 4104) | func (r *MetadataParam) UnmarshalJSON(data []byte) error { constant ModelClaudeOpus4_6 (line 4114) | ModelClaudeOpus4_6 Model = "claude-opus-4-6" constant ModelClaudeSonnet4_6 (line 4115) | ModelClaudeSonnet4_6 Model = "claude-sonnet-4-6" constant ModelClaudeHaiku4_5 (line 4116) | ModelClaudeHaiku4_5 Model = "claude-haiku-4-5" constant ModelClaudeHaiku4_5_20251001 (line 4117) | ModelClaudeHaiku4_5_20251001 Model = "claude-haiku-4-5-20251001" constant ModelClaudeOpus4_5 (line 4118) | ModelClaudeOpus4_5 Model = "claude-opus-4-5" constant ModelClaudeOpus4_5_20251101 (line 4119) | ModelClaudeOpus4_5_20251101 Model = "claude-opus-4-5-20251101" constant ModelClaudeSonnet4_5 (line 4120) | ModelClaudeSonnet4_5 Model = "claude-sonnet-4-5" constant ModelClaudeSonnet4_5_20250929 (line 4121) | ModelClaudeSonnet4_5_20250929 Model = "claude-sonnet-4-5-20250929" constant ModelClaudeOpus4_1 (line 4122) | ModelClaudeOpus4_1 Model = "claude-opus-4-1" constant ModelClaudeOpus4_1_20250805 (line 4123) | ModelClaudeOpus4_1_20250805 Model = "claude-opus-4-1-20250805" constant ModelClaudeOpus4_0 (line 4124) | ModelClaudeOpus4_0 Model = "claude-opus-4-0" constant ModelClaudeOpus4_20250514 (line 4125) | ModelClaudeOpus4_20250514 Model = "claude-opus-4-20250514" constant ModelClaudeSonnet4_0 (line 4126) | ModelClaudeSonnet4_0 Model = "claude-sonnet-4-0" constant ModelClaudeSonnet4_20250514 (line 4127) | ModelClaudeSonnet4_20250514 Model = "claude-sonnet-4-20250514" constant ModelClaude_3_Haiku_20240307 (line 4132) | ModelClaude_3_Haiku_20240307 Model = "claude-3-haiku-20240307" type OutputConfigParam (line 4135) | type OutputConfigParam struct method MarshalJSON (line 4146) | func (r OutputConfigParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 4150) | func (r *OutputConfigParam) UnmarshalJSON(data []byte) error { type OutputConfigEffort (line 4155) | type OutputConfigEffort constant OutputConfigEffortLow (line 4158) | OutputConfigEffortLow OutputConfigEffort = "low" constant OutputConfigEffortMedium (line 4159) | OutputConfigEffortMedium OutputConfigEffort = "medium" constant OutputConfigEffortHigh (line 4160) | OutputConfigEffortHigh OutputConfigEffort = "high" constant OutputConfigEffortMax (line 4161) | OutputConfigEffortMax OutputConfigEffort = "max" type PlainTextSource (line 4164) | type PlainTextSource struct method implDocumentBlockSourceUnion (line 3086) | func (PlainTextSource) implDocumentBlockSourceUnion() {} method RawJSON (line 4179) | func (r PlainTextSource) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 4180) | func (r *PlainTextSource) UnmarshalJSON(data []byte) error { method ToParam (line 4189) | func (r PlainTextSource) ToParam() PlainTextSourceParam { type PlainTextSourceParam (line 4194) | type PlainTextSourceParam struct method MarshalJSON (line 4203) | func (r PlainTextSourceParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 4207) | func (r *PlainTextSourceParam) UnmarshalJSON(data []byte) error { type RawContentBlockDeltaUnion (line 4218) | type RawContentBlockDeltaUnion struct method AsAny (line 4267) | func (u RawContentBlockDeltaUnion) AsAny() anyRawContentBlockDelta { method AsTextDelta (line 4283) | func (u RawContentBlockDeltaUnion) AsTextDelta() (v TextDelta) { method AsInputJSONDelta (line 4288) | func (u RawContentBlockDeltaUnion) AsInputJSONDelta() (v InputJSONDelt... method AsCitationsDelta (line 4293) | func (u RawContentBlockDeltaUnion) AsCitationsDelta() (v CitationsDelt... method AsThinkingDelta (line 4298) | func (u RawContentBlockDeltaUnion) AsThinkingDelta() (v ThinkingDelta) { method AsSignatureDelta (line 4303) | func (u RawContentBlockDeltaUnion) AsSignatureDelta() (v SignatureDelt... method RawJSON (line 4309) | func (u RawContentBlockDeltaUnion) RawJSON() string { return u.JSON.raw } method UnmarshalJSON (line 4311) | func (r *RawContentBlockDeltaUnion) UnmarshalJSON(data []byte) error { type anyRawContentBlockDelta (line 4246) | type anyRawContentBlockDelta interface type ContentBlockDeltaEvent (line 4315) | type ContentBlockDeltaEvent struct method RawJSON (line 4330) | func (r ContentBlockDeltaEvent) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 4331) | func (r *ContentBlockDeltaEvent) UnmarshalJSON(data []byte) error { method implMessageStreamEventUnion (line 4848) | func (ContentBlockDeltaEvent) implMessageStreamEventUnion() {} type ContentBlockStartEvent (line 4335) | type ContentBlockStartEvent struct method RawJSON (line 4351) | func (r ContentBlockStartEvent) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 4352) | func (r *ContentBlockStartEvent) UnmarshalJSON(data []byte) error { method implMessageStreamEventUnion (line 4847) | func (ContentBlockStartEvent) implMessageStreamEventUnion() {} type ContentBlockStartEventContentBlockUnion (line 4367) | type ContentBlockStartEventContentBlockUnion struct method AsAny (line 4456) | func (u ContentBlockStartEventContentBlockUnion) AsAny() anyContentBlo... method AsText (line 4486) | func (u ContentBlockStartEventContentBlockUnion) AsText() (v TextBlock) { method AsThinking (line 4491) | func (u ContentBlockStartEventContentBlockUnion) AsThinking() (v Think... method AsRedactedThinking (line 4496) | func (u ContentBlockStartEventContentBlockUnion) AsRedactedThinking() ... method AsToolUse (line 4501) | func (u ContentBlockStartEventContentBlockUnion) AsToolUse() (v ToolUs... method AsServerToolUse (line 4506) | func (u ContentBlockStartEventContentBlockUnion) AsServerToolUse() (v ... method AsWebSearchToolResult (line 4511) | func (u ContentBlockStartEventContentBlockUnion) AsWebSearchToolResult... method AsWebFetchToolResult (line 4516) | func (u ContentBlockStartEventContentBlockUnion) AsWebFetchToolResult(... method AsCodeExecutionToolResult (line 4521) | func (u ContentBlockStartEventContentBlockUnion) AsCodeExecutionToolRe... method AsBashCodeExecutionToolResult (line 4526) | func (u ContentBlockStartEventContentBlockUnion) AsBashCodeExecutionTo... method AsTextEditorCodeExecutionToolResult (line 4531) | func (u ContentBlockStartEventContentBlockUnion) AsTextEditorCodeExecu... method AsToolSearchToolResult (line 4536) | func (u ContentBlockStartEventContentBlockUnion) AsToolSearchToolResul... method AsContainerUpload (line 4541) | func (u ContentBlockStartEventContentBlockUnion) AsContainerUpload() (... method RawJSON (line 4547) | func (u ContentBlockStartEventContentBlockUnion) RawJSON() string { re... method UnmarshalJSON (line 4549) | func (r *ContentBlockStartEventContentBlockUnion) UnmarshalJSON(data [... type anyContentBlockStartEventContentBlock (line 4421) | type anyContentBlockStartEventContentBlock interface type ContentBlockStartEventContentBlockUnionCaller (line 4560) | type ContentBlockStartEventContentBlockUnionCaller struct method UnmarshalJSON (line 4570) | func (r *ContentBlockStartEventContentBlockUnionCaller) UnmarshalJSON(... type ContentBlockStartEventContentBlockUnionContent (line 4584) | type ContentBlockStartEventContentBlockUnionContent struct method UnmarshalJSON (line 4652) | func (r *ContentBlockStartEventContentBlockUnionContent) UnmarshalJSON... type ContentBlockStartEventContentBlockUnionContentContent (line 4666) | type ContentBlockStartEventContentBlockUnionContentContent struct method UnmarshalJSON (line 4691) | func (r *ContentBlockStartEventContentBlockUnionContentContent) Unmars... type ContentBlockStopEvent (line 4695) | type ContentBlockStopEvent struct method RawJSON (line 4708) | func (r ContentBlockStopEvent) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 4709) | func (r *ContentBlockStopEvent) UnmarshalJSON(data []byte) error { method implMessageStreamEventUnion (line 4849) | func (ContentBlockStopEvent) implMessageStreamEventUnion() {} type MessageDeltaEvent (line 4713) | type MessageDeltaEvent struct method RawJSON (line 4743) | func (r MessageDeltaEvent) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 4744) | func (r *MessageDeltaEvent) UnmarshalJSON(data []byte) error { method implMessageStreamEventUnion (line 4845) | func (MessageDeltaEvent) implMessageStreamEventUnion() {} type MessageDeltaEventDelta (line 4748) | type MessageDeltaEventDelta struct method RawJSON (line 4767) | func (r MessageDeltaEventDelta) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 4768) | func (r *MessageDeltaEventDelta) UnmarshalJSON(data []byte) error { type MessageStartEvent (line 4772) | type MessageStartEvent struct method RawJSON (line 4785) | func (r MessageStartEvent) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 4786) | func (r *MessageStartEvent) UnmarshalJSON(data []byte) error { method implMessageStreamEventUnion (line 4844) | func (MessageStartEvent) implMessageStreamEventUnion() {} type MessageStopEvent (line 4790) | type MessageStopEvent struct method RawJSON (line 4801) | func (r MessageStopEvent) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 4802) | func (r *MessageStopEvent) UnmarshalJSON(data []byte) error { method implMessageStreamEventUnion (line 4846) | func (MessageStopEvent) implMessageStreamEventUnion() {} type MessageStreamEventUnion (line 4813) | type MessageStreamEventUnion struct method AsAny (line 4863) | func (u MessageStreamEventUnion) AsAny() anyMessageStreamEvent { method AsMessageStart (line 4881) | func (u MessageStreamEventUnion) AsMessageStart() (v MessageStartEvent) { method AsMessageDelta (line 4886) | func (u MessageStreamEventUnion) AsMessageDelta() (v MessageDeltaEvent) { method AsMessageStop (line 4891) | func (u MessageStreamEventUnion) AsMessageStop() (v MessageStopEvent) { method AsContentBlockStart (line 4896) | func (u MessageStreamEventUnion) AsContentBlockStart() (v ContentBlock... method AsContentBlockDelta (line 4901) | func (u MessageStreamEventUnion) AsContentBlockDelta() (v ContentBlock... method AsContentBlockStop (line 4906) | func (u MessageStreamEventUnion) AsContentBlockStop() (v ContentBlockS... method RawJSON (line 4912) | func (u MessageStreamEventUnion) RawJSON() string { return u.JSON.raw } method UnmarshalJSON (line 4914) | func (r *MessageStreamEventUnion) UnmarshalJSON(data []byte) error { type anyMessageStreamEvent (line 4840) | type anyMessageStreamEvent interface type MessageStreamEventUnionDelta (line 4924) | type MessageStreamEventUnionDelta struct method UnmarshalJSON (line 4956) | func (r *MessageStreamEventUnionDelta) UnmarshalJSON(data []byte) error { type RedactedThinkingBlock (line 4960) | type RedactedThinkingBlock struct method implContentBlockUnion (line 1491) | func (RedactedThinkingBlock) implContentBlockUnion() {} method implContentBlockStartEventContentBlockUnion (line 4427) | func (RedactedThinkingBlock) implContentBlockStartEventContentBlockUni... method RawJSON (line 4973) | func (r RedactedThinkingBlock) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 4974) | func (r *RedactedThinkingBlock) UnmarshalJSON(data []byte) error { type RedactedThinkingBlockParam (line 4979) | type RedactedThinkingBlockParam struct method MarshalJSON (line 4987) | func (r RedactedThinkingBlockParam) MarshalJSON() (data []byte, err er... method UnmarshalJSON (line 4991) | func (r *RedactedThinkingBlockParam) UnmarshalJSON(data []byte) error { type SearchResultBlockParam (line 4996) | type SearchResultBlockParam struct method MarshalJSON (line 5008) | func (r SearchResultBlockParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 5012) | func (r *SearchResultBlockParam) UnmarshalJSON(data []byte) error { type ServerToolCaller (line 5017) | type ServerToolCaller struct method RawJSON (line 5030) | func (r ServerToolCaller) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 5031) | func (r *ServerToolCaller) UnmarshalJSON(data []byte) error { method ToParam (line 5040) | func (r ServerToolCaller) ToParam() ServerToolCallerParam { method implServerToolUseBlockCallerUnion (line 5180) | func (ServerToolCaller) implServerToolUseBlockCallerUnion() {} method implToolUseBlockCallerUnion (line 7892) | func (ServerToolCaller) implToolUseBlockCallerUnion() {} method implWebFetchToolResultBlockCallerUnion (line 8344) | func (ServerToolCaller) implWebFetchToolResultBlockCallerUnion() ... method implWebSearchToolResultBlockCallerUnion (line 8820) | func (ServerToolCaller) implWebSearchToolResultBlockCallerUnion() ... type ServerToolCallerParam (line 5047) | type ServerToolCallerParam struct method MarshalJSON (line 5055) | func (r ServerToolCallerParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 5059) | func (r *ServerToolCallerParam) UnmarshalJSON(data []byte) error { type ServerToolCaller20260120 (line 5063) | type ServerToolCaller20260120 struct method RawJSON (line 5076) | func (r ServerToolCaller20260120) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 5077) | func (r *ServerToolCaller20260120) UnmarshalJSON(data []byte) error { method ToParam (line 5087) | func (r ServerToolCaller20260120) ToParam() ServerToolCaller20260120Pa... method implServerToolUseBlockCallerUnion (line 5181) | func (ServerToolCaller20260120) implServerToolUseBlockCallerUnion() {} method implToolUseBlockCallerUnion (line 7893) | func (ServerToolCaller20260120) implToolUseBlockCallerUnion() {} method implWebFetchToolResultBlockCallerUnion (line 8345) | func (ServerToolCaller20260120) implWebFetchToolResultBlockCallerUnion... method implWebSearchToolResultBlockCallerUnion (line 8821) | func (ServerToolCaller20260120) implWebSearchToolResultBlockCallerUnio... type ServerToolCaller20260120Param (line 5092) | type ServerToolCaller20260120Param struct method MarshalJSON (line 5100) | func (r ServerToolCaller20260120Param) MarshalJSON() (data []byte, err... method UnmarshalJSON (line 5104) | func (r *ServerToolCaller20260120Param) UnmarshalJSON(data []byte) err... type ServerToolUsage (line 5108) | type ServerToolUsage struct method RawJSON (line 5123) | func (r ServerToolUsage) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 5124) | func (r *ServerToolUsage) UnmarshalJSON(data []byte) error { type ServerToolUseBlock (line 5128) | type ServerToolUseBlock struct method implContentBlockUnion (line 1493) | func (ServerToolUseBlock) implContentBlockUnion() {} method implContentBlockStartEventContentBlockUnion (line 4429) | func (ServerToolUseBlock) implContentBlockStartEventContentBlockUnion(... method RawJSON (line 5150) | func (r ServerToolUseBlock) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 5151) | func (r *ServerToolUseBlock) UnmarshalJSON(data []byte) error { type ServerToolUseBlockCallerUnion (line 5161) | type ServerToolUseBlockCallerUnion struct method AsAny (line 5192) | func (u ServerToolUseBlockCallerUnion) AsAny() anyServerToolUseBlockCa... method AsDirect (line 5204) | func (u ServerToolUseBlockCallerUnion) AsDirect() (v DirectCaller) { method AsCodeExecution20250825 (line 5209) | func (u ServerToolUseBlockCallerUnion) AsCodeExecution20250825() (v Se... method AsCodeExecution20260120 (line 5214) | func (u ServerToolUseBlockCallerUnion) AsCodeExecution20260120() (v Se... method RawJSON (line 5220) | func (u ServerToolUseBlockCallerUnion) RawJSON() string { return u.JSO... method UnmarshalJSON (line 5222) | func (r *ServerToolUseBlockCallerUnion) UnmarshalJSON(data []byte) err... type anyServerToolUseBlockCaller (line 5175) | type anyServerToolUseBlockCaller interface type ServerToolUseBlockName (line 5226) | type ServerToolUseBlockName constant ServerToolUseBlockNameWebSearch (line 5229) | ServerToolUseBlockNameWebSearch ServerToolUseBlockName = "... constant ServerToolUseBlockNameWebFetch (line 5230) | ServerToolUseBlockNameWebFetch ServerToolUseBlockName = "... constant ServerToolUseBlockNameCodeExecution (line 5231) | ServerToolUseBlockNameCodeExecution ServerToolUseBlockName = "... constant ServerToolUseBlockNameBashCodeExecution (line 5232) | ServerToolUseBlockNameBashCodeExecution ServerToolUseBlockName = "... constant ServerToolUseBlockNameTextEditorCodeExecution (line 5233) | ServerToolUseBlockNameTextEditorCodeExecution ServerToolUseBlockName = "... constant ServerToolUseBlockNameToolSearchToolRegex (line 5234) | ServerToolUseBlockNameToolSearchToolRegex ServerToolUseBlockName = "... constant ServerToolUseBlockNameToolSearchToolBm25 (line 5235) | ServerToolUseBlockNameToolSearchToolBm25 ServerToolUseBlockName = "... type ServerToolUseBlockParam (line 5239) | type ServerToolUseBlockParam struct method MarshalJSON (line 5254) | func (r ServerToolUseBlockParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 5258) | func (r *ServerToolUseBlockParam) UnmarshalJSON(data []byte) error { type ServerToolUseBlockParamName (line 5262) | type ServerToolUseBlockParamName constant ServerToolUseBlockParamNameWebSearch (line 5265) | ServerToolUseBlockParamNameWebSearch ServerToolUseBlockPar... constant ServerToolUseBlockParamNameWebFetch (line 5266) | ServerToolUseBlockParamNameWebFetch ServerToolUseBlockPar... constant ServerToolUseBlockParamNameCodeExecution (line 5267) | ServerToolUseBlockParamNameCodeExecution ServerToolUseBlockPar... constant ServerToolUseBlockParamNameBashCodeExecution (line 5268) | ServerToolUseBlockParamNameBashCodeExecution ServerToolUseBlockPar... constant ServerToolUseBlockParamNameTextEditorCodeExecution (line 5269) | ServerToolUseBlockParamNameTextEditorCodeExecution ServerToolUseBlockPar... constant ServerToolUseBlockParamNameToolSearchToolRegex (line 5270) | ServerToolUseBlockParamNameToolSearchToolRegex ServerToolUseBlockPar... constant ServerToolUseBlockParamNameToolSearchToolBm25 (line 5271) | ServerToolUseBlockParamNameToolSearchToolBm25 ServerToolUseBlockPar... type ServerToolUseBlockParamCallerUnion (line 5277) | type ServerToolUseBlockParamCallerUnion struct method MarshalJSON (line 5284) | func (u ServerToolUseBlockParamCallerUnion) MarshalJSON() ([]byte, err... method UnmarshalJSON (line 5287) | func (u *ServerToolUseBlockParamCallerUnion) UnmarshalJSON(data []byte... method asAny (line 5291) | func (u *ServerToolUseBlockParamCallerUnion) asAny() any { method GetType (line 5303) | func (u ServerToolUseBlockParamCallerUnion) GetType() *string { method GetToolID (line 5315) | func (u ServerToolUseBlockParamCallerUnion) GetToolID() *string { type SignatureDelta (line 5324) | type SignatureDelta struct method implRawContentBlockDeltaUnion (line 4254) | func (SignatureDelta) implRawContentBlockDeltaUnion() {} method RawJSON (line 5337) | func (r SignatureDelta) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 5338) | func (r *SignatureDelta) UnmarshalJSON(data []byte) error { type StopReason (line 5342) | type StopReason constant StopReasonEndTurn (line 5345) | StopReasonEndTurn StopReason = "end_turn" constant StopReasonMaxTokens (line 5346) | StopReasonMaxTokens StopReason = "max_tokens" constant StopReasonStopSequence (line 5347) | StopReasonStopSequence StopReason = "stop_sequence" constant StopReasonToolUse (line 5348) | StopReasonToolUse StopReason = "tool_use" constant StopReasonPauseTurn (line 5349) | StopReasonPauseTurn StopReason = "pause_turn" constant StopReasonRefusal (line 5350) | StopReasonRefusal StopReason = "refusal" type TextBlock (line 5353) | type TextBlock struct method implContentBlockUnion (line 1489) | func (TextBlock) implContentBlockUnion() {} method implContentBlockStartEventContentBlockUnion (line 4425) | func (TextBlock) implContentBlockStartEventContentBlockUnion() ... method RawJSON (line 5373) | func (r TextBlock) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 5374) | func (r *TextBlock) UnmarshalJSON(data []byte) error { type TextBlockParam (line 5379) | type TextBlockParam struct method MarshalJSON (line 5389) | func (r TextBlockParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 5393) | func (r *TextBlockParam) UnmarshalJSON(data []byte) error { type TextCitationUnion (line 5404) | type TextCitationUnion struct method AsAny (line 5476) | func (u TextCitationUnion) AsAny() anyTextCitation { method AsCharLocation (line 5492) | func (u TextCitationUnion) AsCharLocation() (v CitationCharLocation) { method AsPageLocation (line 5497) | func (u TextCitationUnion) AsPageLocation() (v CitationPageLocation) { method AsContentBlockLocation (line 5502) | func (u TextCitationUnion) AsContentBlockLocation() (v CitationContent... method AsWebSearchResultLocation (line 5507) | func (u TextCitationUnion) AsWebSearchResultLocation() (v CitationsWeb... method AsSearchResultLocation (line 5512) | func (u TextCitationUnion) AsSearchResultLocation() (v CitationsSearch... method RawJSON (line 5518) | func (u TextCitationUnion) RawJSON() string { return u.JSON.raw } method UnmarshalJSON (line 5520) | func (r *TextCitationUnion) UnmarshalJSON(data []byte) error { type anyTextCitation (line 5454) | type anyTextCitation interface type TextCitationParamUnion (line 5527) | type TextCitationParamUnion struct method MarshalJSON (line 5536) | func (u TextCitationParamUnion) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 5543) | func (u *TextCitationParamUnion) UnmarshalJSON(data []byte) error { method asAny (line 5547) | func (u *TextCitationParamUnion) asAny() any { method GetEndCharIndex (line 5563) | func (u TextCitationParamUnion) GetEndCharIndex() *int64 { method GetStartCharIndex (line 5571) | func (u TextCitationParamUnion) GetStartCharIndex() *int64 { method GetEndPageNumber (line 5579) | func (u TextCitationParamUnion) GetEndPageNumber() *int64 { method GetStartPageNumber (line 5587) | func (u TextCitationParamUnion) GetStartPageNumber() *int64 { method GetEncryptedIndex (line 5595) | func (u TextCitationParamUnion) GetEncryptedIndex() *string { method GetURL (line 5603) | func (u TextCitationParamUnion) GetURL() *string { method GetSearchResultIndex (line 5611) | func (u TextCitationParamUnion) GetSearchResultIndex() *int64 { method GetSource (line 5619) | func (u TextCitationParamUnion) GetSource() *string { method GetCitedText (line 5627) | func (u TextCitationParamUnion) GetCitedText() *string { method GetDocumentIndex (line 5643) | func (u TextCitationParamUnion) GetDocumentIndex() *int64 { method GetDocumentTitle (line 5655) | func (u TextCitationParamUnion) GetDocumentTitle() *string { method GetType (line 5667) | func (u TextCitationParamUnion) GetType() *string { method GetEndBlockIndex (line 5683) | func (u TextCitationParamUnion) GetEndBlockIndex() *int64 { method GetStartBlockIndex (line 5693) | func (u TextCitationParamUnion) GetStartBlockIndex() *int64 { method GetTitle (line 5703) | func (u TextCitationParamUnion) GetTitle() *string { type TextDelta (line 5712) | type TextDelta struct method implRawContentBlockDeltaUnion (line 4250) | func (TextDelta) implRawContentBlockDeltaUnion() {} method RawJSON (line 5725) | func (r TextDelta) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 5726) | func (r *TextDelta) UnmarshalJSON(data []byte) error { type TextEditorCodeExecutionCreateResultBlock (line 5730) | type TextEditorCodeExecutionCreateResultBlock struct method RawJSON (line 5743) | func (r TextEditorCodeExecutionCreateResultBlock) RawJSON() string { r... method UnmarshalJSON (line 5744) | func (r *TextEditorCodeExecutionCreateResultBlock) UnmarshalJSON(data ... type TextEditorCodeExecutionCreateResultBlockParam (line 5749) | type TextEditorCodeExecutionCreateResultBlockParam struct method MarshalJSON (line 5757) | func (r TextEditorCodeExecutionCreateResultBlockParam) MarshalJSON() (... method UnmarshalJSON (line 5761) | func (r *TextEditorCodeExecutionCreateResultBlockParam) UnmarshalJSON(... type TextEditorCodeExecutionStrReplaceResultBlock (line 5765) | type TextEditorCodeExecutionStrReplaceResultBlock struct method RawJSON (line 5786) | func (r TextEditorCodeExecutionStrReplaceResultBlock) RawJSON() string... method UnmarshalJSON (line 5787) | func (r *TextEditorCodeExecutionStrReplaceResultBlock) UnmarshalJSON(d... type TextEditorCodeExecutionStrReplaceResultBlockParam (line 5792) | type TextEditorCodeExecutionStrReplaceResultBlockParam struct method MarshalJSON (line 5804) | func (r TextEditorCodeExecutionStrReplaceResultBlockParam) MarshalJSON... method UnmarshalJSON (line 5808) | func (r *TextEditorCodeExecutionStrReplaceResultBlockParam) UnmarshalJ... type TextEditorCodeExecutionToolResultBlock (line 5812) | type TextEditorCodeExecutionToolResultBlock struct method implContentBlockUnion (line 1498) | func (TextEditorCodeExecutionToolResultBlock) implContentBlockUnion() {} method implContentBlockStartEventContentBlockUnion (line 4434) | func (TextEditorCodeExecutionToolResultBlock) implContentBlockStartEve... method RawJSON (line 5827) | func (r TextEditorCodeExecutionToolResultBlock) RawJSON() string { ret... method UnmarshalJSON (line 5828) | func (r *TextEditorCodeExecutionToolResultBlock) UnmarshalJSON(data []... type TextEditorCodeExecutionToolResultBlockContentUnion (line 5839) | type TextEditorCodeExecutionToolResultBlockContentUnion struct method AsResponseTextEditorCodeExecutionToolResultError (line 5886) | func (u TextEditorCodeExecutionToolResultBlockContentUnion) AsResponse... method AsResponseTextEditorCodeExecutionViewResultBlock (line 5891) | func (u TextEditorCodeExecutionToolResultBlockContentUnion) AsResponse... method AsResponseTextEditorCodeExecutionCreateResultBlock (line 5896) | func (u TextEditorCodeExecutionToolResultBlockContentUnion) AsResponse... method AsResponseTextEditorCodeExecutionStrReplaceResultBlock (line 5901) | func (u TextEditorCodeExecutionToolResultBlockContentUnion) AsResponse... method RawJSON (line 5907) | func (u TextEditorCodeExecutionToolResultBlockContentUnion) RawJSON() ... method UnmarshalJSON (line 5909) | func (r *TextEditorCodeExecutionToolResultBlockContentUnion) Unmarshal... type TextEditorCodeExecutionToolResultBlockParam (line 5914) | type TextEditorCodeExecutionToolResultBlockParam struct method MarshalJSON (line 5925) | func (r TextEditorCodeExecutionToolResultBlockParam) MarshalJSON() (da... method UnmarshalJSON (line 5929) | func (r *TextEditorCodeExecutionToolResultBlockParam) UnmarshalJSON(da... type TextEditorCodeExecutionToolResultBlockParamContentUnion (line 5936) | type TextEditorCodeExecutionToolResultBlockParamContentUnion struct method MarshalJSON (line 5944) | func (u TextEditorCodeExecutionToolResultBlockParamContentUnion) Marsh... method UnmarshalJSON (line 5947) | func (u *TextEditorCodeExecutionToolResultBlockParamContentUnion) Unma... method asAny (line 5951) | func (u *TextEditorCodeExecutionToolResultBlockParamContentUnion) asAn... method GetErrorCode (line 5965) | func (u TextEditorCodeExecutionToolResultBlockParamContentUnion) GetEr... method GetErrorMessage (line 5973) | func (u TextEditorCodeExecutionToolResultBlockParamContentUnion) GetEr... method GetContent (line 5981) | func (u TextEditorCodeExecutionToolResultBlockParamContentUnion) GetCo... method GetFileType (line 5989) | func (u TextEditorCodeExecutionToolResultBlockParamContentUnion) GetFi... method GetNumLines (line 5997) | func (u TextEditorCodeExecutionToolResultBlockParamContentUnion) GetNu... method GetStartLine (line 6005) | func (u TextEditorCodeExecutionToolResultBlockParamContentUnion) GetSt... method GetTotalLines (line 6013) | func (u TextEditorCodeExecutionToolResultBlockParamContentUnion) GetTo... method GetIsFileUpdate (line 6021) | func (u TextEditorCodeExecutionToolResultBlockParamContentUnion) GetIs... method GetLines (line 6029) | func (u TextEditorCodeExecutionToolResultBlockParamContentUnion) GetLi... method GetNewLines (line 6037) | func (u TextEditorCodeExecutionToolResultBlockParamContentUnion) GetNe... method GetNewStart (line 6045) | func (u TextEditorCodeExecutionToolResultBlockParamContentUnion) GetNe... method GetOldLines (line 6053) | func (u TextEditorCodeExecutionToolResultBlockParamContentUnion) GetOl... method GetOldStart (line 6061) | func (u TextEditorCodeExecutionToolResultBlockParamContentUnion) GetOl... method GetType (line 6069) | func (u TextEditorCodeExecutionToolResultBlockParamContentUnion) GetTy... type TextEditorCodeExecutionToolResultError (line 6082) | type TextEditorCodeExecutionToolResultError struct method RawJSON (line 6099) | func (r TextEditorCodeExecutionToolResultError) RawJSON() string { ret... method UnmarshalJSON (line 6100) | func (r *TextEditorCodeExecutionToolResultError) UnmarshalJSON(data []... type TextEditorCodeExecutionToolResultErrorCode (line 6104) | type TextEditorCodeExecutionToolResultErrorCode constant TextEditorCodeExecutionToolResultErrorCodeInvalidToolInput (line 6107) | TextEditorCodeExecutionToolResultErrorCodeInvalidToolInput TextEdit... constant TextEditorCodeExecutionToolResultErrorCodeUnavailable (line 6108) | TextEditorCodeExecutionToolResultErrorCodeUnavailable TextEdit... constant TextEditorCodeExecutionToolResultErrorCodeTooManyRequests (line 6109) | TextEditorCodeExecutionToolResultErrorCodeTooManyRequests TextEdit... constant TextEditorCodeExecutionToolResultErrorCodeExecutionTimeExceeded (line 6110) | TextEditorCodeExecutionToolResultErrorCodeExecutionTimeExceeded TextEdit... constant TextEditorCodeExecutionToolResultErrorCodeFileNotFound (line 6111) | TextEditorCodeExecutionToolResultErrorCodeFileNotFound TextEdit... type TextEditorCodeExecutionToolResultErrorParam (line 6115) | type TextEditorCodeExecutionToolResultErrorParam struct method MarshalJSON (line 6126) | func (r TextEditorCodeExecutionToolResultErrorParam) MarshalJSON() (da... method UnmarshalJSON (line 6130) | func (r *TextEditorCodeExecutionToolResultErrorParam) UnmarshalJSON(da... type TextEditorCodeExecutionViewResultBlock (line 6134) | type TextEditorCodeExecutionViewResultBlock struct method RawJSON (line 6156) | func (r TextEditorCodeExecutionViewResultBlock) RawJSON() string { ret... method UnmarshalJSON (line 6157) | func (r *TextEditorCodeExecutionViewResultBlock) UnmarshalJSON(data []... type TextEditorCodeExecutionViewResultBlockFileType (line 6161) | type TextEditorCodeExecutionViewResultBlockFileType constant TextEditorCodeExecutionViewResultBlockFileTypeText (line 6164) | TextEditorCodeExecutionViewResultBlockFileTypeText TextEditorCodeExecut... constant TextEditorCodeExecutionViewResultBlockFileTypeImage (line 6165) | TextEditorCodeExecutionViewResultBlockFileTypeImage TextEditorCodeExecut... constant TextEditorCodeExecutionViewResultBlockFileTypePDF (line 6166) | TextEditorCodeExecutionViewResultBlockFileTypePDF TextEditorCodeExecut... type TextEditorCodeExecutionViewResultBlockParam (line 6170) | type TextEditorCodeExecutionViewResultBlockParam struct method MarshalJSON (line 6183) | func (r TextEditorCodeExecutionViewResultBlockParam) MarshalJSON() (da... method UnmarshalJSON (line 6187) | func (r *TextEditorCodeExecutionViewResultBlockParam) UnmarshalJSON(da... type TextEditorCodeExecutionViewResultBlockParamFileType (line 6191) | type TextEditorCodeExecutionViewResultBlockParamFileType constant TextEditorCodeExecutionViewResultBlockParamFileTypeText (line 6194) | TextEditorCodeExecutionViewResultBlockParamFileTypeText TextEditorCodeE... constant TextEditorCodeExecutionViewResultBlockParamFileTypeImage (line 6195) | TextEditorCodeExecutionViewResultBlockParamFileTypeImage TextEditorCodeE... constant TextEditorCodeExecutionViewResultBlockParamFileTypePDF (line 6196) | TextEditorCodeExecutionViewResultBlockParamFileTypePDF TextEditorCodeE... type ThinkingBlock (line 6199) | type ThinkingBlock struct method implContentBlockUnion (line 1490) | func (ThinkingBlock) implContentBlockUnion() {} method implContentBlockStartEventContentBlockUnion (line 4426) | func (ThinkingBlock) implContentBlockStartEventContentBlockUnion() ... method RawJSON (line 6214) | func (r ThinkingBlock) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 6215) | func (r *ThinkingBlock) UnmarshalJSON(data []byte) error { type ThinkingBlockParam (line 6220) | type ThinkingBlockParam struct method MarshalJSON (line 6228) | func (r ThinkingBlockParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 6232) | func (r *ThinkingBlockParam) UnmarshalJSON(data []byte) error { type ThinkingConfigAdaptiveParam (line 6237) | type ThinkingConfigAdaptiveParam struct method MarshalJSON (line 6250) | func (r ThinkingConfigAdaptiveParam) MarshalJSON() (data []byte, err e... method UnmarshalJSON (line 6254) | func (r *ThinkingConfigAdaptiveParam) UnmarshalJSON(data []byte) error { type ThinkingConfigAdaptiveDisplay (line 6262) | type ThinkingConfigAdaptiveDisplay constant ThinkingConfigAdaptiveDisplaySummarized (line 6265) | ThinkingConfigAdaptiveDisplaySummarized ThinkingConfigAdaptiveDisplay = ... constant ThinkingConfigAdaptiveDisplayOmitted (line 6266) | ThinkingConfigAdaptiveDisplayOmitted ThinkingConfigAdaptiveDisplay = ... function NewThinkingConfigDisabledParam (line 6269) | func NewThinkingConfigDisabledParam() ThinkingConfigDisabledParam { type ThinkingConfigDisabledParam (line 6277) | type ThinkingConfigDisabledParam struct method MarshalJSON (line 6282) | func (r ThinkingConfigDisabledParam) MarshalJSON() (data []byte, err e... method UnmarshalJSON (line 6286) | func (r *ThinkingConfigDisabledParam) UnmarshalJSON(data []byte) error { type ThinkingConfigEnabledParam (line 6291) | type ThinkingConfigEnabledParam struct method MarshalJSON (line 6314) | func (r ThinkingConfigEnabledParam) MarshalJSON() (data []byte, err er... method UnmarshalJSON (line 6318) | func (r *ThinkingConfigEnabledParam) UnmarshalJSON(data []byte) error { type ThinkingConfigEnabledDisplay (line 6326) | type ThinkingConfigEnabledDisplay constant ThinkingConfigEnabledDisplaySummarized (line 6329) | ThinkingConfigEnabledDisplaySummarized ThinkingConfigEnabledDisplay = "s... constant ThinkingConfigEnabledDisplayOmitted (line 6330) | ThinkingConfigEnabledDisplayOmitted ThinkingConfigEnabledDisplay = "o... function ThinkingConfigParamOfEnabled (line 6333) | func ThinkingConfigParamOfEnabled(budgetTokens int64) ThinkingConfigPara... type ThinkingConfigParamUnion (line 6342) | type ThinkingConfigParamUnion struct method MarshalJSON (line 6349) | func (u ThinkingConfigParamUnion) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 6352) | func (u *ThinkingConfigParamUnion) UnmarshalJSON(data []byte) error { method asAny (line 6356) | func (u *ThinkingConfigParamUnion) asAny() any { method GetBudgetTokens (line 6368) | func (u ThinkingConfigParamUnion) GetBudgetTokens() *int64 { method GetType (line 6376) | func (u ThinkingConfigParamUnion) GetType() *string { method GetDisplay (line 6388) | func (u ThinkingConfigParamUnion) GetDisplay() *string { type ThinkingDelta (line 6397) | type ThinkingDelta struct method implRawContentBlockDeltaUnion (line 4253) | func (ThinkingDelta) implRawContentBlockDeltaUnion() {} method RawJSON (line 6410) | func (r ThinkingDelta) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 6411) | func (r *ThinkingDelta) UnmarshalJSON(data []byte) error { type ToolParam (line 6416) | type ToolParam struct method MarshalJSON (line 6454) | func (r ToolParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 6458) | func (r *ToolParam) UnmarshalJSON(data []byte) error { type ToolInputSchemaParam (line 6468) | type ToolInputSchemaParam struct method MarshalJSON (line 6477) | func (r ToolInputSchemaParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 6481) | func (r *ToolInputSchemaParam) UnmarshalJSON(data []byte) error { type ToolType (line 6485) | type ToolType constant ToolTypeCustom (line 6488) | ToolTypeCustom ToolType = "custom" type ToolBash20250124Param (line 6492) | type ToolBash20250124Param struct method MarshalJSON (line 6514) | func (r ToolBash20250124Param) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 6518) | func (r *ToolBash20250124Param) UnmarshalJSON(data []byte) error { function ToolChoiceParamOfTool (line 6522) | func ToolChoiceParamOfTool(name string) ToolChoiceUnionParam { type ToolChoiceUnionParam (line 6531) | type ToolChoiceUnionParam struct method MarshalJSON (line 6539) | func (u ToolChoiceUnionParam) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 6542) | func (u *ToolChoiceUnionParam) UnmarshalJSON(data []byte) error { method asAny (line 6546) | func (u *ToolChoiceUnionParam) asAny() any { method GetName (line 6560) | func (u ToolChoiceUnionParam) GetName() *string { method GetType (line 6568) | func (u ToolChoiceUnionParam) GetType() *string { method GetDisableParallelToolUse (line 6582) | func (u ToolChoiceUnionParam) GetDisableParallelToolUse() *bool { type ToolChoiceAnyParam (line 6596) | type ToolChoiceAnyParam struct method MarshalJSON (line 6607) | func (r ToolChoiceAnyParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 6611) | func (r *ToolChoiceAnyParam) UnmarshalJSON(data []byte) error { type ToolChoiceAutoParam (line 6618) | type ToolChoiceAutoParam struct method MarshalJSON (line 6629) | func (r ToolChoiceAutoParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 6633) | func (r *ToolChoiceAutoParam) UnmarshalJSON(data []byte) error { function NewToolChoiceNoneParam (line 6637) | func NewToolChoiceNoneParam() ToolChoiceNoneParam { type ToolChoiceNoneParam (line 6646) | type ToolChoiceNoneParam struct method MarshalJSON (line 6651) | func (r ToolChoiceNoneParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 6655) | func (r *ToolChoiceNoneParam) UnmarshalJSON(data []byte) error { type ToolChoiceToolParam (line 6662) | type ToolChoiceToolParam struct method MarshalJSON (line 6675) | func (r ToolChoiceToolParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 6679) | func (r *ToolChoiceToolParam) UnmarshalJSON(data []byte) error { type ToolReferenceBlock (line 6683) | type ToolReferenceBlock struct method RawJSON (line 6696) | func (r ToolReferenceBlock) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 6697) | func (r *ToolReferenceBlock) UnmarshalJSON(data []byte) error { type ToolReferenceBlockParam (line 6704) | type ToolReferenceBlockParam struct method MarshalJSON (line 6713) | func (r ToolReferenceBlockParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 6717) | func (r *ToolReferenceBlockParam) UnmarshalJSON(data []byte) error { type ToolResultBlockParam (line 6722) | type ToolResultBlockParam struct method MarshalJSON (line 6733) | func (r ToolResultBlockParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 6737) | func (r *ToolResultBlockParam) UnmarshalJSON(data []byte) error { type ToolResultBlockParamContentUnion (line 6744) | type ToolResultBlockParamContentUnion struct method MarshalJSON (line 6753) | func (u ToolResultBlockParamContentUnion) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 6760) | func (u *ToolResultBlockParamContentUnion) UnmarshalJSON(data []byte) ... method asAny (line 6764) | func (u *ToolResultBlockParamContentUnion) asAny() any { method GetText (line 6780) | func (u ToolResultBlockParamContentUnion) GetText() *string { method GetContent (line 6788) | func (u ToolResultBlockParamContentUnion) GetContent() []TextBlockParam { method GetContext (line 6796) | func (u ToolResultBlockParamContentUnion) GetContext() *string { method GetToolName (line 6804) | func (u ToolResultBlockParamContentUnion) GetToolName() *string { method GetType (line 6812) | func (u ToolResultBlockParamContentUnion) GetType() *string { method GetTitle (line 6828) | func (u ToolResultBlockParamContentUnion) GetTitle() *string { method GetCacheControl (line 6838) | func (u ToolResultBlockParamContentUnion) GetCacheControl() *CacheCont... method GetCitations (line 6856) | func (u ToolResultBlockParamContentUnion) GetCitations() (res toolResu... method GetSource (line 6892) | func (u ToolResultBlockParamContentUnion) GetSource() (res toolResultB... type toolResultBlockParamContentUnionCitations (line 6868) | type toolResultBlockParamContentUnionCitations struct method AsAny (line 6878) | func (u toolResultBlockParamContentUnionCitations) AsAny() any { retur... method GetEnabled (line 6881) | func (u toolResultBlockParamContentUnionCitations) GetEnabled() *bool { type toolResultBlockParamContentUnionSource (line 6906) | type toolResultBlockParamContentUnionSource struct method AsAny (line 6921) | func (u toolResultBlockParamContentUnionSource) AsAny() any { return u... method GetContent (line 6924) | func (u toolResultBlockParamContentUnionSource) GetContent() *ContentB... method GetData (line 6933) | func (u toolResultBlockParamContentUnionSource) GetData() *string { method GetMediaType (line 6944) | func (u toolResultBlockParamContentUnionSource) GetMediaType() *string { method GetType (line 6955) | func (u toolResultBlockParamContentUnionSource) GetType() *string { method GetURL (line 6966) | func (u toolResultBlockParamContentUnionSource) GetURL() *string { type ToolSearchToolBm25_20251119Param (line 6977) | type ToolSearchToolBm25_20251119Param struct method MarshalJSON (line 6999) | func (r ToolSearchToolBm25_20251119Param) MarshalJSON() (data []byte, ... method UnmarshalJSON (line 7003) | func (r *ToolSearchToolBm25_20251119Param) UnmarshalJSON(data []byte) ... type ToolSearchToolBm25_20251119Type (line 7007) | type ToolSearchToolBm25_20251119Type constant ToolSearchToolBm25_20251119TypeToolSearchToolBm25_20251119 (line 7010) | ToolSearchToolBm25_20251119TypeToolSearchToolBm25_20251119 ToolSearchToo... constant ToolSearchToolBm25_20251119TypeToolSearchToolBm25 (line 7011) | ToolSearchToolBm25_20251119TypeToolSearchToolBm25 ToolSearchToo... type ToolSearchToolRegex20251119Param (line 7015) | type ToolSearchToolRegex20251119Param struct method MarshalJSON (line 7037) | func (r ToolSearchToolRegex20251119Param) MarshalJSON() (data []byte, ... method UnmarshalJSON (line 7041) | func (r *ToolSearchToolRegex20251119Param) UnmarshalJSON(data []byte) ... type ToolSearchToolRegex20251119Type (line 7045) | type ToolSearchToolRegex20251119Type constant ToolSearchToolRegex20251119TypeToolSearchToolRegex20251119 (line 7048) | ToolSearchToolRegex20251119TypeToolSearchToolRegex20251119 ToolSearchToo... constant ToolSearchToolRegex20251119TypeToolSearchToolRegex (line 7049) | ToolSearchToolRegex20251119TypeToolSearchToolRegex ToolSearchToo... type ToolSearchToolResultBlock (line 7052) | type ToolSearchToolResultBlock struct method implContentBlockUnion (line 1499) | func (ToolSearchToolResultBlock) implContentBlockUnion() {} method implContentBlockStartEventContentBlockUnion (line 4435) | func (ToolSearchToolResultBlock) implContentBlockStartEventContentBloc... method RawJSON (line 7067) | func (r ToolSearchToolResultBlock) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 7068) | func (r *ToolSearchToolResultBlock) UnmarshalJSON(data []byte) error { type ToolSearchToolResultBlockContentUnion (line 7076) | type ToolSearchToolResultBlockContentUnion struct method AsResponseToolSearchToolResultError (line 7093) | func (u ToolSearchToolResultBlockContentUnion) AsResponseToolSearchToo... method AsResponseToolSearchToolSearchResultBlock (line 7098) | func (u ToolSearchToolResultBlockContentUnion) AsResponseToolSearchToo... method RawJSON (line 7104) | func (u ToolSearchToolResultBlockContentUnion) RawJSON() string { retu... method UnmarshalJSON (line 7106) | func (r *ToolSearchToolResultBlockContentUnion) UnmarshalJSON(data []b... type ToolSearchToolResultBlockParam (line 7111) | type ToolSearchToolResultBlockParam struct method MarshalJSON (line 7122) | func (r ToolSearchToolResultBlockParam) MarshalJSON() (data []byte, er... method UnmarshalJSON (line 7126) | func (r *ToolSearchToolResultBlockParam) UnmarshalJSON(data []byte) er... type ToolSearchToolResultBlockParamContentUnion (line 7133) | type ToolSearchToolResultBlockParamContentUnion struct method MarshalJSON (line 7139) | func (u ToolSearchToolResultBlockParamContentUnion) MarshalJSON() ([]b... method UnmarshalJSON (line 7142) | func (u *ToolSearchToolResultBlockParamContentUnion) UnmarshalJSON(dat... method asAny (line 7146) | func (u *ToolSearchToolResultBlockParamContentUnion) asAny() any { method GetErrorCode (line 7156) | func (u ToolSearchToolResultBlockParamContentUnion) GetErrorCode() *st... method GetToolReferences (line 7164) | func (u ToolSearchToolResultBlockParamContentUnion) GetToolReferences(... method GetType (line 7172) | func (u ToolSearchToolResultBlockParamContentUnion) GetType() *string { type ToolSearchToolResultError (line 7181) | type ToolSearchToolResultError struct method RawJSON (line 7198) | func (r ToolSearchToolResultError) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 7199) | func (r *ToolSearchToolResultError) UnmarshalJSON(data []byte) error { type ToolSearchToolResultErrorCode (line 7203) | type ToolSearchToolResultErrorCode constant ToolSearchToolResultErrorCodeInvalidToolInput (line 7206) | ToolSearchToolResultErrorCodeInvalidToolInput ToolSearchToolResultE... constant ToolSearchToolResultErrorCodeUnavailable (line 7207) | ToolSearchToolResultErrorCodeUnavailable ToolSearchToolResultE... constant ToolSearchToolResultErrorCodeTooManyRequests (line 7208) | ToolSearchToolResultErrorCodeTooManyRequests ToolSearchToolResultE... constant ToolSearchToolResultErrorCodeExecutionTimeExceeded (line 7209) | ToolSearchToolResultErrorCodeExecutionTimeExceeded ToolSearchToolResultE... type ToolSearchToolResultErrorParam (line 7213) | type ToolSearchToolResultErrorParam struct method MarshalJSON (line 7223) | func (r ToolSearchToolResultErrorParam) MarshalJSON() (data []byte, er... method UnmarshalJSON (line 7227) | func (r *ToolSearchToolResultErrorParam) UnmarshalJSON(data []byte) er... type ToolSearchToolSearchResultBlock (line 7231) | type ToolSearchToolSearchResultBlock struct method RawJSON (line 7244) | func (r ToolSearchToolSearchResultBlock) RawJSON() string { return r.J... method UnmarshalJSON (line 7245) | func (r *ToolSearchToolSearchResultBlock) UnmarshalJSON(data []byte) e... type ToolSearchToolSearchResultBlockParam (line 7250) | type ToolSearchToolSearchResultBlockParam struct method MarshalJSON (line 7258) | func (r ToolSearchToolSearchResultBlockParam) MarshalJSON() (data []by... method UnmarshalJSON (line 7262) | func (r *ToolSearchToolSearchResultBlockParam) UnmarshalJSON(data []by... type ToolTextEditor20250124Param (line 7267) | type ToolTextEditor20250124Param struct method MarshalJSON (line 7291) | func (r ToolTextEditor20250124Param) MarshalJSON() (data []byte, err e... method UnmarshalJSON (line 7295) | func (r *ToolTextEditor20250124Param) UnmarshalJSON(data []byte) error { type ToolTextEditor20250429Param (line 7300) | type ToolTextEditor20250429Param struct method MarshalJSON (line 7324) | func (r ToolTextEditor20250429Param) MarshalJSON() (data []byte, err e... method UnmarshalJSON (line 7328) | func (r *ToolTextEditor20250429Param) UnmarshalJSON(data []byte) error { type ToolTextEditor20250728Param (line 7333) | type ToolTextEditor20250728Param struct method MarshalJSON (line 7360) | func (r ToolTextEditor20250728Param) MarshalJSON() (data []byte, err e... method UnmarshalJSON (line 7364) | func (r *ToolTextEditor20250728Param) UnmarshalJSON(data []byte) error { function ToolUnionParamOfTool (line 7368) | func ToolUnionParamOfTool(inputSchema ToolInputSchemaParam, name string)... function ToolUnionParamOfToolSearchToolBm25_20251119 (line 7375) | func ToolUnionParamOfToolSearchToolBm25_20251119(type_ ToolSearchToolBm2... function ToolUnionParamOfToolSearchToolRegex20251119 (line 7381) | func ToolUnionParamOfToolSearchToolRegex20251119(type_ ToolSearchToolReg... type ToolUnionParam (line 7390) | type ToolUnionParam struct method MarshalJSON (line 7410) | func (u ToolUnionParam) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 7428) | func (u *ToolUnionParam) UnmarshalJSON(data []byte) error { method asAny (line 7432) | func (u *ToolUnionParam) asAny() any { method GetInputSchema (line 7470) | func (u ToolUnionParam) GetInputSchema() *ToolInputSchemaParam { method GetDescription (line 7478) | func (u ToolUnionParam) GetDescription() *string { method GetEagerInputStreaming (line 7486) | func (u ToolUnionParam) GetEagerInputStreaming() *bool { method GetMaxCharacters (line 7494) | func (u ToolUnionParam) GetMaxCharacters() *int64 { method GetUseCache (line 7502) | func (u ToolUnionParam) GetUseCache() *bool { method GetName (line 7510) | func (u ToolUnionParam) GetName() *string { method GetDeferLoading (line 7548) | func (u ToolUnionParam) GetDeferLoading() *bool { method GetStrict (line 7586) | func (u ToolUnionParam) GetStrict() *bool { method GetType (line 7624) | func (u ToolUnionParam) GetType() *string { method GetMaxUses (line 7662) | func (u ToolUnionParam) GetMaxUses() *int64 { method GetMaxContentTokens (line 7678) | func (u ToolUnionParam) GetMaxContentTokens() *int64 { method GetAllowedCallers (line 7691) | func (u ToolUnionParam) GetAllowedCallers() []string { method GetCacheControl (line 7729) | func (u ToolUnionParam) GetCacheControl() *CacheControlEphemeralParam { method GetInputExamples (line 7768) | func (u ToolUnionParam) GetInputExamples() []map[string]any { method GetAllowedDomains (line 7787) | func (u ToolUnionParam) GetAllowedDomains() []string { method GetBlockedDomains (line 7804) | func (u ToolUnionParam) GetBlockedDomains() []string { method GetUserLocation (line 7820) | func (u ToolUnionParam) GetUserLocation() *UserLocationParam { method GetCitations (line 7830) | func (u ToolUnionParam) GetCitations() *CitationsConfigParam { type ToolUseBlock (line 7841) | type ToolUseBlock struct method implContentBlockUnion (line 1492) | func (ToolUseBlock) implContentBlockUnion() {} method implContentBlockStartEventContentBlockUnion (line 4428) | func (ToolUseBlock) implContentBlockStartEventContentBlockUnion() ... method RawJSON (line 7862) | func (r ToolUseBlock) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 7863) | func (r *ToolUseBlock) UnmarshalJSON(data []byte) error { type ToolUseBlockCallerUnion (line 7873) | type ToolUseBlockCallerUnion struct method AsAny (line 7904) | func (u ToolUseBlockCallerUnion) AsAny() anyToolUseBlockCaller { method AsDirect (line 7916) | func (u ToolUseBlockCallerUnion) AsDirect() (v DirectCaller) { method AsCodeExecution20250825 (line 7921) | func (u ToolUseBlockCallerUnion) AsCodeExecution20250825() (v ServerTo... method AsCodeExecution20260120 (line 7926) | func (u ToolUseBlockCallerUnion) AsCodeExecution20260120() (v ServerTo... method RawJSON (line 7932) | func (u ToolUseBlockCallerUnion) RawJSON() string { return u.JSON.raw } method UnmarshalJSON (line 7934) | func (r *ToolUseBlockCallerUnion) UnmarshalJSON(data []byte) error { type anyToolUseBlockCaller (line 7887) | type anyToolUseBlockCaller interface type ToolUseBlockParam (line 7939) | type ToolUseBlockParam struct method MarshalJSON (line 7952) | func (r ToolUseBlockParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 7956) | func (r *ToolUseBlockParam) UnmarshalJSON(data []byte) error { type ToolUseBlockParamCallerUnion (line 7963) | type ToolUseBlockParamCallerUnion struct method MarshalJSON (line 7970) | func (u ToolUseBlockParamCallerUnion) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 7973) | func (u *ToolUseBlockParamCallerUnion) UnmarshalJSON(data []byte) error { method asAny (line 7977) | func (u *ToolUseBlockParamCallerUnion) asAny() any { method GetType (line 7989) | func (u ToolUseBlockParamCallerUnion) GetType() *string { method GetToolID (line 8001) | func (u ToolUseBlockParamCallerUnion) GetToolID() *string { type URLImageSourceParam (line 8011) | type URLImageSourceParam struct method MarshalJSON (line 8018) | func (r URLImageSourceParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 8022) | func (r *URLImageSourceParam) UnmarshalJSON(data []byte) error { type URLPDFSourceParam (line 8027) | type URLPDFSourceParam struct method MarshalJSON (line 8034) | func (r URLPDFSourceParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 8038) | func (r *URLPDFSourceParam) UnmarshalJSON(data []byte) error { type Usage (line 8042) | type Usage struct method RawJSON (line 8077) | func (r Usage) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 8078) | func (r *Usage) UnmarshalJSON(data []byte) error { type UsageServiceTier (line 8083) | type UsageServiceTier constant UsageServiceTierStandard (line 8086) | UsageServiceTierStandard UsageServiceTier = "standard" constant UsageServiceTierPriority (line 8087) | UsageServiceTierPriority UsageServiceTier = "priority" constant UsageServiceTierBatch (line 8088) | UsageServiceTierBatch UsageServiceTier = "batch" type UserLocationParam (line 8092) | type UserLocationParam struct method MarshalJSON (line 8108) | func (r UserLocationParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 8112) | func (r *UserLocationParam) UnmarshalJSON(data []byte) error { type WebFetchBlock (line 8116) | type WebFetchBlock struct method RawJSON (line 8135) | func (r WebFetchBlock) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 8136) | func (r *WebFetchBlock) UnmarshalJSON(data []byte) error { type WebFetchBlockParam (line 8141) | type WebFetchBlockParam struct method MarshalJSON (line 8152) | func (r WebFetchBlockParam) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 8156) | func (r *WebFetchBlockParam) UnmarshalJSON(data []byte) error { type WebFetchTool20250910Param (line 8161) | type WebFetchTool20250910Param struct method MarshalJSON (line 8195) | func (r WebFetchTool20250910Param) MarshalJSON() (data []byte, err err... method UnmarshalJSON (line 8199) | func (r *WebFetchTool20250910Param) UnmarshalJSON(data []byte) error { type WebFetchTool20260209Param (line 8204) | type WebFetchTool20260209Param struct method MarshalJSON (line 8238) | func (r WebFetchTool20260209Param) MarshalJSON() (data []byte, err err... method UnmarshalJSON (line 8242) | func (r *WebFetchTool20260209Param) UnmarshalJSON(data []byte) error { type WebFetchTool20260309Param (line 8249) | type WebFetchTool20260309Param struct method MarshalJSON (line 8287) | func (r WebFetchTool20260309Param) MarshalJSON() (data []byte, err err... method UnmarshalJSON (line 8291) | func (r *WebFetchTool20260309Param) UnmarshalJSON(data []byte) error { type WebFetchToolResultBlock (line 8295) | type WebFetchToolResultBlock struct method implContentBlockUnion (line 1495) | func (WebFetchToolResultBlock) implContentBlockUnion() {} method implContentBlockStartEventContentBlockUnion (line 4431) | func (WebFetchToolResultBlock) implContentBlockStartEventContentBlockU... method RawJSON (line 8313) | func (r WebFetchToolResultBlock) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 8314) | func (r *WebFetchToolResultBlock) UnmarshalJSON(data []byte) error { type WebFetchToolResultBlockCallerUnion (line 8325) | type WebFetchToolResultBlockCallerUnion struct method AsAny (line 8356) | func (u WebFetchToolResultBlockCallerUnion) AsAny() anyWebFetchToolRes... method AsDirect (line 8368) | func (u WebFetchToolResultBlockCallerUnion) AsDirect() (v DirectCaller) { method AsCodeExecution20250825 (line 8373) | func (u WebFetchToolResultBlockCallerUnion) AsCodeExecution20250825() ... method AsCodeExecution20260120 (line 8378) | func (u WebFetchToolResultBlockCallerUnion) AsCodeExecution20260120() ... method RawJSON (line 8384) | func (u WebFetchToolResultBlockCallerUnion) RawJSON() string { return ... method UnmarshalJSON (line 8386) | func (r *WebFetchToolResultBlockCallerUnion) UnmarshalJSON(data []byte... type anyWebFetchToolResultBlockCaller (line 8339) | type anyWebFetchToolResultBlockCaller interface type WebFetchToolResultBlockContentUnion (line 8394) | type WebFetchToolResultBlockContentUnion struct method AsResponseWebFetchToolResultError (line 8414) | func (u WebFetchToolResultBlockContentUnion) AsResponseWebFetchToolRes... method AsResponseWebFetchResultBlock (line 8419) | func (u WebFetchToolResultBlockContentUnion) AsResponseWebFetchResultB... method RawJSON (line 8425) | func (u WebFetchToolResultBlockContentUnion) RawJSON() string { return... method UnmarshalJSON (line 8427) | func (r *WebFetchToolResultBlockContentUnion) UnmarshalJSON(data []byt... type WebFetchToolResultBlockParam (line 8432) | type WebFetchToolResultBlockParam struct method MarshalJSON (line 8445) | func (r WebFetchToolResultBlockParam) MarshalJSON() (data []byte, err ... method UnmarshalJSON (line 8449) | func (r *WebFetchToolResultBlockParam) UnmarshalJSON(data []byte) error { type WebFetchToolResultBlockParamContentUnion (line 8456) | type WebFetchToolResultBlockParamContentUnion struct method MarshalJSON (line 8462) | func (u WebFetchToolResultBlockParamContentUnion) MarshalJSON() ([]byt... method UnmarshalJSON (line 8465) | func (u *WebFetchToolResultBlockParamContentUnion) UnmarshalJSON(data ... method asAny (line 8469) | func (u *WebFetchToolResultBlockParamContentUnion) asAny() any { method GetErrorCode (line 8479) | func (u WebFetchToolResultBlockParamContentUnion) GetErrorCode() *stri... method GetContent (line 8487) | func (u WebFetchToolResultBlockParamContentUnion) GetContent() *Docume... method GetURL (line 8495) | func (u WebFetchToolResultBlockParamContentUnion) GetURL() *string { method GetRetrievedAt (line 8503) | func (u WebFetchToolResultBlockParamContentUnion) GetRetrievedAt() *st... method GetType (line 8511) | func (u WebFetchToolResultBlockParamContentUnion) GetType() *string { type WebFetchToolResultBlockParamCallerUnion (line 8523) | type WebFetchToolResultBlockParamCallerUnion struct method MarshalJSON (line 8530) | func (u WebFetchToolResultBlockParamCallerUnion) MarshalJSON() ([]byte... method UnmarshalJSON (line 8533) | func (u *WebFetchToolResultBlockParamCallerUnion) UnmarshalJSON(data [... method asAny (line 8537) | func (u *WebFetchToolResultBlockParamCallerUnion) asAny() any { method GetType (line 8549) | func (u WebFetchToolResultBlockParamCallerUnion) GetType() *string { method GetToolID (line 8561) | func (u WebFetchToolResultBlockParamCallerUnion) GetToolID() *string { type WebFetchToolResultErrorBlock (line 8570) | type WebFetchToolResultErrorBlock struct method RawJSON (line 8586) | func (r WebFetchToolResultErrorBlock) RawJSON() string { return r.JSON... method UnmarshalJSON (line 8587) | func (r *WebFetchToolResultErrorBlock) UnmarshalJSON(data []byte) error { type WebFetchToolResultErrorBlockParam (line 8592) | type WebFetchToolResultErrorBlockParam struct method MarshalJSON (line 8603) | func (r WebFetchToolResultErrorBlockParam) MarshalJSON() (data []byte,... method UnmarshalJSON (line 8607) | func (r *WebFetchToolResultErrorBlockParam) UnmarshalJSON(data []byte)... type WebFetchToolResultErrorCode (line 8611) | type WebFetchToolResultErrorCode constant WebFetchToolResultErrorCodeInvalidToolInput (line 8614) | WebFetchToolResultErrorCodeInvalidToolInput WebFetchToolResultErro... constant WebFetchToolResultErrorCodeURLTooLong (line 8615) | WebFetchToolResultErrorCodeURLTooLong WebFetchToolResultErro... constant WebFetchToolResultErrorCodeURLNotAllowed (line 8616) | WebFetchToolResultErrorCodeURLNotAllowed WebFetchToolResultErro... constant WebFetchToolResultErrorCodeURLNotAccessible (line 8617) | WebFetchToolResultErrorCodeURLNotAccessible WebFetchToolResultErro... constant WebFetchToolResultErrorCodeUnsupportedContentType (line 8618) | WebFetchToolResultErrorCodeUnsupportedContentType WebFetchToolResultErro... constant WebFetchToolResultErrorCodeTooManyRequests (line 8619) | WebFetchToolResultErrorCodeTooManyRequests WebFetchToolResultErro... constant WebFetchToolResultErrorCodeMaxUsesExceeded (line 8620) | WebFetchToolResultErrorCodeMaxUsesExceeded WebFetchToolResultErro... constant WebFetchToolResultErrorCodeUnavailable (line 8621) | WebFetchToolResultErrorCodeUnavailable WebFetchToolResultErro... type WebSearchResultBlock (line 8624) | type WebSearchResultBlock struct method RawJSON (line 8643) | func (r WebSearchResultBlock) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 8644) | func (r *WebSearchResultBlock) UnmarshalJSON(data []byte) error { type WebSearchResultBlockParam (line 8649) | type WebSearchResultBlockParam struct method MarshalJSON (line 8660) | func (r WebSearchResultBlockParam) MarshalJSON() (data []byte, err err... method UnmarshalJSON (line 8664) | func (r *WebSearchResultBlockParam) UnmarshalJSON(data []byte) error { type WebSearchTool20250305Param (line 8669) | type WebSearchTool20250305Param struct method MarshalJSON (line 8702) | func (r WebSearchTool20250305Param) MarshalJSON() (data []byte, err er... method UnmarshalJSON (line 8706) | func (r *WebSearchTool20250305Param) UnmarshalJSON(data []byte) error { type WebSearchTool20260209Param (line 8711) | type WebSearchTool20260209Param struct method MarshalJSON (line 8744) | func (r WebSearchTool20260209Param) MarshalJSON() (data []byte, err er... method UnmarshalJSON (line 8748) | func (r *WebSearchTool20260209Param) UnmarshalJSON(data []byte) error { type WebSearchToolRequestErrorParam (line 8753) | type WebSearchToolRequestErrorParam struct method MarshalJSON (line 8763) | func (r WebSearchToolRequestErrorParam) MarshalJSON() (data []byte, er... method UnmarshalJSON (line 8767) | func (r *WebSearchToolRequestErrorParam) UnmarshalJSON(data []byte) er... type WebSearchToolResultBlock (line 8771) | type WebSearchToolResultBlock struct method implContentBlockUnion (line 1494) | func (WebSearchToolResultBlock) implContentBlockUnion() {} method implContentBlockStartEventContentBlockUnion (line 4430) | func (WebSearchToolResultBlock) implContentBlockStartEventContentBlock... method RawJSON (line 8789) | func (r WebSearchToolResultBlock) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 8790) | func (r *WebSearchToolResultBlock) UnmarshalJSON(data []byte) error { type WebSearchToolResultBlockCallerUnion (line 8801) | type WebSearchToolResultBlockCallerUnion struct method AsAny (line 8832) | func (u WebSearchToolResultBlockCallerUnion) AsAny() anyWebSearchToolR... method AsDirect (line 8844) | func (u WebSearchToolResultBlockCallerUnion) AsDirect() (v DirectCalle... method AsCodeExecution20250825 (line 8849) | func (u WebSearchToolResultBlockCallerUnion) AsCodeExecution20250825()... method AsCodeExecution20260120 (line 8854) | func (u WebSearchToolResultBlockCallerUnion) AsCodeExecution20260120()... method RawJSON (line 8860) | func (u WebSearchToolResultBlockCallerUnion) RawJSON() string { return... method UnmarshalJSON (line 8862) | func (r *WebSearchToolResultBlockCallerUnion) UnmarshalJSON(data []byt... type anyWebSearchToolResultBlockCaller (line 8815) | type anyWebSearchToolResultBlockCaller interface type WebSearchToolResultBlockContentUnion (line 8873) | type WebSearchToolResultBlockContentUnion struct method AsResponseWebSearchToolResultError (line 8889) | func (u WebSearchToolResultBlockContentUnion) AsResponseWebSearchToolR... method AsWebSearchResultBlockArray (line 8894) | func (u WebSearchToolResultBlockContentUnion) AsWebSearchResultBlockAr... method RawJSON (line 8900) | func (u WebSearchToolResultBlockContentUnion) RawJSON() string { retur... method UnmarshalJSON (line 8902) | func (r *WebSearchToolResultBlockContentUnion) UnmarshalJSON(data []by... type WebSearchToolResultBlockParam (line 8907) | type WebSearchToolResultBlockParam struct method MarshalJSON (line 8920) | func (r WebSearchToolResultBlockParam) MarshalJSON() (data []byte, err... method UnmarshalJSON (line 8924) | func (r *WebSearchToolResultBlockParam) UnmarshalJSON(data []byte) err... type WebSearchToolResultBlockParamCallerUnion (line 8931) | type WebSearchToolResultBlockParamCallerUnion struct method MarshalJSON (line 8938) | func (u WebSearchToolResultBlockParamCallerUnion) MarshalJSON() ([]byt... method UnmarshalJSON (line 8941) | func (u *WebSearchToolResultBlockParamCallerUnion) UnmarshalJSON(data ... method asAny (line 8945) | func (u *WebSearchToolResultBlockParamCallerUnion) asAny() any { method GetType (line 8957) | func (u WebSearchToolResultBlockParamCallerUnion) GetType() *string { method GetToolID (line 8969) | func (u WebSearchToolResultBlockParamCallerUnion) GetToolID() *string { function NewWebSearchToolRequestError (line 8978) | func NewWebSearchToolRequestError(errorCode WebSearchToolResultErrorCode... type WebSearchToolResultBlockParamContentUnion (line 8987) | type WebSearchToolResultBlockParamContentUnion struct method MarshalJSON (line 8993) | func (u WebSearchToolResultBlockParamContentUnion) MarshalJSON() ([]by... method UnmarshalJSON (line 8996) | func (u *WebSearchToolResultBlockParamContentUnion) UnmarshalJSON(data... method asAny (line 9000) | func (u *WebSearchToolResultBlockParamContentUnion) asAny() any { type WebSearchToolResultError (line 9009) | type WebSearchToolResultError struct method RawJSON (line 9024) | func (r WebSearchToolResultError) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 9025) | func (r *WebSearchToolResultError) UnmarshalJSON(data []byte) error { type WebSearchToolResultErrorCode (line 9029) | type WebSearchToolResultErrorCode constant WebSearchToolResultErrorCodeInvalidToolInput (line 9032) | WebSearchToolResultErrorCodeInvalidToolInput WebSearchToolResultErrorCod... constant WebSearchToolResultErrorCodeUnavailable (line 9033) | WebSearchToolResultErrorCodeUnavailable WebSearchToolResultErrorCod... constant WebSearchToolResultErrorCodeMaxUsesExceeded (line 9034) | WebSearchToolResultErrorCodeMaxUsesExceeded WebSearchToolResultErrorCod... constant WebSearchToolResultErrorCodeTooManyRequests (line 9035) | WebSearchToolResultErrorCodeTooManyRequests WebSearchToolResultErrorCod... constant WebSearchToolResultErrorCodeQueryTooLong (line 9036) | WebSearchToolResultErrorCodeQueryTooLong WebSearchToolResultErrorCod... constant WebSearchToolResultErrorCodeRequestTooLarge (line 9037) | WebSearchToolResultErrorCodeRequestTooLarge WebSearchToolResultErrorCod... type MessageNewParams (line 9040) | type MessageNewParams struct method MarshalJSON (line 9284) | func (r MessageNewParams) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 9288) | func (r *MessageNewParams) UnmarshalJSON(data []byte) error { type MessageNewParamsServiceTier (line 9297) | type MessageNewParamsServiceTier constant MessageNewParamsServiceTierAuto (line 9300) | MessageNewParamsServiceTierAuto MessageNewParamsServiceTier = "a... constant MessageNewParamsServiceTierStandardOnly (line 9301) | MessageNewParamsServiceTierStandardOnly MessageNewParamsServiceTier = "s... type MessageCountTokensParams (line 9304) | type MessageCountTokensParams struct method MarshalJSON (line 9488) | func (r MessageCountTokensParams) MarshalJSON() (data []byte, err erro... method UnmarshalJSON (line 9492) | func (r *MessageCountTokensParams) UnmarshalJSON(data []byte) error { type MessageCountTokensParamsSystemUnion (line 9499) | type MessageCountTokensParamsSystemUnion struct method MarshalJSON (line 9505) | func (u MessageCountTokensParamsSystemUnion) MarshalJSON() ([]byte, er... method UnmarshalJSON (line 9508) | func (u *MessageCountTokensParamsSystemUnion) UnmarshalJSON(data []byt... method asAny (line 9512) | func (u *MessageCountTokensParamsSystemUnion) asAny() any { FILE: message_test.go function TestMessageNewWithOptionalParams (line 19) | func TestMessageNewWithOptionalParams(t *testing.T) { function TestMessageCountTokensWithOptionalParams (line 134) | func TestMessageCountTokensWithOptionalParams(t *testing.T) { function TestAccumulate (line 240) | func TestAccumulate(t *testing.T) { function TestMessageNewWithNonStreamingTimeoutLimits (line 405) | func TestMessageNewWithNonStreamingTimeoutLimits(t *testing.T) { function TestCalculateNonStreamingTimeout (line 461) | func TestCalculateNonStreamingTimeout(t *testing.T) { function TestModelLimits (line 546) | func TestModelLimits(t *testing.T) { function TestToolResultBlockParamStringContent (line 561) | func TestToolResultBlockParamStringContent(t *testing.T) { function TestMessageParamStringContent (line 573) | func TestMessageParamStringContent(t *testing.T) { function TestMessageParamArrayContent (line 585) | func TestMessageParamArrayContent(t *testing.T) { FILE: messagebatch.go type MessageBatchService (line 33) | type MessageBatchService struct method New (line 54) | func (r *MessageBatchService) New(ctx context.Context, body MessageBat... method Get (line 67) | func (r *MessageBatchService) Get(ctx context.Context, messageBatchID ... method List (line 83) | func (r *MessageBatchService) List(ctx context.Context, query MessageB... method ListAutoPaging (line 105) | func (r *MessageBatchService) ListAutoPaging(ctx context.Context, quer... method Delete (line 116) | func (r *MessageBatchService) Delete(ctx context.Context, messageBatch... method Cancel (line 139) | func (r *MessageBatchService) Cancel(ctx context.Context, messageBatch... method ResultsStreaming (line 158) | func (r *MessageBatchService) ResultsStreaming(ctx context.Context, me... function NewMessageBatchService (line 40) | func NewMessageBatchService(opts ...option.RequestOption) (r MessageBatc... type DeletedMessageBatch (line 174) | type DeletedMessageBatch struct method RawJSON (line 191) | func (r DeletedMessageBatch) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 192) | func (r *DeletedMessageBatch) UnmarshalJSON(data []byte) error { type MessageBatch (line 196) | type MessageBatch struct method RawJSON (line 257) | func (r MessageBatch) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 258) | func (r *MessageBatch) UnmarshalJSON(data []byte) error { type MessageBatchProcessingStatus (line 263) | type MessageBatchProcessingStatus constant MessageBatchProcessingStatusInProgress (line 266) | MessageBatchProcessingStatusInProgress MessageBatchProcessingStatus = "i... constant MessageBatchProcessingStatusCanceling (line 267) | MessageBatchProcessingStatusCanceling MessageBatchProcessingStatus = "c... constant MessageBatchProcessingStatusEnded (line 268) | MessageBatchProcessingStatusEnded MessageBatchProcessingStatus = "e... type MessageBatchCanceledResult (line 271) | type MessageBatchCanceledResult struct method RawJSON (line 282) | func (r MessageBatchCanceledResult) RawJSON() string { return r.JSON.r... method UnmarshalJSON (line 283) | func (r *MessageBatchCanceledResult) UnmarshalJSON(data []byte) error { method implMessageBatchResultUnion (line 418) | func (MessageBatchCanceledResult) implMessageBatchResultUnion() {} type MessageBatchErroredResult (line 287) | type MessageBatchErroredResult struct method RawJSON (line 300) | func (r MessageBatchErroredResult) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 301) | func (r *MessageBatchErroredResult) UnmarshalJSON(data []byte) error { method implMessageBatchResultUnion (line 417) | func (MessageBatchErroredResult) implMessageBatchResultUnion() {} type MessageBatchExpiredResult (line 305) | type MessageBatchExpiredResult struct method RawJSON (line 316) | func (r MessageBatchExpiredResult) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 317) | func (r *MessageBatchExpiredResult) UnmarshalJSON(data []byte) error { method implMessageBatchResultUnion (line 419) | func (MessageBatchExpiredResult) implMessageBatchResultUnion() {} type MessageBatchIndividualResponse (line 323) | type MessageBatchIndividualResponse struct method RawJSON (line 345) | func (r MessageBatchIndividualResponse) RawJSON() string { return r.JS... method UnmarshalJSON (line 346) | func (r *MessageBatchIndividualResponse) UnmarshalJSON(data []byte) er... type MessageBatchRequestCounts (line 350) | type MessageBatchRequestCounts struct method RawJSON (line 382) | func (r MessageBatchRequestCounts) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 383) | func (r *MessageBatchRequestCounts) UnmarshalJSON(data []byte) error { type MessageBatchResultUnion (line 394) | type MessageBatchResultUnion struct method AsAny (line 431) | func (u MessageBatchResultUnion) AsAny() anyMessageBatchResult { method AsSucceeded (line 445) | func (u MessageBatchResultUnion) AsSucceeded() (v MessageBatchSucceede... method AsErrored (line 450) | func (u MessageBatchResultUnion) AsErrored() (v MessageBatchErroredRes... method AsCanceled (line 455) | func (u MessageBatchResultUnion) AsCanceled() (v MessageBatchCanceledR... method AsExpired (line 460) | func (u MessageBatchResultUnion) AsExpired() (v MessageBatchExpiredRes... method RawJSON (line 466) | func (u MessageBatchResultUnion) RawJSON() string { return u.JSON.raw } method UnmarshalJSON (line 468) | func (r *MessageBatchResultUnion) UnmarshalJSON(data []byte) error { type anyMessageBatchResult (line 412) | type anyMessageBatchResult interface type MessageBatchSucceededResult (line 472) | type MessageBatchSucceededResult struct method implMessageBatchResultUnion (line 416) | func (MessageBatchSucceededResult) implMessageBatchResultUnion() {} method RawJSON (line 485) | func (r MessageBatchSucceededResult) RawJSON() string { return r.JSON.... method UnmarshalJSON (line 486) | func (r *MessageBatchSucceededResult) UnmarshalJSON(data []byte) error { type MessageBatchNewParams (line 490) | type MessageBatchNewParams struct method MarshalJSON (line 497) | func (r MessageBatchNewParams) MarshalJSON() (data []byte, err error) { method UnmarshalJSON (line 501) | func (r *MessageBatchNewParams) UnmarshalJSON(data []byte) error { type MessageBatchNewParamsRequest (line 506) | type MessageBatchNewParamsRequest struct method MarshalJSON (line 520) | func (r MessageBatchNewParamsRequest) MarshalJSON() (data []byte, err ... method UnmarshalJSON (line 524) | func (r *MessageBatchNewParamsRequest) UnmarshalJSON(data []byte) error { type MessageBatchNewParamsRequestParams (line 534) | type MessageBatchNewParamsRequestParams struct method MarshalJSON (line 782) | func (r MessageBatchNewParamsRequestParams) MarshalJSON() (data []byte... method UnmarshalJSON (line 786) | func (r *MessageBatchNewParamsRequestParams) UnmarshalJSON(data []byte... function init (line 790) | func init() { type MessageBatchListParams (line 796) | type MessageBatchListParams struct method URLQuery (line 811) | func (r MessageBatchListParams) URLQuery() (v url.Values, err error) { FILE: messagebatch_test.go function TestMessageBatchNew (line 16) | func TestMessageBatchNew(t *testing.T) { function TestMessageBatchGet (line 137) | func TestMessageBatchGet(t *testing.T) { function TestMessageBatchListWithOptionalParams (line 159) | func TestMessageBatchListWithOptionalParams(t *testing.T) { function TestMessageBatchDelete (line 185) | func TestMessageBatchDelete(t *testing.T) { function TestMessageBatchCancel (line 207) | func TestMessageBatchCancel(t *testing.T) { FILE: messageutil.go method Accumulate (line 20) | func (acc *Message) Accumulate(event MessageStreamEventUnion) error { method ToParam (line 93) | func (r Message) ToParam() MessageParam { method ToParam (line 103) | func (r ContentBlockUnion) ToParam() ContentBlockParamUnion { method toParamUnion (line 107) | func (variant TextBlock) toParamUnion() ContentBlockParamUnion { method toParamUnion (line 112) | func (variant ToolUseBlock) toParamUnion() ContentBlockParamUnion { method toParamUnion (line 117) | func (variant WebSearchToolResultBlock) toParamUnion() ContentBlockParam... method toParamUnion (line 122) | func (variant ServerToolUseBlock) toParamUnion() ContentBlockParamUnion { method toParamUnion (line 127) | func (variant ThinkingBlock) toParamUnion() ContentBlockParamUnion { method toParamUnion (line 132) | func (variant RedactedThinkingBlock) toParamUnion() ContentBlockParamUni... method ToParam (line 137) | func (r RedactedThinkingBlock) ToParam() RedactedThinkingBlockParam { method ToParam (line 144) | func (r ToolUseBlock) ToParam() ToolUseBlockParam { method toParamUnion (line 153) | func (citationVariant CitationCharLocation) toParamUnion() TextCitationP... method toParamUnion (line 164) | func (citationVariant CitationPageLocation) toParamUnion() TextCitationP... method toParamUnion (line 174) | func (citationVariant CitationContentBlockLocation) toParamUnion() TextC... method toParamUnion (line 185) | func (citationVariant CitationsSearchResultLocation) toParamUnion() Text... method toParamUnion (line 193) | func (citationVariant CitationsWebSearchResultLocation) toParamUnion() T... method ToParam (line 201) | func (r TextBlock) ToParam() TextBlockParam { method ToParam (line 219) | func (r ThinkingBlock) ToParam() ThinkingBlockParam { method ToParam (line 227) | func (r ServerToolUseBlock) ToParam() ServerToolUseBlockParam { method ToParam (line 236) | func (r WebSearchToolResultBlock) ToParam() WebSearchToolResultBlockParam { method ToParam (line 244) | func (r WebSearchResultBlock) ToParam() WebSearchResultBlockParam { method ToParam (line 254) | func (r WebSearchToolResultBlockContentUnion) ToParam() WebSearchToolRes... method toParamUnion (line 270) | func (variant WebFetchToolResultBlock) toParamUnion() ContentBlockParamU... method toParamUnion (line 275) | func (variant CodeExecutionToolResultBlock) toParamUnion() ContentBlockP... method toParamUnion (line 280) | func (variant BashCodeExecutionToolResultBlock) toParamUnion() ContentBl... method toParamUnion (line 285) | func (variant TextEditorCodeExecutionToolResultBlock) toParamUnion() Con... method toParamUnion (line 290) | func (variant ToolSearchToolResultBlock) toParamUnion() ContentBlockPara... method toParamUnion (line 295) | func (variant ContainerUploadBlock) toParamUnion() ContentBlockParamUnion { method ToParam (line 300) | func (r WebFetchToolResultBlock) ToParam() WebFetchToolResultBlockParam { method ToParam (line 307) | func (r ContainerUploadBlock) ToParam() ContainerUploadBlockParam { method ToParam (line 314) | func (r BashCodeExecutionToolResultBlock) ToParam() BashCodeExecutionToo... method ToParam (line 338) | func (r BashCodeExecutionOutputBlock) ToParam() BashCodeExecutionOutputB... method ToParam (line 345) | func (r CodeExecutionToolResultBlock) ToParam() CodeExecutionToolResultB... method ToParam (line 366) | func (r CodeExecutionOutputBlock) ToParam() CodeExecutionOutputBlockParam { method ToParam (line 373) | func (r TextEditorCodeExecutionToolResultBlock) ToParam() TextEditorCode... method ToParam (line 388) | func (r ToolSearchToolResultBlock) ToParam() ToolSearchToolResultBlockPa... method ToParam (line 408) | func (r ToolReferenceBlock) ToParam() ToolReferenceBlockParam { FILE: messageutil_test.go function unmarshalContentBlockParam (line 11) | func unmarshalContentBlockParam(t *testing.T, jsonData string) anthropic... function TestContentBlockUnionToParam (line 21) | func TestContentBlockUnionToParam(t *testing.T) { FILE: model.go type ModelService (line 30) | type ModelService struct method Get (line 47) | func (r *ModelService) Get(ctx context.Context, modelID string, query ... method List (line 65) | func (r *ModelService) List(ctx context.Context, params ModelListParam... method ListAutoPaging (line 89) | func (r *ModelService) ListAutoPaging(ctx context.Context, params Mode... function NewModelService (line 37) | func NewModelService(opts ...option.RequestOption) (r ModelService) { type CapabilitySupport (line 94) | type CapabilitySupport struct method RawJSON (line 106) | func (r CapabilitySupport) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 107) | func (r *CapabilitySupport) UnmarshalJSON(data []byte) error { type ContextManagementCapability (line 112) | type ContextManagementCapability struct method RawJSON (line 133) | func (r ContextManagementCapability) RawJSON() string { return r.JSON.... method UnmarshalJSON (line 134) | func (r *ContextManagementCapability) UnmarshalJSON(data []byte) error { type EffortCapability (line 139) | type EffortCapability struct method RawJSON (line 163) | func (r EffortCapability) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 164) | func (r *EffortCapability) UnmarshalJSON(data []byte) error { type ModelCapabilities (line 169) | type ModelCapabilities struct method RawJSON (line 205) | func (r ModelCapabilities) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 206) | func (r *ModelCapabilities) UnmarshalJSON(data []byte) error { type ModelInfo (line 210) | type ModelInfo struct method RawJSON (line 243) | func (r ModelInfo) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 244) | func (r *ModelInfo) UnmarshalJSON(data []byte) error { type ThinkingCapability (line 249) | type ThinkingCapability struct method RawJSON (line 264) | func (r ThinkingCapability) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 265) | func (r *ThinkingCapability) UnmarshalJSON(data []byte) error { type ThinkingTypes (line 270) | type ThinkingTypes struct method RawJSON (line 285) | func (r ThinkingTypes) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 286) | func (r *ThinkingTypes) UnmarshalJSON(data []byte) error { type ModelGetParams (line 290) | type ModelGetParams struct type ModelListParams (line 296) | type ModelListParams struct method URLQuery (line 313) | func (r ModelListParams) URLQuery() (v url.Values, err error) { FILE: model_test.go function TestModelGetWithOptionalParams (line 16) | func TestModelGetWithOptionalParams(t *testing.T) { function TestModelListWithOptionalParams (line 44) | func TestModelListWithOptionalParams(t *testing.T) { FILE: option/middleware.go function WithDebugLog (line 17) | func WithDebugLog(logger *log.Logger) RequestOption { FILE: option/requestoption.go function WithBaseURL (line 28) | func WithBaseURL(base string) RequestOption { type HTTPClient (line 49) | type HTTPClient interface function WithHTTPClient (line 58) | func WithHTTPClient(client HTTPClient) RequestOption { function WithMiddleware (line 87) | func WithMiddleware(middlewares ...Middleware) RequestOption { function WithMaxRetries (line 99) | func WithMaxRetries(retries int) RequestOption { function WithHeader (line 111) | func WithHeader(key, value string) RequestOption { function WithHeaderAdd (line 120) | func WithHeaderAdd(key, value string) RequestOption { function WithHeaderDel (line 128) | func WithHeaderDel(key string) RequestOption { function WithQuery (line 137) | func WithQuery(key, value string) RequestOption { function WithQueryAdd (line 148) | func WithQueryAdd(key, value string) RequestOption { function WithQueryDel (line 158) | func WithQueryDel(key string) RequestOption { function WithJSONSet (line 171) | func WithJSONSet(key string, value any) RequestOption { function WithJSONDel (line 199) | func WithJSONDel(key string) RequestOption { function WithResponseBodyInto (line 217) | func WithResponseBodyInto(dst any) RequestOption { function WithResponseInto (line 225) | func WithResponseInto(dst **http.Response) RequestOption { function WithRequestBody (line 236) | func WithRequestBody(contentType string, body any) RequestOption { function WithRequestTimeout (line 255) | func WithRequestTimeout(dur time.Duration) RequestOption { function WithEnvironmentProduction (line 267) | func WithEnvironmentProduction() RequestOption { function WithAPIKey (line 272) | func WithAPIKey(value string) RequestOption { function WithAuthToken (line 280) | func WithAuthToken(value string) RequestOption { FILE: packages/jsonl/jsonl.go type Stream (line 13) | type Stream struct function NewStream (line 20) | func NewStream[T any](res *http.Response, err error) *Stream[T] { method Next (line 36) | func (s *Stream[T]) Next() bool { method Current (line 52) | func (s *Stream[T]) Current() T { method Err (line 56) | func (s *Stream[T]) Err() error { method Close (line 60) | func (s *Stream[T]) Close() error { FILE: packages/pagination/pagination.go type Page (line 21) | type Page struct method RawJSON (line 40) | func (r Page[T]) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 41) | func (r *Page[T]) UnmarshalJSON(data []byte) error { method GetNextPage (line 48) | func (r *Page[T]) GetNextPage() (res *Page[T], err error) { method SetPageConfig (line 87) | func (r *Page[T]) SetPageConfig(cfg *requestconfig.RequestConfig, res *h... type PageAutoPager (line 95) | type PageAutoPager struct function NewPageAutoPager (line 104) | func NewPageAutoPager[T any](page *Page[T], err error) *PageAutoPager[T] { method Next (line 111) | func (r *PageAutoPager[T]) Next() bool { method Current (line 128) | func (r *PageAutoPager[T]) Current() T { method Err (line 132) | func (r *PageAutoPager[T]) Err() error { method Index (line 136) | func (r *PageAutoPager[T]) Index() int { type TokenPage (line 140) | type TokenPage struct method RawJSON (line 157) | func (r TokenPage[T]) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 158) | func (r *TokenPage[T]) UnmarshalJSON(data []byte) error { method GetNextPage (line 165) | func (r *TokenPage[T]) GetNextPage() (res *TokenPage[T], err error) { method SetPageConfig (line 193) | func (r *TokenPage[T]) SetPageConfig(cfg *requestconfig.RequestConfig, r... type TokenPageAutoPager (line 201) | type TokenPageAutoPager struct function NewTokenPageAutoPager (line 210) | func NewTokenPageAutoPager[T any](page *TokenPage[T], err error) *TokenP... method Next (line 217) | func (r *TokenPageAutoPager[T]) Next() bool { method Current (line 234) | func (r *TokenPageAutoPager[T]) Current() T { method Err (line 238) | func (r *TokenPageAutoPager[T]) Err() error { method Index (line 242) | func (r *TokenPageAutoPager[T]) Index() int { type PageCursor (line 246) | type PageCursor struct method RawJSON (line 263) | func (r PageCursor[T]) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 264) | func (r *PageCursor[T]) UnmarshalJSON(data []byte) error { method GetNextPage (line 271) | func (r *PageCursor[T]) GetNextPage() (res *PageCursor[T], err error) { method SetPageConfig (line 299) | func (r *PageCursor[T]) SetPageConfig(cfg *requestconfig.RequestConfig, ... type PageCursorAutoPager (line 307) | type PageCursorAutoPager struct function NewPageCursorAutoPager (line 316) | func NewPageCursorAutoPager[T any](page *PageCursor[T], err error) *Page... method Next (line 323) | func (r *PageCursorAutoPager[T]) Next() bool { method Current (line 340) | func (r *PageCursorAutoPager[T]) Current() T { method Err (line 344) | func (r *PageCursorAutoPager[T]) Err() error { method Index (line 348) | func (r *PageCursorAutoPager[T]) Index() int { FILE: packages/param/encoder.go type EncodedAsDate (line 16) | type EncodedAsDate method MarshalJSON (line 24) | func (m EncodedAsDate) MarshalJSON() ([]byte, error) { type forceOmit (line 22) | type forceOmit function MarshalObject (line 36) | func MarshalObject[T ParamStruct](f T, underlying any) ([]byte, error) { function MarshalWithExtras (line 43) | func MarshalWithExtras[T ParamStruct, R any](f T, underlying any, extras... function MarshalUnion (line 76) | func MarshalUnion[T ParamStruct](metadata T, variants ...any) ([]byte, e... function typeFor (line 103) | func typeFor[T any]() reflect.Type { FILE: packages/param/encoder_test.go type Struct (line 11) | type Struct struct method MarshalJSON (line 17) | func (r Struct) MarshalJSON() (data []byte, err error) { type FieldStruct (line 25) | type FieldStruct struct method MarshalJSON (line 37) | func (r FieldStruct) MarshalJSON() (data []byte, err error) { type StructWithAdditionalProperties (line 42) | type StructWithAdditionalProperties struct method MarshalJSON (line 49) | func (s StructWithAdditionalProperties) MarshalJSON() ([]byte, error) { function TestIsNullish (line 54) | func TestIsNullish(t *testing.T) { function TestFieldMarshal (line 92) | func TestFieldMarshal(t *testing.T) { function TestAdditionalProperties (line 159) | func TestAdditionalProperties(t *testing.T) { function TestExtraFields (line 179) | func TestExtraFields(t *testing.T) { function TestExtraFieldsForceOmitted (line 200) | func TestExtraFieldsForceOmitted(t *testing.T) { type UnionWithDates (line 218) | type UnionWithDates struct method MarshalJSON (line 224) | func (r UnionWithDates) MarshalJSON() (data []byte, err error) { function TestUnionDateMarshal (line 228) | func TestUnionDateMarshal(t *testing.T) { function TestOverride (line 260) | func TestOverride(t *testing.T) { type almostOpt (line 307) | type almostOpt struct method Valid (line 309) | func (almostOpt) Valid() bool { return true } method Null (line 310) | func (almostOpt) Null() bool { return false } method isZero (line 311) | func (almostOpt) isZero() bool { return false } method implOpt (line 313) | func (almostOpt) implOpt() {} function TestOptionalInterfaceAssignability (line 315) | func TestOptionalInterfaceAssignability(t *testing.T) { type PrimitiveUnion (line 329) | type PrimitiveUnion struct method MarshalJSON (line 335) | func (p PrimitiveUnion) MarshalJSON() (data []byte, err error) { function TestOverriddenUnion (line 339) | func TestOverriddenUnion(t *testing.T) { function TestNullStructUnion (line 367) | func TestNullStructUnion(t *testing.T) { FILE: packages/param/null.go function NullMap (line 9) | func NullMap[MapT ~map[string]T, T any]() MapT { function NullSlice (line 17) | func NullSlice[SliceT ~[]T, T any]() SliceT { FILE: packages/param/null_test.go type Nullables (line 9) | type Nullables struct method MarshalJSON (line 15) | func (n Nullables) MarshalJSON() ([]byte, error) { function TestNullMarshal (line 20) | func TestNullMarshal(t *testing.T) { FILE: packages/param/option.go function NewOpt (line 10) | func NewOpt[T comparable](v T) Opt[T] { function Null (line 17) | func Null[T comparable]() Opt[T] { return Opt[T]{status: null} } type status (line 19) | type status constant omitted (line 22) | omitted status = iota constant null (line 23) | null constant included (line 24) | included type Opt (line 29) | type Opt struct method Valid (line 39) | func (o Opt[T]) Valid() bool { method Or (line 44) | func (o Opt[T]) Or(v T) T { method String (line 51) | func (o Opt[T]) String() string { method MarshalJSON (line 61) | func (o Opt[T]) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 68) | func (o *Opt[T]) UnmarshalJSON(data []byte) error { method MarshalJSONWithTimeLayout (line 93) | func (o Opt[T]) MarshalJSONWithTimeLayout(format string) []byte { method null (line 106) | func (o Opt[T]) null() bool { return o.status == null } method isZero (line 107) | func (o Opt[T]) isZero() bool { return o == Opt[T]{} } type opt (line 110) | type opt struct method implOpt (line 112) | func (opt) implOpt() {} type Optional (line 115) | type Optional interface FILE: packages/param/param.go function NullStruct (line 18) | func NullStruct[T ParamStruct, PtrT InferPtr[T]]() T { function Override (line 37) | func Override[T ParamStruct, PtrT InferPtr[T]](v any) T { function SetJSON (line 53) | func SetJSON(rawJSON []byte, ptr anyParamStruct) { function IsOmitted (line 63) | func IsOmitted(v any) bool { function IsNull (line 79) | func IsNull[T any](v T) bool { type ParamNullable (line 94) | type ParamNullable interface type ParamStruct (line 101) | type ParamStruct interface type anyParamStruct (line 108) | type anyParamStruct interface type InferPtr (line 113) | type InferPtr interface type APIObject (line 119) | type APIObject struct type APIUnion (line 122) | type APIUnion struct constant Omit (line 144) | Omit forceOmit = -1 type metadata (line 176) | type metadata struct method Overrides (line 126) | func (m metadata) Overrides() (any, bool) { method ExtraFields (line 134) | func (m metadata) ExtraFields() map[string]any { method SetExtraFields (line 157) | func (m *metadata) SetExtraFields(extraFields map[string]any) { method extraFields (line 162) | func (m metadata) extraFields() map[string]any { return m.ExtraFields() } method null (line 164) | func (m metadata) null() bool { method setMetadata (line 180) | func (m *metadata) setMetadata(override any) { type metadataNull (line 177) | type metadataNull struct type metadataExtraFields (line 178) | type metadataExtraFields FILE: packages/respjson/decoder_test.go type UnionOfStringIntOrObject (line 12) | type UnionOfStringIntOrObject struct method RawJSON (line 26) | func (u UnionOfStringIntOrObject) RawJSON() string { return u.JSON.raw } method UnmarshalJSON (line 27) | func (r *UnionOfStringIntOrObject) UnmarshalJSON(data []byte) error { type SubFields (line 31) | type SubFields struct method RawJSON (line 42) | func (r SubFields) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 43) | func (r *SubFields) UnmarshalJSON(data []byte) error { function TestUnmarshalUnionString (line 47) | func TestUnmarshalUnionString(t *testing.T) { function TestUnmarshalUnionInt (line 67) | func TestUnmarshalUnionInt(t *testing.T) { function TestUnmarshalUnionObject (line 99) | func TestUnmarshalUnionObject(t *testing.T) { function TestUnmarshalUnionObjectWithInlineSubUnion (line 121) | func TestUnmarshalUnionObjectWithInlineSubUnion(t *testing.T) { function testUnmarshalUnion (line 146) | func testUnmarshalUnion[T any](t *testing.T, raw string, check testCheck... function checkEqual (line 160) | func checkEqual[T any](got, expected T) error { type metaStatus (line 167) | type metaStatus constant shouldBePresent (line 170) | shouldBePresent metaStatus = iota constant shouldBeNullish (line 171) | shouldBeNullish constant shouldBeInvalid (line 172) | shouldBeInvalid type testChecks (line 175) | type testChecks function checkMeta (line 177) | func checkMeta(got rj.Field, raw string, stat metaStatus) error { FILE: packages/respjson/respjson.go type Field (line 49) | type Field struct method Valid (line 66) | func (j Field) Valid() bool { return j.status > invalid } method Raw (line 72) | func (j Field) Raw() string { constant omitted (line 55) | omitted status = iota constant null (line 56) | null constant invalid (line 57) | invalid constant valid (line 58) | valid type status (line 61) | type status constant Null (line 68) | Null string = "null" constant Omitted (line 69) | Omitted string = "" function NewField (line 79) | func NewField(raw string) Field { function NewInvalidField (line 86) | func NewInvalidField(raw string) Field { FILE: packages/ssestream/ssestream.go type Decoder (line 15) | type Decoder interface function NewDecoder (line 22) | func NewDecoder(res *http.Response) Decoder { function RegisterDecoder (line 41) | func RegisterDecoder(contentType string, decoder func(io.ReadCloser) Dec... type Event (line 45) | type Event struct type eventStreamDecoder (line 51) | type eventStreamDecoder struct method Next (line 58) | func (s *eventStreamDecoder) Next() bool { method Event (line 111) | func (s *eventStreamDecoder) Event() Event { method Close (line 115) | func (s *eventStreamDecoder) Close() error { method Err (line 119) | func (s *eventStreamDecoder) Err() error { type Stream (line 123) | type Stream struct function NewStream (line 129) | func NewStream[T any](decoder Decoder, err error) *Stream[T] { method Next (line 147) | func (s *Stream[T]) Next() bool { method Current (line 184) | func (s *Stream[T]) Current() T { method Err (line 188) | func (s *Stream[T]) Err() error { method Close (line 192) | func (s *Stream[T]) Close() error { FILE: paginationauto_test.go function TestAutoPagination (line 15) | func TestAutoPagination(t *testing.T) { FILE: paginationmanual_test.go function TestManualPagination (line 15) | func TestManualPagination(t *testing.T) { FILE: schemautil.go function BetaJSONSchemaOutputFormat (line 32) | func BetaJSONSchemaOutputFormat(jsonSchema map[string]any) BetaJSONOutpu... function BetaToolInputSchema (line 38) | func BetaToolInputSchema(jsonSchema map[string]any) BetaToolInputSchemaP... function transformSchema (line 99) | func transformSchema(jsonSchema map[string]any) map[string]any { FILE: schemautil_test.go function TestTransformSchema (line 9) | func TestTransformSchema(t *testing.T) { FILE: shared/constant/constants.go type Constant (line 22) | type Constant interface function ValueOf (line 29) | func ValueOf[T Constant[T]]() T { type Adaptive (line 34) | type Adaptive method Default (line 169) | func (c Adaptive) Default() Adaptive { return "a... method MarshalJSON (line 340) | func (c Adaptive) MarshalJSON() ([]byte, error) ... type All (line 35) | type All method Default (line 170) | func (c All) Default() All { return "a... method MarshalJSON (line 341) | func (c All) MarshalJSON() ([]byte, error) ... type Any (line 36) | type Any method Default (line 171) | func (c Any) Default() Any { return "a... method MarshalJSON (line 342) | func (c Any) MarshalJSON() ([]byte, error) ... type APIError (line 37) | type APIError method Default (line 172) | func (c APIError) Default() APIError { return "a... method MarshalJSON (line 343) | func (c APIError) MarshalJSON() ([]byte, error) ... type ApplicationPDF (line 38) | type ApplicationPDF method Default (line 173) | func (c ApplicationPDF) Default() ApplicationPDF { return "a... method MarshalJSON (line 344) | func (c ApplicationPDF) MarshalJSON() ([]byte, error) ... type Approximate (line 39) | type Approximate method Default (line 174) | func (c Approximate) Default() Approximate { return "a... method MarshalJSON (line 345) | func (c Approximate) MarshalJSON() ([]byte, error) ... type Assistant (line 40) | type Assistant method Default (line 175) | func (c Assistant) Default() Assistant { return "a... method MarshalJSON (line 346) | func (c Assistant) MarshalJSON() ([]byte, error) ... type AuthenticationError (line 41) | type AuthenticationError method Default (line 176) | func (c AuthenticationError) Default() AuthenticationError { return "a... method MarshalJSON (line 347) | func (c AuthenticationError) MarshalJSON() ([]byte, error) ... type Auto (line 42) | type Auto method Default (line 177) | func (c Auto) Default() Auto { return "a... method MarshalJSON (line 348) | func (c Auto) MarshalJSON() ([]byte, error) ... type Base64 (line 43) | type Base64 method Default (line 178) | func (c Base64) Default() Base64 { return "b... method MarshalJSON (line 349) | func (c Base64) MarshalJSON() ([]byte, error) ... type Bash (line 44) | type Bash method Default (line 179) | func (c Bash) Default() Bash { return "b... method MarshalJSON (line 350) | func (c Bash) MarshalJSON() ([]byte, error) ... type Bash20241022 (line 45) | type Bash20241022 method Default (line 180) | func (c Bash20241022) Default() Bash20241022 { return "b... method MarshalJSON (line 351) | func (c Bash20241022) MarshalJSON() ([]byte, error) ... type Bash20250124 (line 46) | type Bash20250124 method Default (line 181) | func (c Bash20250124) Default() Bash20250124 { return "b... method MarshalJSON (line 352) | func (c Bash20250124) MarshalJSON() ([]byte, error) ... type BashCodeExecutionOutput (line 47) | type BashCodeExecutionOutput method Default (line 182) | func (c BashCodeExecutionOutput) Default() BashCodeExecutionOutput { method MarshalJSON (line 353) | func (c BashCodeExecutionOutput) MarshalJSON() ([]byte, error) ... type BashCodeExecutionResult (line 48) | type BashCodeExecutionResult method Default (line 185) | func (c BashCodeExecutionResult) Default() BashCodeExecutionResult { method MarshalJSON (line 354) | func (c BashCodeExecutionResult) MarshalJSON() ([]byte, error) ... type BashCodeExecutionToolResult (line 49) | type BashCodeExecutionToolResult method Default (line 188) | func (c BashCodeExecutionToolResult) Default() BashCodeExecutionToolRe... method MarshalJSON (line 355) | func (c BashCodeExecutionToolResult) MarshalJSON() ([]byte, error) ... type BashCodeExecutionToolResultError (line 50) | type BashCodeExecutionToolResultError method Default (line 191) | func (c BashCodeExecutionToolResultError) Default() BashCodeExecutionT... method MarshalJSON (line 356) | func (c BashCodeExecutionToolResultError) MarshalJSON() ([]byte, error... type BillingError (line 51) | type BillingError method Default (line 194) | func (c BillingError) Default() BillingError { retur... method MarshalJSON (line 357) | func (c BillingError) MarshalJSON() ([]byte, error) ... type Canceled (line 52) | type Canceled method Default (line 195) | func (c Canceled) Default() Canceled { retur... method MarshalJSON (line 358) | func (c Canceled) MarshalJSON() ([]byte, error) ... type CharLocation (line 53) | type CharLocation method Default (line 196) | func (c CharLocation) Default() CharLocation { retur... method MarshalJSON (line 359) | func (c CharLocation) MarshalJSON() ([]byte, error) ... type CitationsDelta (line 54) | type CitationsDelta method Default (line 197) | func (c CitationsDelta) Default() CitationsDelta { retur... method MarshalJSON (line 360) | func (c CitationsDelta) MarshalJSON() ([]byte, error) ... type ClearThinking20251015 (line 55) | type ClearThinking20251015 method Default (line 198) | func (c ClearThinking20251015) Default() ClearThinking20251015 { retur... method MarshalJSON (line 361) | func (c ClearThinking20251015) MarshalJSON() ([]byte, error) ... type ClearToolUses20250919 (line 56) | type ClearToolUses20250919 method Default (line 199) | func (c ClearToolUses20250919) Default() ClearToolUses20250919 { retur... method MarshalJSON (line 362) | func (c ClearToolUses20250919) MarshalJSON() ([]byte, error) ... type CodeExecution (line 57) | type CodeExecution method Default (line 200) | func (c CodeExecution) Default() CodeExecution { retur... method MarshalJSON (line 363) | func (c CodeExecution) MarshalJSON() ([]byte, error) ... type CodeExecution20250522 (line 58) | type CodeExecution20250522 method Default (line 201) | func (c CodeExecution20250522) Default() CodeExecution20250522 { retur... method MarshalJSON (line 364) | func (c CodeExecution20250522) MarshalJSON() ([]byte, error) ... type CodeExecution20250825 (line 59) | type CodeExecution20250825 method Default (line 202) | func (c CodeExecution20250825) Default() CodeExecution20250825 { retur... method MarshalJSON (line 365) | func (c CodeExecution20250825) MarshalJSON() ([]byte, error) ... type CodeExecution20260120 (line 60) | type CodeExecution20260120 method Default (line 203) | func (c CodeExecution20260120) Default() CodeExecution20260120 { retur... method MarshalJSON (line 366) | func (c CodeExecution20260120) MarshalJSON() ([]byte, error) ... type CodeExecutionOutput (line 61) | type CodeExecutionOutput method Default (line 204) | func (c CodeExecutionOutput) Default() CodeExecutionOutput { retur... method MarshalJSON (line 367) | func (c CodeExecutionOutput) MarshalJSON() ([]byte, error) ... type CodeExecutionResult (line 62) | type CodeExecutionResult method Default (line 205) | func (c CodeExecutionResult) Default() CodeExecutionResult { retur... method MarshalJSON (line 368) | func (c CodeExecutionResult) MarshalJSON() ([]byte, error) ... type CodeExecutionToolResult (line 63) | type CodeExecutionToolResult method Default (line 206) | func (c CodeExecutionToolResult) Default() CodeExecutionToolResult { method MarshalJSON (line 369) | func (c CodeExecutionToolResult) MarshalJSON() ([]byte, error) ... type CodeExecutionToolResultError (line 64) | type CodeExecutionToolResultError method Default (line 209) | func (c CodeExecutionToolResultError) Default() CodeExecutionToolResul... method MarshalJSON (line 370) | func (c CodeExecutionToolResultError) MarshalJSON() ([]byte, error) ... type Compact20260112 (line 65) | type Compact20260112 method Default (line 212) | func (c Compact20260112) Default() Compact20260112 { return ... method MarshalJSON (line 371) | func (c Compact20260112) MarshalJSON() ([]byte, error) ... type Compaction (line 66) | type Compaction method Default (line 213) | func (c Compaction) Default() Compaction { return ... method MarshalJSON (line 372) | func (c Compaction) MarshalJSON() ([]byte, error) ... type CompactionDelta (line 67) | type CompactionDelta method Default (line 214) | func (c CompactionDelta) Default() CompactionDelta { return ... method MarshalJSON (line 373) | func (c CompactionDelta) MarshalJSON() ([]byte, error) ... type Completion (line 68) | type Completion method Default (line 215) | func (c Completion) Default() Completion { return ... method MarshalJSON (line 374) | func (c Completion) MarshalJSON() ([]byte, error) ... type Computer (line 69) | type Computer method Default (line 216) | func (c Computer) Default() Computer { return ... method MarshalJSON (line 375) | func (c Computer) MarshalJSON() ([]byte, error) ... type Computer20241022 (line 70) | type Computer20241022 method Default (line 217) | func (c Computer20241022) Default() Computer20241022 { return ... method MarshalJSON (line 376) | func (c Computer20241022) MarshalJSON() ([]byte, error) ... type Computer20250124 (line 71) | type Computer20250124 method Default (line 218) | func (c Computer20250124) Default() Computer20250124 { return ... method MarshalJSON (line 377) | func (c Computer20250124) MarshalJSON() ([]byte, error) ... type Computer20251124 (line 72) | type Computer20251124 method Default (line 219) | func (c Computer20251124) Default() Computer20251124 { return ... method MarshalJSON (line 378) | func (c Computer20251124) MarshalJSON() ([]byte, error) ... type ContainerUpload (line 73) | type ContainerUpload method Default (line 220) | func (c ContainerUpload) Default() ContainerUpload { return ... method MarshalJSON (line 379) | func (c ContainerUpload) MarshalJSON() ([]byte, error) ... type Content (line 74) | type Content method Default (line 221) | func (c Content) Default() Content { return ... method MarshalJSON (line 380) | func (c Content) MarshalJSON() ([]byte, error) ... type ContentBlockDelta (line 75) | type ContentBlockDelta method Default (line 222) | func (c ContentBlockDelta) Default() ContentBlockDelta { return ... method MarshalJSON (line 381) | func (c ContentBlockDelta) MarshalJSON() ([]byte, error) ... type ContentBlockLocation (line 76) | type ContentBlockLocation method Default (line 223) | func (c ContentBlockLocation) Default() ContentBlockLocation { return ... method MarshalJSON (line 382) | func (c ContentBlockLocation) MarshalJSON() ([]byte, error) ... type ContentBlockStart (line 77) | type ContentBlockStart method Default (line 224) | func (c ContentBlockStart) Default() ContentBlockStart { return ... method MarshalJSON (line 383) | func (c ContentBlockStart) MarshalJSON() ([]byte, error) ... type ContentBlockStop (line 78) | type ContentBlockStop method Default (line 225) | func (c ContentBlockStop) Default() ContentBlockStop { return ... method MarshalJSON (line 384) | func (c ContentBlockStop) MarshalJSON() ([]byte, error) ... type Create (line 79) | type Create method Default (line 226) | func (c Create) Default() Create { return ... method MarshalJSON (line 385) | func (c Create) MarshalJSON() ([]byte, error) ... type Delete (line 80) | type Delete method Default (line 227) | func (c Delete) Default() Delete { return ... method MarshalJSON (line 386) | func (c Delete) MarshalJSON() ([]byte, error) ... type Direct (line 81) | type Direct method Default (line 228) | func (c Direct) Default() Direct { return ... method MarshalJSON (line 387) | func (c Direct) MarshalJSON() ([]byte, error) ... type Disabled (line 82) | type Disabled method Default (line 229) | func (c Disabled) Default() Disabled { return ... method MarshalJSON (line 388) | func (c Disabled) MarshalJSON() ([]byte, error) ... type Document (line 83) | type Document method Default (line 230) | func (c Document) Default() Document { return ... method MarshalJSON (line 389) | func (c Document) MarshalJSON() ([]byte, error) ... type Enabled (line 84) | type Enabled method Default (line 231) | func (c Enabled) Default() Enabled { return ... method MarshalJSON (line 390) | func (c Enabled) MarshalJSON() ([]byte, error) ... type EncryptedCodeExecutionResult (line 85) | type EncryptedCodeExecutionResult method Default (line 232) | func (c EncryptedCodeExecutionResult) Default() EncryptedCodeExecution... method MarshalJSON (line 391) | func (c EncryptedCodeExecutionResult) MarshalJSON() ([]byte, error) ... type Ephemeral (line 86) | type Ephemeral method Default (line 235) | func (c Ephemeral) Default() Ephemeral { return ... method MarshalJSON (line 392) | func (c Ephemeral) MarshalJSON() ([]byte, error) ... type Error (line 87) | type Error method Default (line 236) | func (c Error) Default() Error { return ... method MarshalJSON (line 393) | func (c Error) MarshalJSON() ([]byte, error) ... type Errored (line 88) | type Errored method Default (line 237) | func (c Errored) Default() Errored { return ... method MarshalJSON (line 394) | func (c Errored) MarshalJSON() ([]byte, error) ... type Expired (line 89) | type Expired method Default (line 238) | func (c Expired) Default() Expired { return ... method MarshalJSON (line 395) | func (c Expired) MarshalJSON() ([]byte, error) ... type File (line 90) | type File method Default (line 239) | func (c File) Default() File { return ... method MarshalJSON (line 396) | func (c File) MarshalJSON() ([]byte, error) ... type Image (line 91) | type Image method Default (line 240) | func (c Image) Default() Image { return ... method MarshalJSON (line 397) | func (c Image) MarshalJSON() ([]byte, error) ... type InputJSONDelta (line 92) | type InputJSONDelta method Default (line 241) | func (c InputJSONDelta) Default() InputJSONDelta { return ... method MarshalJSON (line 398) | func (c InputJSONDelta) MarshalJSON() ([]byte, error) ... type InputTokens (line 93) | type InputTokens method Default (line 242) | func (c InputTokens) Default() InputTokens { return ... method MarshalJSON (line 399) | func (c InputTokens) MarshalJSON() ([]byte, error) ... type Insert (line 94) | type Insert method Default (line 243) | func (c Insert) Default() Insert { return ... method MarshalJSON (line 400) | func (c Insert) MarshalJSON() ([]byte, error) ... type InvalidRequestError (line 95) | type InvalidRequestError method Default (line 244) | func (c InvalidRequestError) Default() InvalidRequestError { return ... method MarshalJSON (line 401) | func (c InvalidRequestError) MarshalJSON() ([]byte, error) ... type JSONSchema (line 96) | type JSONSchema method Default (line 245) | func (c JSONSchema) Default() JSONSchema { return ... method MarshalJSON (line 402) | func (c JSONSchema) MarshalJSON() ([]byte, error) ... type MCPToolResult (line 97) | type MCPToolResult method Default (line 246) | func (c MCPToolResult) Default() MCPToolResult { return ... method MarshalJSON (line 403) | func (c MCPToolResult) MarshalJSON() ([]byte, error) ... type MCPToolUse (line 98) | type MCPToolUse method Default (line 247) | func (c MCPToolUse) Default() MCPToolUse { return ... method MarshalJSON (line 404) | func (c MCPToolUse) MarshalJSON() ([]byte, error) ... type MCPToolset (line 99) | type MCPToolset method Default (line 248) | func (c MCPToolset) Default() MCPToolset { return ... method MarshalJSON (line 405) | func (c MCPToolset) MarshalJSON() ([]byte, error) ... type Memory (line 100) | type Memory method Default (line 249) | func (c Memory) Default() Memory { return ... method MarshalJSON (line 406) | func (c Memory) MarshalJSON() ([]byte, error) ... type Memory20250818 (line 101) | type Memory20250818 method Default (line 250) | func (c Memory20250818) Default() Memory20250818 { return ... method MarshalJSON (line 407) | func (c Memory20250818) MarshalJSON() ([]byte, error) ... type Message (line 102) | type Message method Default (line 251) | func (c Message) Default() Message { return ... method MarshalJSON (line 408) | func (c Message) MarshalJSON() ([]byte, error) ... type MessageBatch (line 103) | type MessageBatch method Default (line 252) | func (c MessageBatch) Default() MessageBatch { return ... method MarshalJSON (line 409) | func (c MessageBatch) MarshalJSON() ([]byte, error) ... type MessageBatchDeleted (line 104) | type MessageBatchDeleted method Default (line 253) | func (c MessageBatchDeleted) Default() MessageBatchDeleted { return ... method MarshalJSON (line 410) | func (c MessageBatchDeleted) MarshalJSON() ([]byte, error) ... type MessageDelta (line 105) | type MessageDelta method Default (line 254) | func (c MessageDelta) Default() MessageDelta { return ... method MarshalJSON (line 411) | func (c MessageDelta) MarshalJSON() ([]byte, error) ... type MessageStart (line 106) | type MessageStart method Default (line 255) | func (c MessageStart) Default() MessageStart { return ... method MarshalJSON (line 412) | func (c MessageStart) MarshalJSON() ([]byte, error) ... type MessageStop (line 107) | type MessageStop method Default (line 256) | func (c MessageStop) Default() MessageStop { return ... method MarshalJSON (line 413) | func (c MessageStop) MarshalJSON() ([]byte, error) ... type Model (line 108) | type Model method Default (line 257) | func (c Model) Default() Model { return ... method MarshalJSON (line 414) | func (c Model) MarshalJSON() ([]byte, error) ... type None (line 109) | type None method Default (line 258) | func (c None) Default() None { return ... method MarshalJSON (line 415) | func (c None) MarshalJSON() ([]byte, error) ... type NotFoundError (line 110) | type NotFoundError method Default (line 259) | func (c NotFoundError) Default() NotFoundError { return ... method MarshalJSON (line 416) | func (c NotFoundError) MarshalJSON() ([]byte, error) ... type Object (line 111) | type Object method Default (line 260) | func (c Object) Default() Object { return ... method MarshalJSON (line 417) | func (c Object) MarshalJSON() ([]byte, error) ... type OverloadedError (line 112) | type OverloadedError method Default (line 261) | func (c OverloadedError) Default() OverloadedError { return ... method MarshalJSON (line 418) | func (c OverloadedError) MarshalJSON() ([]byte, error) ... type PageLocation (line 113) | type PageLocation method Default (line 262) | func (c PageLocation) Default() PageLocation { return ... method MarshalJSON (line 419) | func (c PageLocation) MarshalJSON() ([]byte, error) ... type PermissionError (line 114) | type PermissionError method Default (line 263) | func (c PermissionError) Default() PermissionError { return ... method MarshalJSON (line 420) | func (c PermissionError) MarshalJSON() ([]byte, error) ... type RateLimitError (line 115) | type RateLimitError method Default (line 264) | func (c RateLimitError) Default() RateLimitError { return ... method MarshalJSON (line 421) | func (c RateLimitError) MarshalJSON() ([]byte, error) ... type RedactedThinking (line 116) | type RedactedThinking method Default (line 265) | func (c RedactedThinking) Default() RedactedThinking { return ... method MarshalJSON (line 422) | func (c RedactedThinking) MarshalJSON() ([]byte, error) ... type Rename (line 117) | type Rename method Default (line 266) | func (c Rename) Default() Rename { return ... method MarshalJSON (line 423) | func (c Rename) MarshalJSON() ([]byte, error) ... type SearchResult (line 118) | type SearchResult method Default (line 267) | func (c SearchResult) Default() SearchResult { return ... method MarshalJSON (line 424) | func (c SearchResult) MarshalJSON() ([]byte, error) ... type SearchResultLocation (line 119) | type SearchResultLocation method Default (line 268) | func (c SearchResultLocation) Default() SearchResultLocation { return ... method MarshalJSON (line 425) | func (c SearchResultLocation) MarshalJSON() ([]byte, error) ... type ServerToolUse (line 120) | type ServerToolUse method Default (line 269) | func (c ServerToolUse) Default() ServerToolUse { return ... method MarshalJSON (line 426) | func (c ServerToolUse) MarshalJSON() ([]byte, error) ... type SignatureDelta (line 121) | type SignatureDelta method Default (line 270) | func (c SignatureDelta) Default() SignatureDelta { return ... method MarshalJSON (line 427) | func (c SignatureDelta) MarshalJSON() ([]byte, error) ... type StrReplace (line 122) | type StrReplace method Default (line 271) | func (c StrReplace) Default() StrReplace { return ... method MarshalJSON (line 428) | func (c StrReplace) MarshalJSON() ([]byte, error) ... type StrReplaceBasedEditTool (line 123) | type StrReplaceBasedEditTool method Default (line 272) | func (c StrReplaceBasedEditTool) Default() StrReplaceBasedEditTool { method MarshalJSON (line 429) | func (c StrReplaceBasedEditTool) MarshalJSON() ([]byte, error) ... type StrReplaceEditor (line 124) | type StrReplaceEditor method Default (line 275) | func (c StrReplaceEditor) Default() StrReplaceEditor { return "str... method MarshalJSON (line 430) | func (c StrReplaceEditor) MarshalJSON() ([]byte, error) ... type Succeeded (line 125) | type Succeeded method Default (line 276) | func (c Succeeded) Default() Succeeded { return "suc... method MarshalJSON (line 431) | func (c Succeeded) MarshalJSON() ([]byte, error) ... type Text (line 126) | type Text method Default (line 277) | func (c Text) Default() Text { return "tex... method MarshalJSON (line 432) | func (c Text) MarshalJSON() ([]byte, error) ... type TextDelta (line 127) | type TextDelta method Default (line 278) | func (c TextDelta) Default() TextDelta { return "tex... method MarshalJSON (line 433) | func (c TextDelta) MarshalJSON() ([]byte, error) ... type TextEditor20241022 (line 128) | type TextEditor20241022 method Default (line 279) | func (c TextEditor20241022) Default() TextEditor20241022 { return "tex... method MarshalJSON (line 434) | func (c TextEditor20241022) MarshalJSON() ([]byte, error) ... type TextEditor20250124 (line 129) | type TextEditor20250124 method Default (line 280) | func (c TextEditor20250124) Default() TextEditor20250124 { return "tex... method MarshalJSON (line 435) | func (c TextEditor20250124) MarshalJSON() ([]byte, error) ... type TextEditor20250429 (line 130) | type TextEditor20250429 method Default (line 281) | func (c TextEditor20250429) Default() TextEditor20250429 { return "tex... method MarshalJSON (line 436) | func (c TextEditor20250429) MarshalJSON() ([]byte, error) ... type TextEditor20250728 (line 131) | type TextEditor20250728 method Default (line 282) | func (c TextEditor20250728) Default() TextEditor20250728 { return "tex... method MarshalJSON (line 437) | func (c TextEditor20250728) MarshalJSON() ([]byte, error) ... type TextEditorCodeExecutionCreateResult (line 132) | type TextEditorCodeExecutionCreateResult method Default (line 283) | func (c TextEditorCodeExecutionCreateResult) Default() TextEditorCodeE... method MarshalJSON (line 438) | func (c TextEditorCodeExecutionCreateResult) MarshalJSON() ([]byte, er... type TextEditorCodeExecutionStrReplaceResult (line 133) | type TextEditorCodeExecutionStrReplaceResult method Default (line 286) | func (c TextEditorCodeExecutionStrReplaceResult) Default() TextEditorC... method MarshalJSON (line 439) | func (c TextEditorCodeExecutionStrReplaceResult) MarshalJSON() ([]byte... type TextEditorCodeExecutionToolResult (line 134) | type TextEditorCodeExecutionToolResult method Default (line 289) | func (c TextEditorCodeExecutionToolResult) Default() TextEditorCodeExe... method MarshalJSON (line 442) | func (c TextEditorCodeExecutionToolResult) MarshalJSON() ([]byte, erro... type TextEditorCodeExecutionToolResultError (line 135) | type TextEditorCodeExecutionToolResultError method Default (line 292) | func (c TextEditorCodeExecutionToolResultError) Default() TextEditorCo... method MarshalJSON (line 443) | func (c TextEditorCodeExecutionToolResultError) MarshalJSON() ([]byte,... type TextEditorCodeExecutionViewResult (line 136) | type TextEditorCodeExecutionViewResult method Default (line 295) | func (c TextEditorCodeExecutionViewResult) Default() TextEditorCodeExe... method MarshalJSON (line 446) | func (c TextEditorCodeExecutionViewResult) MarshalJSON() ([]byte, erro... type TextPlain (line 137) | type TextPlain method Default (line 298) | func (c TextPlain) Default() TextPlain { return ... method MarshalJSON (line 447) | func (c TextPlain) MarshalJSON() ([]byte, error) ... type Thinking (line 138) | type Thinking method Default (line 299) | func (c Thinking) Default() Thinking { return ... method MarshalJSON (line 448) | func (c Thinking) MarshalJSON() ([]byte, error) ... type ThinkingDelta (line 139) | type ThinkingDelta method Default (line 300) | func (c ThinkingDelta) Default() ThinkingDelta { return ... method MarshalJSON (line 449) | func (c ThinkingDelta) MarshalJSON() ([]byte, error) ... type ThinkingTurns (line 140) | type ThinkingTurns method Default (line 301) | func (c ThinkingTurns) Default() ThinkingTurns { return ... method MarshalJSON (line 450) | func (c ThinkingTurns) MarshalJSON() ([]byte, error) ... type TimeoutError (line 141) | type TimeoutError method Default (line 302) | func (c TimeoutError) Default() TimeoutError { return ... method MarshalJSON (line 451) | func (c TimeoutError) MarshalJSON() ([]byte, error) ... type Tool (line 142) | type Tool method Default (line 303) | func (c Tool) Default() Tool { return ... method MarshalJSON (line 452) | func (c Tool) MarshalJSON() ([]byte, error) ... type ToolReference (line 143) | type ToolReference method Default (line 304) | func (c ToolReference) Default() ToolReference { return ... method MarshalJSON (line 453) | func (c ToolReference) MarshalJSON() ([]byte, error) ... type ToolResult (line 144) | type ToolResult method Default (line 305) | func (c ToolResult) Default() ToolResult { return ... method MarshalJSON (line 454) | func (c ToolResult) MarshalJSON() ([]byte, error) ... type ToolSearchToolBm25 (line 145) | type ToolSearchToolBm25 method Default (line 306) | func (c ToolSearchToolBm25) Default() ToolSearchToolBm25 { return ... method MarshalJSON (line 455) | func (c ToolSearchToolBm25) MarshalJSON() ([]byte, error) ... type ToolSearchToolRegex (line 146) | type ToolSearchToolRegex method Default (line 307) | func (c ToolSearchToolRegex) Default() ToolSearchToolRegex { return ... method MarshalJSON (line 456) | func (c ToolSearchToolRegex) MarshalJSON() ([]byte, error) ... type ToolSearchToolResult (line 147) | type ToolSearchToolResult method Default (line 308) | func (c ToolSearchToolResult) Default() ToolSearchToolResult { return ... method MarshalJSON (line 457) | func (c ToolSearchToolResult) MarshalJSON() ([]byte, error) ... type ToolSearchToolResultError (line 148) | type ToolSearchToolResultError method Default (line 309) | func (c ToolSearchToolResultError) Default() ToolSearchToolResultError { method MarshalJSON (line 458) | func (c ToolSearchToolResultError) MarshalJSON() ([]byte, error) ... type ToolSearchToolSearchResult (line 149) | type ToolSearchToolSearchResult method Default (line 312) | func (c ToolSearchToolSearchResult) Default() ToolSearchToolSearchResu... method MarshalJSON (line 459) | func (c ToolSearchToolSearchResult) MarshalJSON() ([]byte, error) ... type ToolUse (line 150) | type ToolUse method Default (line 315) | func (c ToolUse) Default() ToolUse { return "too... method MarshalJSON (line 460) | func (c ToolUse) MarshalJSON() ([]byte, error) ... type ToolUses (line 151) | type ToolUses method Default (line 316) | func (c ToolUses) Default() ToolUses { return "too... method MarshalJSON (line 461) | func (c ToolUses) MarshalJSON() ([]byte, error) ... type URL (line 152) | type URL method Default (line 317) | func (c URL) Default() URL { return "url" } method MarshalJSON (line 462) | func (c URL) MarshalJSON() ([]byte, error) ... type View (line 153) | type View method Default (line 318) | func (c View) Default() View { return "vie... method MarshalJSON (line 463) | func (c View) MarshalJSON() ([]byte, error) ... type WebFetch (line 154) | type WebFetch method Default (line 319) | func (c WebFetch) Default() WebFetch { return "web... method MarshalJSON (line 464) | func (c WebFetch) MarshalJSON() ([]byte, error) ... type WebFetch20250910 (line 155) | type WebFetch20250910 method Default (line 320) | func (c WebFetch20250910) Default() WebFetch20250910 { return "web... method MarshalJSON (line 465) | func (c WebFetch20250910) MarshalJSON() ([]byte, error) ... type WebFetch20260209 (line 156) | type WebFetch20260209 method Default (line 321) | func (c WebFetch20260209) Default() WebFetch20260209 { return "web... method MarshalJSON (line 466) | func (c WebFetch20260209) MarshalJSON() ([]byte, error) ... type WebFetch20260309 (line 157) | type WebFetch20260309 method Default (line 322) | func (c WebFetch20260309) Default() WebFetch20260309 { return "web... method MarshalJSON (line 467) | func (c WebFetch20260309) MarshalJSON() ([]byte, error) ... type WebFetchResult (line 158) | type WebFetchResult method Default (line 323) | func (c WebFetchResult) Default() WebFetchResult { return "web... method MarshalJSON (line 468) | func (c WebFetchResult) MarshalJSON() ([]byte, error) ... type WebFetchToolResult (line 159) | type WebFetchToolResult method Default (line 324) | func (c WebFetchToolResult) Default() WebFetchToolResult { return "web... method MarshalJSON (line 469) | func (c WebFetchToolResult) MarshalJSON() ([]byte, error) ... type WebFetchToolResultError (line 160) | type WebFetchToolResultError method Default (line 325) | func (c WebFetchToolResultError) Default() WebFetchToolResultError { method MarshalJSON (line 470) | func (c WebFetchToolResultError) MarshalJSON() ([]byte, error) ... type WebSearch (line 161) | type WebSearch method Default (line 328) | func (c WebSearch) Default() WebSearch { return "web_s... method MarshalJSON (line 471) | func (c WebSearch) MarshalJSON() ([]byte, error) ... type WebSearch20250305 (line 162) | type WebSearch20250305 method Default (line 329) | func (c WebSearch20250305) Default() WebSearch20250305 { return "web_s... method MarshalJSON (line 472) | func (c WebSearch20250305) MarshalJSON() ([]byte, error) ... type WebSearch20260209 (line 163) | type WebSearch20260209 method Default (line 330) | func (c WebSearch20260209) Default() WebSearch20260209 { return "web_s... method MarshalJSON (line 473) | func (c WebSearch20260209) MarshalJSON() ([]byte, error) ... type WebSearchResult (line 164) | type WebSearchResult method Default (line 331) | func (c WebSearchResult) Default() WebSearchResult { return "web_s... method MarshalJSON (line 474) | func (c WebSearchResult) MarshalJSON() ([]byte, error) ... type WebSearchResultLocation (line 165) | type WebSearchResultLocation method Default (line 332) | func (c WebSearchResultLocation) Default() WebSearchResultLocation { method MarshalJSON (line 475) | func (c WebSearchResultLocation) MarshalJSON() ([]byte, error) ... type WebSearchToolResult (line 166) | type WebSearchToolResult method Default (line 335) | func (c WebSearchToolResult) Default() WebSearchToolResult { return "w... method MarshalJSON (line 476) | func (c WebSearchToolResult) MarshalJSON() ([]byte, error) ... type WebSearchToolResultError (line 167) | type WebSearchToolResultError method Default (line 336) | func (c WebSearchToolResultError) Default() WebSearchToolResultError { method MarshalJSON (line 477) | func (c WebSearchToolResultError) MarshalJSON() ([]byte, error) ... type constant (line 479) | type constant interface function marshalString (line 484) | func marshalString[T ~string, PT constant[T]](v T) ([]byte, error) { FILE: shared/shared.go type APIErrorObject (line 20) | type APIErrorObject struct method RawJSON (line 33) | func (r APIErrorObject) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 34) | func (r *APIErrorObject) UnmarshalJSON(data []byte) error { method ImplErrorObjectUnion (line 38) | func (APIErrorObject) ImplErrorObjectUnion() {} type AuthenticationError (line 40) | type AuthenticationError struct method RawJSON (line 53) | func (r AuthenticationError) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 54) | func (r *AuthenticationError) UnmarshalJSON(data []byte) error { method ImplErrorObjectUnion (line 58) | func (AuthenticationError) ImplErrorObjectUnion() {} type BillingError (line 60) | type BillingError struct method RawJSON (line 73) | func (r BillingError) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 74) | func (r *BillingError) UnmarshalJSON(data []byte) error { method ImplErrorObjectUnion (line 78) | func (BillingError) ImplErrorObjectUnion() {} type ErrorObjectUnion (line 88) | type ErrorObjectUnion struct method AsAny (line 122) | func (u ErrorObjectUnion) AsAny() anyErrorObject { method AsInvalidRequestError (line 146) | func (u ErrorObjectUnion) AsInvalidRequestError() (v InvalidRequestErr... method AsAuthenticationError (line 151) | func (u ErrorObjectUnion) AsAuthenticationError() (v AuthenticationErr... method AsBillingError (line 156) | func (u ErrorObjectUnion) AsBillingError() (v BillingError) { method AsPermissionError (line 161) | func (u ErrorObjectUnion) AsPermissionError() (v PermissionError) { method AsNotFoundError (line 166) | func (u ErrorObjectUnion) AsNotFoundError() (v NotFoundError) { method AsRateLimitError (line 171) | func (u ErrorObjectUnion) AsRateLimitError() (v RateLimitError) { method AsTimeoutError (line 176) | func (u ErrorObjectUnion) AsTimeoutError() (v GatewayTimeoutError) { method AsAPIError (line 181) | func (u ErrorObjectUnion) AsAPIError() (v APIErrorObject) { method AsOverloadedError (line 186) | func (u ErrorObjectUnion) AsOverloadedError() (v OverloadedError) { method RawJSON (line 192) | func (u ErrorObjectUnion) RawJSON() string { return u.JSON.raw } method UnmarshalJSON (line 194) | func (r *ErrorObjectUnion) UnmarshalJSON(data []byte) error { type anyErrorObject (line 103) | type anyErrorObject interface type ErrorResponse (line 198) | type ErrorResponse struct method RawJSON (line 213) | func (r ErrorResponse) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 214) | func (r *ErrorResponse) UnmarshalJSON(data []byte) error { type GatewayTimeoutError (line 218) | type GatewayTimeoutError struct method RawJSON (line 231) | func (r GatewayTimeoutError) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 232) | func (r *GatewayTimeoutError) UnmarshalJSON(data []byte) error { method ImplErrorObjectUnion (line 236) | func (GatewayTimeoutError) ImplErrorObjectUnion() {} type InvalidRequestError (line 238) | type InvalidRequestError struct method RawJSON (line 251) | func (r InvalidRequestError) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 252) | func (r *InvalidRequestError) UnmarshalJSON(data []byte) error { method ImplErrorObjectUnion (line 256) | func (InvalidRequestError) ImplErrorObjectUnion() {} type NotFoundError (line 258) | type NotFoundError struct method RawJSON (line 271) | func (r NotFoundError) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 272) | func (r *NotFoundError) UnmarshalJSON(data []byte) error { method ImplErrorObjectUnion (line 276) | func (NotFoundError) ImplErrorObjectUnion() {} type OverloadedError (line 278) | type OverloadedError struct method RawJSON (line 291) | func (r OverloadedError) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 292) | func (r *OverloadedError) UnmarshalJSON(data []byte) error { method ImplErrorObjectUnion (line 296) | func (OverloadedError) ImplErrorObjectUnion() {} type PermissionError (line 298) | type PermissionError struct method RawJSON (line 311) | func (r PermissionError) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 312) | func (r *PermissionError) UnmarshalJSON(data []byte) error { method ImplErrorObjectUnion (line 316) | func (PermissionError) ImplErrorObjectUnion() {} type RateLimitError (line 318) | type RateLimitError struct method RawJSON (line 331) | func (r RateLimitError) RawJSON() string { return r.JSON.raw } method UnmarshalJSON (line 332) | func (r *RateLimitError) UnmarshalJSON(data []byte) error { method ImplErrorObjectUnion (line 336) | func (RateLimitError) ImplErrorObjectUnion() {} FILE: toolrunner/runner_test.go function schemaToBytes (line 21) | func schemaToBytes(t *testing.T, schema map[string]any) []byte { function assistantText (line 31) | func assistantText(msg *anthropic.BetaMessage) string { type weatherRequest (line 42) | type weatherRequest struct function weatherTool (line 56) | func weatherTool(t *testing.T) anthropic.BetaTool { function newClientWithVCR (line 74) | func newClientWithVCR(t *testing.T, cassette string) anthropic.Client { function TestToolRunner_All_Basic (line 82) | func TestToolRunner_All_Basic(t *testing.T) { function TestToolRunner_RunToCompletion (line 115) | func TestToolRunner_RunToCompletion(t *testing.T) { function TestToolRunner_NextMessage_Step (line 144) | func TestToolRunner_NextMessage_Step(t *testing.T) { function TestToolRunner_AllStreaming (line 187) | func TestToolRunner_AllStreaming(t *testing.T) { function TestToolRunner_NextStreaming_EventTypes (line 228) | func TestToolRunner_NextStreaming_EventTypes(t *testing.T) { function TestToolRunner_ToolCallError_ThenSuccess (line 260) | func TestToolRunner_ToolCallError_ThenSuccess(t *testing.T) { function TestToolRunner_CustomHandlingWithPushMessages (line 340) | func TestToolRunner_CustomHandlingWithPushMessages(t *testing.T) { function TestToolRunner_MaxIterations (line 397) | func TestToolRunner_MaxIterations(t *testing.T) { function TestToolRunner_ConcurrentToolExecution (line 430) | func TestToolRunner_ConcurrentToolExecution(t *testing.T) { function TestToolRunner_ContextCancellation (line 495) | func TestToolRunner_ContextCancellation(t *testing.T) { function TestToolRunner_MalformedJSONInput (line 566) | func TestToolRunner_MalformedJSONInput(t *testing.T) { FILE: toolrunner/tool.go type betaTool (line 15) | type betaTool struct method Name (line 22) | func (t *betaTool[T]) Name() string {... method Description (line 23) | func (t *betaTool[T]) Description() string {... method InputSchema (line 24) | func (t *betaTool[T]) InputSchema() anthropic.BetaToolInputSchemaParam {... method Execute (line 26) | func (t *betaTool[T]) Execute(ctx context.Context, input json.RawMessage... method parse (line 36) | func (t *betaTool[T]) parse(input json.RawMessage) (T, error) { function parseSchemaMap (line 61) | func parseSchemaMap(s map[string]any) (anthropic.BetaToolInputSchemaPara... function NewBetaToolFromBytes (line 76) | func NewBetaToolFromBytes[T any]( function NewBetaToolFromJSONSchema (line 90) | func NewBetaToolFromJSONSchema[T any]( function NewBetaTool (line 121) | func NewBetaTool[T any]( FILE: usage_test.go function TestUsage (line 15) | func TestUsage(t *testing.T) { FILE: vertex/vertex.go constant DefaultVersion (line 20) | DefaultVersion = "vertex-2023-10-16" function WithGoogleAuth (line 28) | func WithGoogleAuth(ctx context.Context, region string, projectID string... function WithCredentials (line 41) | func WithCredentials(ctx context.Context, region string, projectID strin... function vertexMiddleware (line 64) | func vertexMiddleware(region, projectID string) sdkoption.Middleware {