Skip to content

SkillActivation

Category: Skills

Source: skill_activation.dart

Classes

SkillActivationError

Constructor

dart
SkillActivationError(this.message)

Properties

PropertyTypeDescription
messageString

Methods

String toString()

SkillActivationResult

Constructor

dart
SkillActivationResult({
    required this.callId,
    required this.content,
    required this.skillName,
  })

Properties

PropertyTypeDescription
callIdToolCallId
contentString
skillNameString

Functions

`Future<SkillActivationResult> activateSkillIntoConversation({

required AgentCore agent, required String skillName, String callIdPrefix = 'manual-skill', })`

Activates a skill through the skill tool and injects the resulting tool_call + tool_result messages into the agent conversation.

Released under the MIT License.