SkillDefinition constructor
const
SkillDefinition({
- required String name,
- required String description,
- required String promptContent,
- required String filePath,
- String? whenToUse,
- Set<
String> ? allowedTools, - String? model,
- String? argumentHint,
- List<
String> ? argNames, - bool userInvocable = true,
- bool disableModelInvocation = false,
- String? context,
- String? agent,
- SkillSource source = SkillSource.user,
Implementation
const SkillDefinition({
required this.name,
required this.description,
required this.promptContent,
required this.filePath,
this.whenToUse,
this.allowedTools,
this.model,
this.argumentHint,
this.argNames,
this.userInvocable = true,
this.disableModelInvocation = false,
this.context,
this.agent,
this.source = SkillSource.user,
});