ProtectedProviderReturns the active provider — explicit override if set, otherwise the global default.
Analyze an entity's schema and suggest an Entity Document template.
The name of the entity to analyze
The intended use case (defaults to 'duplicate detection')
The authenticated user context
A suggestion with template, selected fields, and threshold recommendations
Suggests Entity Document templates by analyzing entity schemas with AI.
Uses the
AIPromptRunnerdirectly (not via Actions) per CLAUDE.md design philosophy.