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

# Identity policies

> How an agent's identity tools are governed: the same per-tool allow / ask / deny as every other tool, enforced at the tool-call boundary.

> [!NOTE]
>
> Identity is **available now**, governed by the agent's [tool policy](https://vetta.sh/docs/concepts/policies.md).

Identity is where an agent touches the outside world, so it is where governance matters most. There is no separate identity policy object: every email, phone and connection tool an agent is offered passes through the same allow / ask / deny check as any other [tool call](https://vetta.sh/docs/concepts/policies.md), evaluated before the action runs.

## What governs an identity's tools

An agent's `tools` toolset decides each tool by name. The identity tools are `email.inboxes`, `email.read`, `email.send`, `phone.numbers`, `phone.read`, `phone.send`, and the tools of a connected account, keyed `<connector>.<tool>` (for example `tracker.delete_project`):

```jsonc theme={"system"}
{
  "tools": {
    "default_config": { "permission": "allow" },
    "configs": {
      "email.send":             { "enabled": true,  "permission": "ask" },
      "phone.send":             { "enabled": false, "permission": "deny" },
      "tracker.delete_project": { "enabled": false, "permission": "deny" }
    }
  }
}
```

A `deny` tool is never offered to the model, so the agent cannot call it. To keep an agent to a known set of connection tools, set `default_config` to `deny` and name the ones it may use. There is no `policy_denied` error: a denied tool is simply absent, and an API request a key may not make is answered `forbidden`.

An agent only reaches the identities [attached](https://vetta.sh/docs/identity/overview.md) to it, and only the connections of those identities.

## Approval-gated by default

`email.send` and `phone.send` are [ask-by-default tools](https://vetta.sh/docs/capabilities/tools.md#permission-policies): unless `configs` names them, they resolve to `ask` under an `allow` or `ask` default (a `deny` default still denies them). When a tool asks, the session emits a confirmation event and holds at storage cost until you respond — see [Policies](https://vetta.sh/docs/concepts/policies.md#responding-to-ask).

Some actions are not open to an agent at all. `connections.connect` only returns an authorization link: nothing is connected until a person opens it and signs in. Provisioning a phone number and buying a domain are API and dashboard actions, not agent tools.

## Spend

There is no per-action spend threshold. Spend is capped by the agent's pre-flight [budget gate](https://vetta.sh/docs/concepts/budgets.md); the tool policy governs *which* actions may run at all.

> [card] Next: inbound events
>
> How inbound email and SMS wake a sleeping agent.


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