Get Allowed Tools • AI Agent SDK
get_allowed_tools: Return the “allowed-tools“ list for a skill as a list of names.
get_allowed_tools
Method
</div>
This is a method of the SkillManager class in the manager module.
Return the `allowed-tools` list for a skill as a list of names.
Accepts either a YAML list or a whitespace-separated string (Claude Code accepts both forms). Unknown skill -> `[]`.
Signature
def get_allowed_tools(name: str) -> List[str]Parameters
ParamField
strNo description available.
Returns
ResponseField
List[str]The result of the operation.
Uses
get_skill
Source
View on GitHubpraisonaiagents/skills/manager.py at line 512