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

> resolve: Resolve the effective required scope for a call with ``params``.

# resolve

Method

> This is a method of the [**GatewayMethodDescriptor**](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/GatewayMethodDescriptor.md) class in the [**protocols**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/protocols.md) module.

Resolve the effective required scope for a call with `params`.

Starts from :attr:`required_scope` and escalates (never de-escalates)
based on the payload:

* any field listed in :attr:`escalate_fields` raises the requirement
  to that field's scope;
* under :attr:`strict_fields`, any field that is neither a
  `safe_field` nor an `escalate_field` is treated as unknown /
  structural and raises the requirement to
  :attr:`escalate_unknown_scope` (fail closed on unknown fields).

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def resolve(params: Optional[Dict[str, Any]]) -> OperatorScope
```

## Parameters

**params** `Optional`

No description available.

### Returns

**Returns** `OperatorScope`

The result of the operation.

## Used By

* [`Agent.skill_manager`](../functions/Agent-skill_manager)
* [`resolve_memory`](../functions/resolve_memory)
* [`resolve_knowledge`](../functions/resolve_knowledge)
* [`resolve_output`](../functions/resolve_output)
* [`resolve_execution`](../functions/resolve_execution)

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/gateway/protocols.py#L7722)
>
> `praisonaiagents/gateway/protocols.py` at line 7722


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.