# smart_brevity (https://docs.smartbrevity.ai/docs/tools/smart-brevity)



**`smart_brevity` is read-only.** Reviews run in [`review_draft`](https://docs.smartbrevity.ai/docs/tools/review-draft). Product feedback goes through [`send_feedback`](https://docs.smartbrevity.ai/docs/tools/send-feedback). The `tools/list` schema on your connection is the full field contract.

| `action`                          | What it does                                            | Required    |
| --------------------------------- | ------------------------------------------------------- | ----------- |
| [`guidance`](#guidance)           | Returns a writing packet before you draft               | Nothing     |
| [`review_result`](#review_result) | Reads a saved review, or polls one that's still running | `review_id` |
| [`work_history`](#work_history)   | Lists a full review's rounds                            | `loop_id`   |
| [`interview`](#interview)         | Returns the Brand guide interview                       | Nothing     |

## Fields on every action [#fields-on-every-action]

| Field              | Limit         | Use                                                                                                                                 |
| ------------------ | ------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| `conversation_id`  | 128 chars     | A stable opaque ID you repeat across calls for one draft                                                                            |
| `instructions_ack` | 32 chars      | Set it to the value your server instructions name. Leave it unset otherwise                                                         |
| `organization_id`  |               | Optional. Can repeat the connection's workspace, can't switch it                                                                    |
| `client_hint`      | enum          | Only for a platform that masks the real surface: `claude-code`, `claude-desktop`, `chatgpt`, `gemini`, `codex`, `cursor`, `generic` |
| `context`          | 100,000 chars | Kept for older clients. The server discards the content                                                                             |

## guidance [#guidance]

Call this before writing. It costs no review.

| Field                 | Limit          | Use                                                                                                                          |
| --------------------- | -------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| `persona`             | 500 chars      | Who the message is for                                                                                                       |
| `communication_goal`  | 500 chars      | What the writer wants to achieve                                                                                             |
| `channel`             | 500 chars      | How it'll be delivered                                                                                                       |
| `format`              | 500 chars      | Versioned format ID. See [Task labels](https://docs.smartbrevity.ai/docs/tools/review-draft#task-labels)                                                 |
| `format_context`      |                | Deck facts: `mode` and `allotted_minutes` (1 to 600)                                                                         |
| `skill_slug`          |                | A built-in or published [Skill](https://docs.smartbrevity.ai/docs/concepts/brand-guide-and-skills)                                                       |
| `lens`                | enum           | A [built-in Skill](https://docs.smartbrevity.ai/docs/concepts/built-in-skills) by name. Leave it out to use the one your selected Skill pairs            |
| `brand_markdown`      | 60,000 chars   | Inline brand context. Overrides the workspace's published Brand guide                                                        |
| `draft_excerpt`       | 8,000 chars    | Raw draft, used to infer the format                                                                                          |
| `include_examples`    | boolean        | Attach up to 3 before/after pairs: the selected organization Skill's published References, or general examples otherwise     |
| `candidate_reader`    |                | Reader facts you know. A task-driven packet echoes them as `reader`                                                          |
| `verbosity`           | `lean`, `full` | `full` by default. `lean` references the base method instead of inlining it                                                  |
| `max_guidance_tokens` | 200 to 20,000  | Soft cap on inlined guidance. It trims the base method first, and the selected built-in Skill only when that alone runs over |

**Guidance takes any label. A full review reads only registered ones.** Your AI carries these labels into `review_draft`. A full review reads an equivalent word as its [registered value](https://docs.smartbrevity.ai/docs/tools/review-draft#task-labels), ignores any other label, and names each ignored field in `advisories`. A GEO request treats blank labels as omitted and refuses a nonblank label outside the exact list. A full review with `source_materials` is also refused. On a workspace that runs full reviews, use registered values here too, or leave the field out.

With registered labels on that workspace, `format_context.mode` must be `live` or `pre_read`. Another value returns `unsupported_format_context` and no packet.

### What comes back [#what-comes-back]

| Field                              | Holds                                                                              |
| ---------------------------------- | ---------------------------------------------------------------------------------- |
| `status`                           | `ready`, or `needs_clarification` with `clarifying_question` and `fallback_packet` |
| `packet_version`                   | The Smart Brevity rules version. Pass it back on `review_draft`                    |
| `packet_schema_version`            | The packet's shape                                                                 |
| `input_interpretation`             | Resolved task facts and `assumptions`                                              |
| `trusted_guidance`                 | `structure` and `formatting_rules`                                                 |
| `editorial_lens`                   | The built-in Skill's `name`, `when_to_use` and `guidance`                          |
| `lens_options`                     | The other built-in Skills to choose from                                           |
| `rubric`                           | The checks: `id`, `label`, `test`, `severity`                                      |
| `client_generation_instruction`    | The next step: `task`, `constraints`, `output_options`                             |
| `brand_guide`, `skill`, `examples` | Published workspace guidance, a selected Skill and requested examples              |

`packet_schema_version` tells you which of two shapes you got:

* **`2.4`, task-driven.** On a workspace that runs quick reviews, or when a label falls outside the [registered values](https://docs.smartbrevity.ai/docs/tools/review-draft#task-labels). It adds `task_context`, leaves `trusted_guidance.structure` empty and keeps unspecified facts `null`. Choose structure and length for the task. On `review_draft`, map `audience` to `persona`, `purpose` to `communication_goal` and `reader` to `candidate_reader`. Copy `channel`, `format` and `format_context`, and leave out null values.
* **`2.1`, fixed.** Missing labels default to `employee`, `inform`, `email` and `story@1`. `input_interpretation.assumptions` records each default.

## review\_result [#review_result]

Reads a saved review by `review_id`. It starts no new review.

| Field       | Use                                              |
| ----------- | ------------------------------------------------ |
| `review_id` | **Required.** The ID the earlier result returned |

While a run is going, it returns `status: "working"`. When it's done, it returns the same result the `review_draft` call would have. An unknown or expired ID returns `code: "review_not_found"`, with an error saying it may have expired.

Results stay readable for [15 minutes to 30 days](https://docs.smartbrevity.ai/docs/reference/data-and-retention), depending on the kind of review. To request a deeper review, call [`review_draft`](https://docs.smartbrevity.ai/docs/tools/review-draft#deeper-review) with the quick review's `review_id`.

## work\_history [#work_history]

Lists a full review's rounds. It needs a signed-in connection.

| Field     | Use                                           |
| --------- | --------------------------------------------- |
| `loop_id` | **Required.** The ID the full review returned |

```json
{
  "action": "work_history",
  "loop_id": "…",
  "rounds": [
    {
      "review_round": 1,
      "verdict": "revise",
      "checks_passed": 13,
      "checks_total": 16,
      "flagged": [{ "id": "news_identification", "label": "…" }]
    }
  ],
  "client_generation_instruction": "…"
}
```

Quick reviews don't write rounds. A `loop_id` with no recorded rounds returns an empty `rounds` list.

## interview [#interview]

Takes no action-specific input. Returns `interview_script` for your AI to run with its own question tools. Save the result with [`edit_guidance`](https://docs.smartbrevity.ai/docs/tools/edit-guidance).
