self-hosted-sandboxes-custom-tools changedmanaged-agents/self-hosted-sandboxes-custom-tools
Nearest release: v2.1.309, published under an hour 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+12added
Lines−15removed
From line
123
where the diff opens
First seen
2 Oct 2026
this site's first read of the page
Recorded edits11to this page, all time
The whole hunk
from line 123, old and new numbered
/
from line 123
123123 "os/signal"
124124 "syscall"
125125
126 "github.com/anthropics/anthropic-sdk-go"
127 "github.com/anthropics/anthropic-sdk-go/lib/environments"
128 "github.com/anthropics/anthropic-sdk-go/option"
129 "github.com/anthropics/anthropic-sdk-go/toolrunner"
130 "github.com/anthropics/anthropic-sdk-go/tools/agenttoolset"
126 "github.com/anthropics/anthropic-sdk-go/v2"
127 "github.com/anthropics/anthropic-sdk-go/v2/lib/environments"
128 "github.com/anthropics/anthropic-sdk-go/v2/option"
129 "github.com/anthropics/anthropic-sdk-go/v2/toolrunner"
130 "github.com/anthropics/anthropic-sdk-go/v2/tools/agenttoolset"
131131 )
132132
133133 type orderStatusInput struct {
from line 356
356356 "fmt"
357357 "log"
358358
359 "github.com/anthropics/anthropic-sdk-go"
359 "github.com/anthropics/anthropic-sdk-go/v2"
360360 mcpsdk "github.com/modelcontextprotocol/go-sdk/mcp"
361361 )
362362
from line 402
402402 }
403403 return anthropic.BetaAgentNewParamsToolUnion{
404404 OfCustom: &anthropic.BetaManagedAgentsCustomToolParams{
405 Type: anthropic.BetaManagedAgentsCustomToolParamsTypeCustom,
406405 Name: tool.Name,
407406 Description: description,
408407 InputSchema: inputSchema,
from line 429
430429 }
431430
432431 tools := []anthropic.BetaAgentNewParamsToolUnion{
433 {OfAgentToolset20260401: &anthropic.BetaManagedAgentsAgentToolset20260401Params{
434 Type: anthropic.BetaManagedAgentsAgentToolset20260401ParamsTypeAgentToolset20260401,
435 }},
432 {OfAgentToolset20260401: &anthropic.BetaManagedAgentsAgentToolset20260401Params{}},
436433 }
437434 for _, tool := range listed.Tools {
438435 custom, err := toCustomTool(tool)
from line 689
692689 "os/signal"
693690 "syscall"
694691
695 "github.com/anthropics/anthropic-sdk-go"
696 "github.com/anthropics/anthropic-sdk-go/lib/environments"
697 "github.com/anthropics/anthropic-sdk-go/mcp"
698 "github.com/anthropics/anthropic-sdk-go/option"
699 "github.com/anthropics/anthropic-sdk-go/tools/agenttoolset"
692 "github.com/anthropics/anthropic-sdk-go/v2"
693 "github.com/anthropics/anthropic-sdk-go/v2/lib/environments"
694 "github.com/anthropics/anthropic-sdk-go/v2/mcp"
695 "github.com/anthropics/anthropic-sdk-go/v2/option"
696 "github.com/anthropics/anthropic-sdk-go/v2/tools/agenttoolset"
700697 mcpsdk "github.com/modelcontextprotocol/go-sdk/mcp"
701698 )
702699
No line in this hunk matches that.