Server SDKs
Build AI agents, control calls, send messages, and more
validate_packages
Check whether all REQUIRED_PACKAGES can be imported.
REQUIRED_PACKAGES
None.
bool — True if all required packages are available, False with error logging otherwise.
bool
True
False
1from signalwire.core.skill_base import SkillBase23class MySkill(SkillBase):4 SKILL_NAME = "my_skill"5 SKILL_DESCRIPTION = "Example skill"6 REQUIRED_PACKAGES = ["requests", "beautifulsoup4"]7 REQUIRED_ENV_VARS = ["MY_API_KEY", "MY_SECRET"]89 def setup(self) -> bool:10 if not self.validate_packages():11 return False12 if not self.validate_env_vars():13 return False14 return True1516 def register_tools(self):17 pass