> ## Documentation Index
> Fetch the complete documentation index at: https://vetta.sh/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Developer platform commands

> Tools, resources, approvals, usage, logs and client setup from the terminal (CLI 1.2).

CLI 1.2 adds the developer platform to the same `naive` binary. Every 1.1 command and flag keeps working unchanged. Output is JSON by default; add `--human` for a readable table.

| Group | What it does |
| - | - |
| `naive tools` | Search the tool catalog, read a tool, run it, list runs. |
| `naive resources` | One list of everything your identities and workspace hold. |
| `naive approvals` | Calls waiting for a person's OK, and the rules that decide what asks first. |
| `naive usage` | Spend by key, identity, tool or day. |
| `naive logs` | Every call your keys and connected agents made. |
| `naive connect` | Add Naive to Claude, ChatGPT, Cursor, Codex or any MCP client. |

## tools

```bash theme={"system"}
naive tools search tiktok profile --category social
naive tools get tiktok.profile
naive tools run tiktok.profile --arg username=nasa --wait
naive tools runs --tool tiktok.profile --status failed
naive tools runs show req_0123456789abcdefghjkmnpqrs
```

| Command | Flags |
| - | - |
| `naive tools search [query]` | `--category`, `--kind platform\|naive`, `--limit`, `--after`. Free. A bare `naive tools` lists the catalog. |
| `naive tools get <slug>` | Endpoints, input schema, price and a sample. Free. |
| `naive tools run <slug>` | `--arg key=value` (text) or `--arg key:=json` (number, boolean, array), repeatable; `--input '{…}'` for the whole object; `--identity idn_…`; `--wait` polls an async run until it finishes. Priced. |
| `naive tools runs` | `--tool`, `--status`, `--limit`, `--after`. `runs show <id>` reads one run. |

A run that a rule holds for approval comes back with `status: "held"` and an `approval` id; see [approvals](#approvals).

## resources

```bash theme={"system"}
naive resources list --type inbox --identity idn_0123456789abcdefghjkmnpqrs
naive resources list --identity workspace --counts
naive resources show dom_0123456789abcdefghjkmnpqrs
```

Types: `identity`, `inbox`, `domain`, `phone`, `card`, `brokerage`, `wallet`, `computer`, `browser_profile`, `vault`, `company`, `social`, `app`, `browser`, `mobile_device`, `character`. Connected apps are listed with `naive connections`, not here. `naive resources list` takes `--type`, `--identity` (an `idn_` id or `workspace`), `--q`, `--counts`, `--limit` and `--after`; a bare `naive resources` is the same list.

Creating and changing a resource stays on its own command, for example `naive email create` (the same as `naive email provision`), `naive domain purchase` or `naive trading create` (the same as `naive trading connect`).

## approvals

Approvals are set on the identity. Each action is `never`, `always` or `over:<usd>`:

```bash theme={"system"}
naive identity rules Ava
naive identity rules Ava --set email.send=always --set spend.over=over:5
naive approvals rules --set trade.place=always
```

`naive identity rules <idn_…|name>` reads that identity's effective rules; `--set` (repeatable) changes them.

`naive approvals rules` does the same: with `--identity` for one identity, without it for the workspace defaults that new identities and workspace-owned resources use.

Changing rules needs a signed-in owner or admin (sign in with your email); an API key can read them.

Actions: `email.send`, `sms.send`, `phone.buy`, `domain.buy`, `trade.place`, `card.spend`, `money.out`, `company.create`, `social.post`, `spend.over`.

```bash theme={"system"}
naive approvals list --status pending
naive approvals show apr_0123456789abcdefghjkmnpqrs
naive approvals wait apr_0123456789abcdefghjkmnpqrs --timeout 10m
```

`naive approvals list` takes `--status`, `--identity`, `--limit`, `--after`. `naive approvals wait` returns once a person approves or denies, or when `--timeout` runs out (default `10m`). Approving and denying happen in the developer console; a key cannot approve its own call.

## usage

```bash theme={"system"}
naive usage show --by tool --from 7d
naive usage show --by key --from 2026-11-01 --to 2026-11-23
```

`--by key|identity|tool|day`, `--from`, `--to`. A duration such as `7d` or `24h` means that long ago. A bare `naive usage` is `naive usage show`.

## logs

```bash theme={"system"}
naive logs list --status 4xx --from 24h
naive logs list --key key_0123456789abcdefghjkmnpqrs --tool tiktok.profile --limit 50
naive logs show req_0123456789abcdefghjkmnpqrs
```

`naive logs list` takes `--key`, `--tool`, `--identity`, `--status` (`2xx`, `4xx`, `5xx`, `held`), `--surface`, `--from`, `--to`, `--limit`, `--after`. Message bodies are never logged. A bare `naive logs` is `naive logs list`.

## connect

```bash theme={"system"}
naive connect claude
naive connect chatgpt
naive connect cursor
naive connect codex
naive connect mcp --token
```

Each prints the setup for that client: the Claude Code command and the claude.ai link, the ChatGPT steps, the Cursor `mcp.json` block, the Codex `config.toml` block, or the raw server URL. Clients sign in with OAuth, so nothing is created by default. `--token` creates a revocable `mcp_` session for a client without OAuth and puts it in the printed config; it is shown once (`--name` labels it).

See it later with `naive mcp list` and remove it with `naive mcp revoke`.

## Shorter spellings

1.2 adds `create` and `rm` where a group used another verb. The old verbs stay.

| New | Same as |
| - | - |
| `naive cards create` | `naive cards issue` |
| `naive cards rm` | `naive cards cancel` |
| `naive phone rm` | `naive phone release` |
| `naive email create` | `naive email provision` |
| `naive trading create` | `naive trading connect` |
| `naive trading rm` | `naive trading disconnect` |
| `naive social create` | `naive social activate` |

The plural group names for identities and webhooks also work, so either spelling of the group name reaches the same commands.


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