> ## 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.

# Execute Turn • AI Agent SDK

> execute_turn: Run ``turn`` on ``placement`` and return its result.

# execute\_turn

<div className="flex items-center gap-2">
  <Badge color="blue">Async</Badge>
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**TurnExecutorProtocol**](../classes/TurnExecutorProtocol) class in the [**protocols**](../modules/protocols) module.

Run `turn` on `placement` and return its result.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
async def execute_turn(placement: TurnPlacement, turn: 'Callable[[], Awaitable[Any]]') -> Any
```

## Parameters

<ParamField query="placement" type="TurnPlacement" required={true}>
  No description available.
</ParamField>

<ParamField query="turn" type="'Callable" required={true}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="Any">
  The result of the operation.
</ResponseField>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/gateway/protocols.py#L5713">
  `praisonaiagents/gateway/protocols.py` at line 5713
</Card>
