supportsToolCalling property

bool get supportsToolCalling

Check if this model supports tool calling

Implementation

bool get supportsToolCalling {
  // Both deepseek-chat and deepseek-reasoner support tool calling
  // Reference: https://api-docs.deepseek.com/guides/function_calling
  return model == 'deepseek-chat' || model == 'deepseek-reasoner';
}