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

# put • AI Agent SDK

> put: Persist ``value`` under ``ref`` until ``expires_at`` (epoch seconds).

# put

Method

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

Persist `value` under `ref` until `expires_at` (epoch seconds).

Called from the synchronous render path, so this is a plain method.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def put(ref: str, value: str) -> None
```

## Parameters

**ref** `str` *required*

No description available.

**value** `str` *required*

No description available.

## Used By

* [`MCPToolRunner.call_tool`](../functions/MCPToolRunner-call_tool)
* [`MCPToolRunner.shutdown`](../functions/MCPToolRunner-shutdown)
* [`MCPToolRunner.stop`](../functions/MCPToolRunner-stop)

## Source

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


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