Before changedapi/migration-2026-10-21
Nearest release: v2.1.334, published 2 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+11added
Lines−2removed
From line
528
where the diff opens
First seen
23 Oct 2026
this site's first read of the page
Recorded edits10to this page, all time
The whole hunk
from line 528, old and new numbered
/
from line 528
528528 * `BetaManagedAgentsEventParamsOfUserToolConfirmation`
529529 * `BetaManagedAgentsEventParamsOfUserDefineOutcome`
530530 * `BetaManagedAgentsDeploymentInitialEventParamsOfUserDefineOutcome`
531 * `BetaManagedAgentsMultiagentRosterEntryParamsOfBetaManagedAgentsAgents`
532 * `BetaManagedAgentsMultiagentRosterEntryParamsOfBetaManagedAgentsAdvisors`
531 * `BetaManagedAgentsMultiagentRosterEntryParamsOfBetaManagedAgentsAgents` (`BetaManagedAgentsMultiagentRosterEntryParamsOfBetaManagedAgentsAgent` in the latest version)
532 * `BetaManagedAgentsMultiagentRosterEntryParamsOfBetaManagedAgentsAdvisors` (`BetaManagedAgentsMultiagentRosterEntryParamsOfBetaManagedAgentsAdvisor` in the latest version)
533533
534534 These four took no other argument, so they are gone. Set the union’s field to a pointer to the empty struct, such as `BetaManagedAgentsEventParamsUnion{OfUserInterrupt: &anthropic.BetaManagedAgentsUserInterruptEventParams{}}`:
535535
from line 537
537537 * `BetaManagedAgentsMultiagentRosterEntryParamsOfBetaManagedAgentsMultiagentSelfs`
538538 * `BetaManagedAgentsCredentialNetworkingParamsOfUnrestricted`
539539 * `BetaOutputBehaviorParamOfCreateNew`
540
541 The [latest version of the Go SDK](https://platform.claude.com/docs/en/cli-sdks-libraries/sdks/go#installation) drops a stray `s` from the six beta union field names below, and from the constructors named after the first two. The other four have no constructor in v2. Older v2 versions keep the `s`, so if Go reports one of these names as `undefined` or as an `unknown field`, try the other spelling.
542
543 * `OfBetaManagedAgentsAgents` becomes `OfBetaManagedAgentsAgent`.
544 * `OfBetaManagedAgentsAdvisors` becomes `OfBetaManagedAgentsAdvisor`.
545 * `OfBetaManagedAgentsMultiagentSelfs` becomes `OfBetaManagedAgentsMultiagentSelf`.
546 * `OfBetaManagedAgentsAgentWithOverridess` becomes `OfBetaManagedAgentsAgentWithOverrides`.
547 * `OfBetaManagedAgentsModelConfigsEffortBetaManagedAgentsEffortLevel` becomes `OfBetaManagedAgentsModelConfigEffortBetaManagedAgentsEffortLevel`.
548 * `OfContainers` becomes `OfContainer` in the beta unions. `MessageCreateParamsContainerUnion` keeps `OfContainers`.
540549 </Tab>
541550
542551 <Tab title="Java">
No line in this hunk matches that.