supportsToolCalling property

bool get supportsToolCalling

Check if this model supports tool calling

Reference: https://docs.anthropic.com/en/docs/tool-use

Implementation

bool get supportsToolCalling {
  // All modern Claude models support tool calling
  return !model.contains('claude-1') && !model.contains('claude-2');
}