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 -&gt; `[]`.

Diagram

uses

returns

Agent

Tool: get_allowed_tools

Result

Signature

python
def get_allowed_tools(name: str) -> List[str]

Parameters

ParamField str

No description available.

Returns

ResponseField List[str]

The result of the operation.

Uses

  • get_skill

Source

View on GitHub

praisonaiagents/skills/manager.py at line 512


Related Documentation