reserve • AI Agent SDK

reserve: Reserve an entry for an incoming file and return its “ref_id“.

reserve

Method

</div>

This is a method of the AttachmentStoreProtocol class in the protocols module.

Reserve an entry for an incoming file and return its `ref_id`.

Signature

python
def reserve(filename: str, mime: str, size: int) -> str

Parameters

ParamField str

No description available.

ParamField str

No description available.

ParamField int

No description available.

Returns

ResponseField str

The result of the operation.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 759