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

self-hosted-sandboxes-custom-tools changedmanaged-agents/self-hosted-sandboxes-custom-tools

Nearest release: v2.1.307, published 4 hours 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+2added
Lines−9removed
From line 315 where the diff opens
First seen 2 Oct 2026 this site's first read of the page
Recorded edits8to this page, all time

The whole hunk

from line 315, old and new numbered
/
lines
from line 315
315315 );
316316 var mcpTools = await mcpClient.ListToolsAsync();
317317 
318 List<Tool> tools =
319 [
320 new BetaManagedAgentsAgentToolset20260401Params { Type = "agent_toolset_20260401" },
321 ];
318 List<Tool> tools = [new BetaManagedAgentsAgentToolset20260401Params()];
322319 foreach (var tool in mcpTools)
323320 {
324321 var description = tool.Description;
from line 329
332329 tools.Add(
333330 new BetaManagedAgentsCustomToolParams
334331 {
335 Type = "custom",
336332 Name = tool.Name,
337333 Description = description,
338334 InputSchema = new(
from line 476
480476 }
481477 
482478 return BetaManagedAgentsCustomToolParams.builder()
483 .type(BetaManagedAgentsCustomToolParams.Type.CUSTOM)
484479 .name(tool.name())
485480 .description(description)
486481 .inputSchema(JsonValue.from(tool.inputSchema())
from line 500
505500 var params = AgentCreateParams.builder()
506501 .name("Internal tools agent")
507502 .model(BetaManagedAgentsModel.CLAUDE_OPUS_5_5)
508 .addTool(BetaManagedAgentsAgentToolset20260401Params.builder()
509 .type(BetaManagedAgentsAgentToolset20260401Params.Type.AGENT_TOOLSET_20260401)
510 .build());
503 .addTool(BetaManagedAgentsAgentToolset20260401Params.builder().build());
511504 for (var tool : mcpClient.listTools().tools()) {
512505 params.addTool(toCustomTool(tool));
513506 }
Feedback