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

# Resolve Hooks • TypeScript AI Agent SDK

> resolve_hooks: API reference for resolve_hooks

# resolve\_hooks

<div className="flex items-center gap-2">
  <Badge color="teal">Function</Badge>
</div>

> This function is defined in the [**config**](../modules/config) module.

```mermaid theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#8B0000', 'primaryTextColor': '#fff', 'primaryBorderColor': '#710101', 'lineColor': '#189AB4', 'secondaryColor': '#189AB4', 'tertiaryColor': '#fff' }}}%%

graph TD
    event["Event Trigger"] --> hook["Hook: resolve_hooks"]
    hook --> decision{"Decision"}
    decision -- "Allow" --> proc["Process"]
    decision -- "Deny" --> block["Block"]
    style hook fill:#189AB4,color:#fff
    style event fill:#8B0000,color:#fff
    style proc fill:#8B0000,color:#fff
    style block fill:#8B0000,color:#fff
```

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def resolve_hooks(input: boolean | HooksConfig | undefined) -> HooksConfig | undefined
```

### Returns

<ResponseField name="Returns" type="HooksConfig | undefined">
  The result of the operation.
</ResponseField>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-ts/src/config/index.ts#L835">
  `src/config/index.ts` at line 835
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="JS Hooks Manager" icon="anchor" href="/docs/js/hooks-manager" />

  <Card title="JS Memory Hooks" icon="database" href="/docs/js/memory-hooks" />

  <Card title="JS Workflow Hooks" icon="diagram-project" href="/docs/js/workflow-hooks" />
</CardGroup>
