---
title: "Tools"
description: "The tools that your AI calls, with their parameters and limits."
canonical: "https://conjure.design/docs/tools"
---

# Tools



Conjure has five tools. Your AI calls them by itself. Each tool only reads data: no tool changes data.

| Tool                                | What it gives                                                              |
| ----------------------------------- | -------------------------------------------------------------------------- |
| [`search_screens`](#search_screens) | Screens for a need in plain words. Text only.                              |
| [`view_screens`](#view_screens)     | The images of 1 to 4 screens.                                              |
| [`get_screen`](#get_screen)         | The labels, the spacing, the type sizes and the colours of 1 to 8 screens. |
| [`get_kit`](#get_kit)               | The component kit of 1 or 2 screens.                                       |
| [`get_guides`](#get_guides)         | The three design guides.                                                   |

Each call that succeeds counts as one call of your [plan](/docs/accounts). A call of `get_guides` does not count.

A call without a key can also give a `notice`: the call does not belong to an account, and the notice gives the number of calls that are left this month. It comes with the first search of a conversation, and with each result when 5 or fewer calls are left. It is also the first text of the result, so that your AI can tell you.

## The usual sequence [#the-usual-sequence]

1. Your AI calls `search_screens` with the need in plain words.
2. Your AI reads the `takeThisFor` lines of each result, and selects the 3 or 4 results that fit best.
3. Your AI calls `view_screens` for those results only.
4. Your AI makes the design, and follows the [guides](/docs/guides) that came with the first search.

When your AI needs exact values, it calls `get_screen`. When your AI builds in the look of one screen, it calls `get_kit` for that screen.

## search_screens [#search_screens]

This tool finds reference screens for a user interface. It gives text only, and no images.

All parameters are optional. Without `query`, the other parameters filter the library.

| Parameter    | Type                             | Description                                                                                     |
| ------------ | -------------------------------- | ----------------------------------------------------------------------------------------------- |
| `query`      | Text, 300 characters at most     | What the screen must help with, in plain words. Example: `billing page with a failing payment`. |
| `screenType` | One [screen type](#screen-types) | The type of the screen.                                                                         |
| `theme`      | `dark`, `light` or `mixed`       | The theme of the screen.                                                                        |
| `density`    | `compact`, `regular` or `airy`   | The density of the screen.                                                                      |
| `limit`      | A whole number from 1 to 20      | The number of results. The default is 8.                                                        |
| `cursor`     | Text                             | The `nextCursor` value of the page before.                                                      |

The result has a list `items` and a value `nextCursor`. `nextCursor` is `null` when there is no next page.

The first search of a conversation also gives the two [guides](/docs/guides), as the field `guides` and as Markdown text after the results. Later searches do not have them.

Each item has these fields:

| Field                            | Description                                                                                                                                         |
| -------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| `id`                             | The id of the screen. The other tools use it.                                                                                                       |
| `product`                        | The product that the screen shows, or `null`.                                                                                                       |
| `source`                         | Where the screenshot came from.                                                                                                                     |
| `screenType`, `theme`, `density` | The labels of the screen.                                                                                                                           |
| `summary`                        | A short description of the screen.                                                                                                                  |
| `takeThisFor`                    | What this screen is good to copy, for your query.                                                                                                   |
| `notGoodFor`                     | What not to copy from this screen.                                                                                                                  |
| `rhythm`                         | The spacing grid, the type size and line height pairs, and the radius from the CSS of the product. It is `null` for a screen without a DOM capture. |

### Screen types [#screen-types]

| Value           | Meaning                                                                                                                                                                                 |
| --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `home`          | The signed-in start page of an app: overview widgets, recent items, next actions                                                                                                        |
| `analytics`     | Charts, metrics and reports                                                                                                                                                             |
| `queue`         | Work items that wait for a decision, such as approvals or triage                                                                                                                        |
| `list`          | A table or list of records with filters                                                                                                                                                 |
| `record-detail` | One record with its fields, history and actions                                                                                                                                         |
| `billing`       | Plans in an app, invoices, payment methods and usage                                                                                                                                    |
| `settings`      | Preferences, account, team or integration settings                                                                                                                                      |
| `chat`          | A conversation with people or an assistant                                                                                                                                              |
| `inbox`         | Messages or notifications to read and clear                                                                                                                                             |
| `calendar`      | Events on a day, week or month grid                                                                                                                                                     |
| `editor`        | A canvas or document that the user makes or changes                                                                                                                                     |
| `onboarding`    | First-run setup steps inside an app                                                                                                                                                     |
| `form`          | A screen where filling in fields is the main task: create or edit a record or a request, a wizard of one or more steps, or a quote or application flow, such as for insurance or a loan |
| `landing`       | A public marketing page or section: hero, product features, proof, calls to action                                                                                                      |
| `pricing`       | A public page or section that compares plans and prices                                                                                                                                 |
| `portfolio`     | An agency, studio or person that shows their work and case studies                                                                                                                      |
| `storefront`    | A shop: products for sale, collections, a product page or a cart                                                                                                                        |
| `editorial`     | A publication, blog or magazine: articles, stories, news                                                                                                                                |
| `auth`          | Sign in, sign up or password reset                                                                                                                                                      |
| `other`         | No type above fits                                                                                                                                                                      |

## view_screens [#view_screens]

This tool gives the images of the screens that your AI selected from `search_screens`. It gives one image for each screen, with a caption. An image is a PNG file or a JPEG file.

| Parameter | Type                         | Description                                    |
| --------- | ---------------------------- | ---------------------------------------------- |
| `ids`     | A list of 1 to 4 screen ids  | Necessary. The ids come from `search_screens`. |
| `size`    | `thumb`, `preview` or `full` | Optional. The default is `preview`.            |

| Size      | Image                                                                                                                 |
| --------- | --------------------------------------------------------------------------------------------------------------------- |
| `thumb`   | Approximately 240 px wide                                                                                             |
| `preview` | Approximately 1280 px wide                                                                                            |
| `full`    | The original file, when it is a PNG or JPEG file of 3.5 MB at most. If not, a JPEG file that is 2560 px wide at most. |

For an id that has no screen or no image, the tool gives a caption without an image.

## get_screen [#get_screen]

This tool gives the full data of screens. Your AI uses it after `search_screens` when it needs exact values.

| Parameter | Type                        | Description                                    |
| --------- | --------------------------- | ---------------------------------------------- |
| `ids`     | A list of 1 to 8 screen ids | Necessary. The ids come from `search_screens`. |

The result has a list `screens` and a list `missing`. `missing` has the ids that do not exist. Each screen has these fields:

| Field                      | Description                                                                                                                                                  |
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `id`, `source`             | The id of the screen, and where the screenshot came from.                                                                                                    |
| `width`, `height`, `scale` | The size of the image, and its scale.                                                                                                                        |
| `status`                   | The status of each stage of the screen.                                                                                                                      |
| `labels`                   | The full labels. `null` until the screen has labels.                                                                                                         |
| `measures`                 | The measurements from the pixels: the line rhythm, the type sizes and the colour palette. `null` until the screen has measurements.                          |
| `system`                   | The spacing system from the CSS of the page: the spacing values, the type pairs and the radii, with their counts. `null` for a screen without a DOM capture. |

## get_kit [#get_kit]

This tool gives the component kit of screens. A kit has three parts:

* a `globals.css` file for shadcn/ui and Tailwind v4
* the class strings that change the stock shadcn components to the look of the screen
* JSX patterns that build parts of the screen again

Conjure rendered each kit and compared it with its screen. Your AI uses a kit when it builds in the look of that screen, together with `view_screens` for the same screen.

| Parameter | Type                        | Description                                    |
| --------- | --------------------------- | ---------------------------------------------- |
| `ids`     | A list of 1 or 2 screen ids | Necessary. The ids come from `search_screens`. |

The result is Markdown text for each screen. For a screen without a kit, the text gives the cause.

## get_guides [#get_guides]

This tool gives the three [guides](/docs/guides) as one Markdown text: the anti-slop rules, the spacing and rhythm guide, and the clean-copy guide. It has no parameters.

The first `search_screens` result of a conversation has the guides. Your AI calls `get_guides` when it does not have them.

A call of this tool does not count as a call of your plan.
