AgentsSkillBase

validate_env_vars

View as MarkdownOpen in Claude

Check whether all REQUIRED_ENV_VARS are set in the environment.

Parameters

None.

Returns

boolTrue if all required variables are present, False with error logging otherwise.

Example

1def setup(self) -> bool:
2 if not self.validate_env_vars():
3 return False
4 # Continue with initialization...
5 return True