You can steer a model's generation by pre-filling its response buffer (such as starting the assistant's reply with a specific word or tag).
Thought-Steering Delimiters (like starting responses with <thought> or { "status":) force the model to adopt specific reasoning or formatting routes from its first output token, bypassing conversational introductions.
Prompt: Generate a JSON object with keys: name, age.
Assistant Response Prefill: {
<thought> to force reasoning before the final answer.{ to guarantee JSON compliance.Anthropic's API supports response pre-filling explicitly. Use it to force Claude to write in specific XML tags or JSON shapes.