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

# Tool reference

> Every tool on the Gesso MCP server, what it does, and what it costs.

If a request does not obviously match a tool, have the agent call
`route_request` with your own words. It returns a named workflow and an ordered
tool plan, or a short set of questions to ask you first.

## Find and read

| Tool | What it does | Credits |
| - | - | - |
| `list_projects` | Your projects, newest first | 0 |
| `get_project_context` | The resolved context Gesso designs from: design.md, brand system, intent | 0 |
| `get_direction` | One design (tokens, optionally HTML), or a project's designs with their lineage | 0 |
| `route_request` | Turns a plain request into a workflow and a tool plan | 0 |
| `search_patterns`, `get_pattern` | The UX pattern library | 0 |
| `search_vibes`, `get_vibe` | The visual direction library | 0 |

## Files

| Tool | What it does | Credits |
| - | - | - |
| `export_design` | A project as `design/` files | 0 |
| `export_screen` | One screen's HTML, or one component of it | 0 |
| `export_tokens` | `tokens.css`, `tailwind.config.js`, `brand.context.json` | 0 |
| `pull_design_context` | `design/design.md` | 0 |

## Design

| Tool | What it does | Credits |
| - | - | - |
| `generate_direction` | A new screen from a brief. Runs as a job, a few minutes | The price of a design in the app (10 at the standard rate) |
| `edit_direction` | A natural-language edit. Lands as a new version, the original is kept. Usually under a minute | 1 to 3 |
| `explore_directions` | Alternatives to a screen that keep its content. One job per alternative | One design each |
| `get_generation` | Follow a job: status, stage, elapsed time, result | 0 |
| `vary_component` | Three redesigns of one component | 2 |
| `apply_variation` | Commit the one you picked | 0 |

## Bring things in

| Tool | What it does | Credits |
| - | - | - |
| `ingest_design` | Import a captured screen of your real product | 0 |
| `sync_project_context` | Push the four repo-owned sections of design.md | 0 |
| `update_design_context` | Replace or append to design.md, guarded against lost updates | 0 |
| `pin_brand_system` | Pin your real brand tokens to a project | 0 |

## Review

| Tool | What it does | Credits |
| - | - | - |
| `critique_design` | Quality review of a design or raw HTML. Advisory | 0, capped per day |
| `verify_implementation` | Compare your build against the design | 0, capped per day |

## Jobs, charges and retries

`generate_direction`, `edit_direction` and `explore_directions` return a job id
at once and do their work in the background. Poll `get_generation` every ten
seconds or so. A job is charged once, when its result is saved; a job that
fails is not charged, and a retried job does not bill twice.

## When a tool asks which screen

Tools that act on an existing screen will not guess. When a request could mean
more than one screen, the tool returns the candidates and a confirm token
instead of acting. Your agent should ask you, then call again with your
choice.


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