cast(data, target) asks the model to interpret input as a value of the target type.
instructions to disambiguate the conversion. Use extract when the input can contain multiple matching values.
cast_async is the async counterpart. Both accept agent, thread, and context; see the API reference.