> ## Documentation Index
> Fetch the complete documentation index at: https://ancplua.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# AL0130 - Loom tool should declare required capabilities

> Every Loom tool should declare its required capabilities via [RequiresCapability] on the method or containing type to enable fine-grained access control

Source: [AL0130ToolMustDeclareCapabilityAnalyzer.cs](https://github.com/ANcpLua/ANcpLua.Analyzers/blob/main/src/ANcpLua.Analyzers/Analyzers/AL0130ToolMustDeclareCapabilityAnalyzer.cs)

## Description

Every Loom tool should declare its required capabilities via \[RequiresCapability] on the method or containing type to enable fine-grained access control.

## Properties

* **Category**: GenAI
* **Severity**: Info
* **Enabled by default**: True
* **Code fix available**: False

## Configuration

```editorconfig theme={null}
dotnet_diagnostic.AL0130.severity = info
```
