utils
Shared helpers for manifest-based skills.
is_tool_allowed(allowed_tools, tool_name)
Return True when a manifest allowlist permits the named runtime tool.
An empty or absent allowlist permits every tool.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
allowed_tools
|
List[str]
|
Tool names permitted by a skill manifest. |
required |
tool_name
|
str
|
Runtime tool name to check. |
required |
Returns:
| Type | Description |
|---|---|
bool
|
True when the tool is permitted. |