# Reference

> Every tool, command, limit and refusal of the CLI and MCP contracts.

The contracts Pixling exposes to agents and scripts. Tables of MCP tools, operations, failure codes, and CLI commands are generated directly from the app's code so they match the build they came from.

If any term is unfamiliar, start with the [Glossary](/docs/reference/glossary/).

```text title="How automation reaches Pixling"
Agent / script ──▶ MCP (127.0.0.1:48271/mcp) or pixling CLI
                        │
                        ▼
                   PixlingDesk  (runs operations, owns residents & inbox)
                        │
                        ▼
                  Pixling Studio (Settings UI, Connect toggles, Create)
```

## Resident actions

What your agent does with a resident on the desk, ordered from most used to specialized.

- [Messages and questions](/docs/reference/messages-and-questions/): Speak, ask, handle receipts, notifications, sound, and read live conversations.
- [Residents](/docs/reference/residents/): List, place, follow, set states, emote, throw, summon, stow, and read pixels.
- [Resident settings](/docs/reference/resident-settings/): Describe and change a resident's look, dots, reaction hooks, speech paper, speech window, and gravity.
- [Resident binding](/docs/reference/resident-binding/): Bind a client namespace/key to one resident with resident.ensure.
- [Inbox](/docs/reference/inbox/): Watch, wait for, receive, and read user replies and late question answers.
- [Light (glow)](/docs/reference/light/): Play one-shot pixel lights across a resident without speech.
- [Sequences](/docs/reference/sequences/): Choreograph timed cuts, movement, state machines, lights, and saved sequences.
- [Groups and relations](/docs/reference/groups-and-relations/): Tag individual residents, link members within a group, and pulse saved relations.
- [Import](/docs/reference/import/): Prepare and adopt images, GIFs, or video into new Field Guide residents.
- [Notes](/docs/reference/notes/): Read and write user-facing remarks on residents and bound sessions.
- [App settings](/docs/reference/settings/): Inspect and adjust global Pixling settings exposed to automation.

## Transport and contracts

How clients reach the app, what tools and commands exist, and how errors are reported.

- [MCP server](/docs/reference/mcp/): Endpoint, Streamable HTTP transport, protocol versions, results, errors, and trust boundary.
- [MCP tools](/docs/reference/mcp-tools/): Every MCP tool, its underlying operation, access level, and required arguments.
- [CLI](/docs/reference/cli/): Programmatic call/rpc/schema surfaces, binary location, JSON output, exit codes, and doctor checks.
- [CLI commands](/docs/reference/cli-commands/): Complete reference for the bundled pixling command-line interface.
- [Operations and failure codes](/docs/reference/operations/): Every operation the app accepts and the closed set of failure codes.
- [Glossary](/docs/reference/glossary/): Consistent definitions for every Pixling term, from resident and desk to binding and inbox.
