What
When the Anthropic API returns an error, the type of that error is now passed along.
- The SDK error frame (the error message that apps built on the Agent SDK receive) gains
api_error_type, theerror.typetaken from the API's response. - An event passes it on as
apiErrorTypewhenapi_error_typeis present, next to the existingapiErrorCode, and API error records in telemetry (usage data sent back to Anthropic) also carryapiErrorType. - Tool-result telemetry now includes
run_inputfor built-in tools. - Plugin load errors gain
managed_lock, which says anenabledPluginsentry in managed settings (rules set by your administrator) caused a folder copy of a plugin to be dropped. - The plugin dependency resolver also reports
settingsUnreadandoutsideRange.
Why
Apps built on the SDK can now tell kinds of API errors apart, and see why a plugin folder was ignored.