1.4.0
What's Changed
Added
- Add adaptive thinking support (
thinking.type: "adaptive") for Claude Opus 4.6 and Sonnet 4.6 - Add
displayoption on thinking config (summarized/omitted) to control thinking output in responses - Add
output_config.effortparameter for guiding thinking depth (max,high,medium,low) - Add
server_tool_usecontent block type for server-side tools (web search, web fetch, code execution, tool search) - Add
web_search_tool_resultcontent block type with search results array - Add
web_fetch_tool_resultcontent block type - Add
code_execution_tool_result,bash_code_execution_tool_result, andtext_editor_code_execution_tool_resultcontent block types - Add
tool_search_tool_resultcontent block type - Add
tool_use_idandcontentproperties onCreateResponseContentfor all server tool result blocks - Add
containerfield onCreateResponsefor code execution sandbox persistence - Add
citationsarray on text content blocks, supporting all 5 citation location types:char_location,page_location,content_block_location,web_search_result_location,search_result_location - Add
citations_deltastreaming support withcitationproperty onCreateStreamedResponseDelta - Add
webFetchRequests,codeExecutionRequests, andtoolSearchRequeststoCreateResponseUsageServerToolUse - Add streaming support for
server_tool_useand server tool result blocks inCreateStreamedResponseContentBlockStart
Full Changelog: 1.3.3...1.4.0