Replacing thinking with tool usage enables reasoning in small language models