If someone is still looking for the answer, function calling is supported only by a limited number of models. Use llama3.2.