autoClassPrefix property

bool autoClassPrefix
final

Whether to automatically prefix tool names with their class name.

When true, tools defined in classes will be named ClassName_methodName instead of just methodName. This helps avoid naming collisions when multiple classes have methods with the same name.

The class name prefix is applied before any custom toolPrefix. For example, with autoClassPrefix: true and toolPrefix: 'api_', a method createUser in class UserService becomes api_UserService_createUser.

Defaults to false for backward compatibility.

Implementation

final bool autoClassPrefix;