> ## 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 Guardrails • TypeScript AI Agent SDK

> resolve_guardrails: API reference for resolve_guardrails

# resolve\_guardrails

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

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

## Signature

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

### Returns

<ResponseField name="Returns" type="GuardrailConfig | 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#L889">
  `src/config/index.ts` at line 889
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="JS Guardrails" icon="shield" href="/docs/js/guardrails" />

  <Card title="JS Guardrails CLI" icon="terminal" href="/docs/js/guardrails-cli" />

  <Card title="JS LLM Guardrail" icon="shield-halved" href="/docs/js/llm-guardrail" />

  <Card title="JS AI SDK" icon="brain" href="/docs/js/ai-sdk" />

  <Card title="JS AI SDK CLI" icon="terminal" href="/docs/js/ai-sdk-cli" />
</CardGroup>
