Skip to content

Upgrading anthropic 0.109 to 0.110

Safe0.109.2 → 0.110.0New1Fixed3

SafeUpgrade verdict

Only new features and fixes in this range.

  • Nothing in this range needs changes to your code. It adds features and fixes.
Nothing to change

No breaking, platform, security or deprecated items in this range.

Nothing in this upgrade needs a code or configuration change.

Generated by DepDelta from published Python source. Not mixed with prose notes.

  • changed: function async_mcp_tool(tool: Tool, client: ClientSession, *, cache_control: BetaCacheControlEphemeralParam | None=…, defer_loading: bool | None=…, allowed_callers: list[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] | None=…, eager_input_streaming: bool | None=…, input_examples: Iterable[dict[str, object]] | None=…, strict: bool | None=…) -> BetaAsyncFunctionTool[Any] → function async_mcp_tool(tool: Tool, client: ClientSession, *, cache_control: BetaCacheControlEphemeralParam | None=…, defer_loading: bool | None=…, allowed_callers: list[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']] | None=…, eager_input_streaming: bool | None=…, input_examples: Iterable[dict[str, object]] | None=…, strict: bool | None=…) -> B…
  • changed: function mcp_tool(tool: Tool, client: ClientSession, *, cache_control: BetaCacheControlEphemeralParam | None=…, defer_loading: bool | None=…, allowed_callers: list[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] | None=…, eager_input_streaming: bool | None=…, input_examples: Iterable[dict[str, object]] | None=…, strict: bool | None=…) -> BetaFunctionTool[Any] → function mcp_tool(tool: Tool, client: ClientSession, *, cache_control: BetaCacheControlEphemeralParam | None=…, defer_loading: bool | None=…, allowed_callers: list[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']] | None=…, eager_input_streaming: bool | None=…, input_examples: Iterable[dict[str, object]] | None=…, strict: bool | None=…) -> BetaFun…
  • added: export CodeExecutionTool20260521Param
  • added: export BetaCodeExecutionTool20260521Param
  • added: export BetaFallbackRefusalTrigger
  • added: export BetaWebhookSessionUpdatedEventData
  • changed: field BetaAdvisorTool20260301Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field BetaAdvisorTool20260301Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field BetaCodeExecutionTool20250522Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field BetaCodeExecutionTool20250522Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field BetaCodeExecutionTool20250825Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field BetaCodeExecutionTool20250825Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field BetaCodeExecutionTool20260120Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field BetaCodeExecutionTool20260120Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • added: class BetaCodeExecutionTool20260521Param(TypedDict)
  • added: field BetaCodeExecutionTool20260521Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • added: field BetaCodeExecutionTool20260521Param.cache_control: Optional[BetaCacheControlEphemeralParam]
  • added: field BetaCodeExecutionTool20260521Param.defer_loading: bool
  • added: field BetaCodeExecutionTool20260521Param.name: Required[Literal['code_execution']]
  • added: field BetaCodeExecutionTool20260521Param.strict: bool
  • added: field BetaCodeExecutionTool20260521Param.type: Required[Literal['code_execution_20260521']]
  • added: field BetaFallbackBlock.trigger: BetaFallbackRefusalTrigger
  • added: field BetaFallbackBlockParam.trigger: object
  • added: class BetaFallbackRefusalTrigger(BaseModel)
  • added: field BetaFallbackRefusalTrigger.category: Optional[Literal['cyber', 'bio', 'frontier_llm', 'reasoning_extraction']]
  • added: field BetaFallbackRefusalTrigger.type: Literal['refusal']
  • changed: field BetaMemoryTool20250818Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field BetaMemoryTool20250818Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field BetaToolBash20241022Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field BetaToolBash20241022Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field BetaToolBash20250124Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field BetaToolBash20250124Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field BetaToolComputerUse20241022Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field BetaToolComputerUse20241022Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field BetaToolComputerUse20250124Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field BetaToolComputerUse20250124Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field BetaToolComputerUse20251124Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field BetaToolComputerUse20251124Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field BetaToolParam.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field BetaToolParam.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field BetaToolSearchToolBm25_20251119Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field BetaToolSearchToolBm25_20251119Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field BetaToolSearchToolRegex20251119Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field BetaToolSearchToolRegex20251119Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field BetaToolTextEditor20241022Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field BetaToolTextEditor20241022Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field BetaToolTextEditor20250124Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field BetaToolTextEditor20250124Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field BetaToolTextEditor20250429Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field BetaToolTextEditor20250429Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field BetaToolTextEditor20250728Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field BetaToolTextEditor20250728Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field BetaWebFetchTool20250910Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field BetaWebFetchTool20250910Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field BetaWebFetchTool20260209Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field BetaWebFetchTool20260209Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field BetaWebFetchTool20260309Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field BetaWebFetchTool20260309Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field BetaWebSearchTool20250305Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field BetaWebSearchTool20250305Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field BetaWebSearchTool20260209Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field BetaWebSearchTool20260209Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • added: class BetaWebhookSessionUpdatedEventData(BaseModel)
  • added: field BetaWebhookSessionUpdatedEventData.id: str
  • added: field BetaWebhookSessionUpdatedEventData.organization_id: str
  • added: field BetaWebhookSessionUpdatedEventData.type: Literal['session.updated']
  • added: field BetaWebhookSessionUpdatedEventData.workspace_id: str
  • changed: field CodeExecutionTool20250522Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field CodeExecutionTool20250522Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field CodeExecutionTool20250825Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field CodeExecutionTool20250825Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field CodeExecutionTool20260120Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field CodeExecutionTool20260120Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • added: class CodeExecutionTool20260521Param(TypedDict)
  • added: field CodeExecutionTool20260521Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • added: field CodeExecutionTool20260521Param.cache_control: Optional[CacheControlEphemeralParam]
  • added: field CodeExecutionTool20260521Param.defer_loading: bool
  • added: field CodeExecutionTool20260521Param.name: Required[Literal['code_execution']]
  • added: field CodeExecutionTool20260521Param.strict: bool
  • added: field CodeExecutionTool20260521Param.type: Required[Literal['code_execution_20260521']]
  • changed: field MemoryTool20250818Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field MemoryTool20250818Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field ToolBash20250124Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field ToolBash20250124Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field ToolParam.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field ToolParam.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field ToolSearchToolBm25_20251119Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field ToolSearchToolBm25_20251119Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field ToolSearchToolRegex20251119Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field ToolSearchToolRegex20251119Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field ToolTextEditor20250124Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field ToolTextEditor20250124Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field ToolTextEditor20250429Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field ToolTextEditor20250429Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field ToolTextEditor20250728Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field ToolTextEditor20250728Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field WebFetchTool20250910Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field WebFetchTool20250910Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field WebFetchTool20260209Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field WebFetchTool20260209Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field WebFetchTool20260309Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field WebFetchTool20260309Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field WebSearchTool20250305Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field WebSearchTool20250305Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]
  • changed: field WebSearchTool20260209Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120']] → field WebSearchTool20260209Param.allowed_callers: List[Literal['direct', 'code_execution_20250825', 'code_execution_20260120', 'code_execution_20260521']]