Smart Brevity AIdocs
Tools

smart_brevity

View as Markdown

smart_brevity is read-only. Reviews run in review_draft. Product feedback goes through send_feedback. The tools/list schema on your connection is the full field contract.

actionWhat it doesRequired
guidanceReturns a writing packet before you draftNothing
review_resultReads a saved review, or polls one that's still runningreview_id
work_historyLists a full review's roundsloop_id
interviewReturns the Brand guide interviewNothing

Fields on every action

FieldLimitUse
conversation_id128 charsA stable opaque ID you repeat across calls for one draft
instructions_ack32 charsSet it to the value your server instructions name. Leave it unset otherwise
organization_idOptional. Can repeat the connection's workspace, can't switch it
client_hintenumOnly for a platform that masks the real surface: claude-code, claude-desktop, chatgpt, gemini, codex, cursor, generic
context100,000 charsKept for older clients. The server discards the content

guidance

Call this before writing. It costs no review.

FieldLimitUse
persona500 charsWho the message is for
communication_goal500 charsWhat the writer wants to achieve
channel500 charsHow it'll be delivered
format500 charsVersioned format ID. See Task labels
format_contextDeck facts: mode and allotted_minutes (1 to 600)
skill_slugA built-in or published Skill
lensenumA built-in Skill by name. Leave it out to use the one your selected Skill pairs
brand_markdown60,000 charsInline brand context. Overrides the workspace's published Brand guide
draft_excerpt8,000 charsRaw draft, used to infer the format
include_examplesbooleanAttach up to 3 before/after pairs: the selected organization Skill's published References, or general examples otherwise
candidate_readerReader facts you know. A task-driven packet echoes them as reader
verbositylean, fullfull by default. lean references the base method instead of inlining it
max_guidance_tokens200 to 20,000Soft 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, 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

FieldHolds
statusready, or needs_clarification with clarifying_question and fallback_packet
packet_versionThe Smart Brevity rules version. Pass it back on review_draft
packet_schema_versionThe packet's shape
input_interpretationResolved task facts and assumptions
trusted_guidancestructure and formatting_rules
editorial_lensThe built-in Skill's name, when_to_use and guidance
lens_optionsThe other built-in Skills to choose from
rubricThe checks: id, label, test, severity
client_generation_instructionThe next step: task, constraints, output_options
brand_guide, skill, examplesPublished 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. 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

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

FieldUse
review_idRequired. 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, depending on the kind of review. To request a deeper review, call review_draft with the quick review's review_id.

work_history

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

FieldUse
loop_idRequired. The ID the full review returned
{
  "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

Takes no action-specific input. Returns interview_script for your AI to run with its own question tools. Save the result with edit_guidance.

On this page