anthropic.internal.messages_body
The serialized request body: typed request -> json -> drop unset optionals -> deep-merge the caller's `request_body` passthrough (LAST, per P0.3).
Reference version
Signature
function anthropic.internal.messages_body(
) -> string throws baml.errors.InvalidArgument | baml.errors.Io | baml.errors.Timeout | baml.json.SerializationError | ai.errors.InvalidRequest | ai.errors.NetworkFailure | ai.errors.PreviewUnsupported | ai.errors.PromptRenderError
The serialized request body: typed request -> json -> drop unset optionals
-> deep-merge the caller's request_body passthrough (LAST, per P0.3).
Source:<builtin>/anthropic/ns_internal/messages.bamlbytes 28821–29177