activate • AI Agent SDK
activate: Activate a skill and return its rendered body.
activate
Method
</div>
This is a method of the SkillActivationProtocol class in the activation module.
Activate a skill and return its rendered body.
Signature
def activate(name: str, arguments: str, session_id: Optional[str]) -> strParameters
ParamField
strName of the skill to activate
ParamField
strArguments to substitute in the skill body
ParamField
Optional[str]Optional session identifier for context
Returns
ResponseField
strRendered skill body with arguments substituted
Exceptions
ValueError
If skill is not found or not user-invocable
Used By
SkillLoader.loadSkillManager.activateSkillManager.activate_by_nameSkillManager.invokeSkillManager.get_instructions
Source
View on GitHubpraisonaiagents/skills/activation.py at line 15