# cloud

Canonical URL: https://developers.iagenify.com/sdk/agent/tools/cloud/
Language: en

`cloud({ action, service?, label?, storage?, gb?, model? })`

The account itself: its storages, its space, and the real model catalogue. Creating a storage is asked; buying space is asked every time, in every mode.

Status: read, storage, or money · catalogue is the real price · no external credentials

## The actions {#actions}

| Action | Category |
| --- | --- |
| `storages` · `space` · `catalogue` | read — free |
| `create` · `remove` | storage — asked |
| `buy_space` | **money** — asked in every mode, no « always » |

## catalogue is where a price comes from {#catalogue}

> **Never recite a price from memory**
>
> The tool's own description says it in those words. The catalogue is read from the server, so a figure the agent gives a user is the figure that will be billed.

## buy_space spends credits that do not come back {#buy}

A monthly commitment, charged immediately. It is the only action in the [money](/sdk/agent/permissions/categories/money) category, and for most applications the right answer in the callback is a flat refusal.

## Connecting someone else's database is not possible here {#external}

It needs the customer's own credentials, which the agent must never handle. The tool says so and points at the Cloud page instead — which is the correct answer rather than an improvisation.

## When a storage is full {#full}

A write fails with a quota refusal, and the agent is told to say so: free space, or add space. That is an answer; buying without asking would not be.

- [api.cloud](/sdk/ref/cloud): From code.
- [account](/sdk/agent/tools/account): The balance and the plan.
- [Agent tools](/sdk/agent/tools): The 35, by family.
