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

# ok • AI Agent SDK

> ok: Whether the action succeeded (``status == 'ok'``).

# ok

Method

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

Whether the action succeeded (`status == "ok"`).

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def ok() -> bool
```

### Returns

**Returns** `bool`

The result of the operation.

## Source

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


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