v0.4.0
Changed
-
Split
outputSchemaandstructuredContentcontrols. The single
INCLUDE_STRUCTURED_CONTENTsetting (and per-binding
include_structured_contentoverride) used to gate both the
outputSchemaadvertisement intools/listand thestructuredContent
field intools/call. They are now independent: a new
INCLUDE_OUTPUT_SCHEMAsetting (defaultTrue) and matching
per-bindinginclude_output_schemaoverride control the schema
announcement separately. The MCP spec invariant — advertising
outputSchemarequires emitting conformingstructuredContent— is
enforced explicitly: the spec-violating combination is rejected with
ImproperlyConfiguredat construction time (explicit per-binding
conflicts) or at request time (setting-level conflicts).Migration: if you previously set
REST_FRAMEWORK_MCP["INCLUDE_STRUCTURED_CONTENT"] = False, also set
INCLUDE_OUTPUT_SCHEMA = False(or accept the new
ImproperlyConfiguredraised on requests against bindings with an
output serializer). If you setinclude_structured_content=Falseon a
binding, addinclude_output_schema=Falseto the same registration
call.