[**agentfootprint**](../README.md)

***

[agentfootprint](/agentfootprint/api/generated/README.md) / gatedTools

# Function: gatedTools()

> **gatedTools**(`inner`, `predicate`): [`ToolProvider`](/agentfootprint/api/generated/interfaces/ToolProvider.md)

Defined in: [src/tool-providers/gatedTools.ts:40](https://github.com/footprintjs/agentfootprint/blob/d1cb45510740421f2b84b6de9f852a72e94bb106/src/tool-providers/gatedTools.ts#L40)

## Parameters

### inner

[`ToolProvider`](/agentfootprint/api/generated/interfaces/ToolProvider.md)

### predicate

[`ToolGatePredicate`](/agentfootprint/api/generated/type-aliases/ToolGatePredicate.md)

## Returns

[`ToolProvider`](/agentfootprint/api/generated/interfaces/ToolProvider.md)
