Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

tools changedmanaged-agents/tools

Nearest release: v2.1.238, published under an hour after 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+30added
Lines−24removed
From line 129 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits23to this page, all time

The whole hunk

from line 129, old and new numbered
/
lines
from line 129
129129 Tools: []anthropic.BetaAgentNewParamsToolUnion{{
130130 OfAgentToolset20260401: &anthropic.BetaManagedAgentsAgentToolset20260401Params{
131131 Type: anthropic.BetaManagedAgentsAgentToolset20260401ParamsTypeAgentToolset20260401,
132 Configs: []anthropic.BetaManagedAgentsAgentToolConfigUnionParamsUnion{{
133 OfBetaManagedAgentsWebFetchToolConfigs: &anthropic.BetaManagedAgentsWebFetchToolConfigParams{
132 Configs: []anthropic.BetaManagedAgentsAgentToolConfigParamsUnion{{
133 OfWebFetch: &anthropic.BetaManagedAgentsWebFetchToolConfigParams{
134134 Enabled: anthropic.Bool(false),
135135 },
136136 }},
from line 446
446446 Tools: []anthropic.BetaAgentNewParamsToolUnion{{
447447 OfAgentToolset20260401: &anthropic.BetaManagedAgentsAgentToolset20260401Params{
448448 Type: anthropic.BetaManagedAgentsAgentToolset20260401ParamsTypeAgentToolset20260401,
449 Configs: []anthropic.BetaManagedAgentsAgentToolConfigUnionParamsUnion{
450 {OfBetaManagedAgentsWebSearchToolConfigs: &anthropic.BetaManagedAgentsWebSearchToolConfigParams{
449 Configs: []anthropic.BetaManagedAgentsAgentToolConfigParamsUnion{
450 {OfWebSearch: &anthropic.BetaManagedAgentsWebSearchToolConfigParams{
451451 AllowedDomains: []string{"docs.example.com", "arxiv.org"},
452452 UserLocation: anthropic.BetaManagedAgentsUserLocationParam{
453453 Country: anthropic.String("US"),
from line 454
454454 Timezone: anthropic.String("America/Los_Angeles"),
455455 },
456456 }},
457 {OfBetaManagedAgentsWebFetchToolConfigs: &anthropic.BetaManagedAgentsWebFetchToolConfigParams{
457 {OfWebFetch: &anthropic.BetaManagedAgentsWebFetchToolConfigParams{
458458 BlockedDomains: []string{"ads.example.com"},
459459 MaxContentTokens: anthropic.Int(50000),
460460 }},
from line 691
691691 )
692692 ```
693693 
694 ```bash CLI
695 ant beta:agents create <<'YAML'
696 name: Weather Agent
697 model: claude-opus-5
698 tools:
699 - type: agent_toolset_20260401
700 - type: custom
701 name: get_weather
702 description: Get current weather for a location
703 input_schema:
704 type: object
705 properties:
706 location:
707 type: string
708 description: City name
709 required:
710 - location
711 YAML
712 ```
694 <MultiFileExample language="cli" label="CLI">
695 ```bash CLI
696 ant beta:agents create < agent.yaml
697 ```
698 
699 <File filename="agent.yaml">
700 ```yaml
701 name: Weather Agent
702 model: claude-opus-5
703 tools:
704 - type: agent_toolset_20260401
705 - type: custom
706 name: get_weather
707 description: Get current weather for a location
708 input_schema:
709 type: object
710 properties:
711 location:
712 type: string
713 description: City name
714 required:
715 - location
716 ```
717 </File>
718 </MultiFileExample>
713719 
714720 ```python Python
715721 agent = client.beta.agents.create(
Feedback