lbb_reviews_manage
Create, answer, comment on, or withdraw review items for ontology changes, value confirmations, choices, grades, or written answers, collecting person-approved decisions before committing.
Instructions
File, answer, comment on or withdraw review items. Show the item to the user and answer only what the user decided. Kinds and their decisions: change (accept an ontology change, identities or facts: accept, reject, cant_tell), value (confirm one value of a property, question.property and question.value: accept, correct with the right value, reject, cant_tell; accept and correct commit the value), choice (pick one of question.options: choose with option, cant_tell), grade (grade question.output on the scale question.options: choose with option, cant_tell), answer (answer question.prompt in words: accept with the text in note, cant_tell). Status is open, answered or withdrawn. Scope is live (default) or test: a test item writes nothing. An answer that accepts or corrects a value item, or accepts a change item, commits facts or applies an ontology change (which can remove types and relations): the server reads the items and asks the person to approve first, with the count and the effect. Any other answer, such as the grade or choice of an item Evals filed, asks nothing. The server asks the person to approve it through the client (MCP form elicitation) and sends nothing when they decline (approval_declined). A client that cannot show the question gets approval_required and nothing is sent, unless the MCP server's environment sets LBB_MCP_DESTRUCTIVE=allow. create files an item of kind value, choice, grade or answer (kind, title, question, and optionally subject, evidence, rationale, key, scope, facts, origin); the same key again updates it, and an answered item comes back unchanged. File an ontology change with lbb_configure action=suggest_ontology_change. answer records the person's answer (decision, with value for correct, option for choose, note). An item has one answer: the same answer again returns the item, another one answers 409 review_answered. revision is the revision the person saw; a later one answers 409 review_stale. answer_batch gives one answer to up to 500 ids. comment adds text to an item's discussion. withdraw takes back an item you filed, with a reason. Each write sends an idempotency key, and a retry after a network failure or a 5xx sends the same key, so the write happens once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | answer, comment, withdraw: the item's id (rev_…). | |
| ids | No | answer_batch: 1 to 500 item ids. | |
| key | No | create: your key for the item; the same key again updates it. Default: from the kind, subject and question. | |
| eval | No | create: the model check, calibration or test that asks. | |
| kind | No | create: the kind of question. | |
| text | No | comment: the comment, 1 to 4,000 characters. | |
| wait | No | create: the engine identity and turn of a run that waits for the answer as the signal review.<id>. | |
| facts | No | create, a value item: the facts that accept or correct commits, as lbb_commit takes them (at most 200 triplets and property rows together). | |
| graph | No | Graph to target; defaults to the connection's graph | |
| scope | No | create: live (default) or test (writes nothing). | |
| title | No | create: the question in words, at most 200 characters. | |
| action | Yes | ||
| answer | No | answer, answer_batch: the answer, { decision, value, option, note }. | |
| author | No | comment: who writes it. | |
| detail | No | Response detail level. Defaults to compact. | |
| origin | No | create: the producer. Default {"kind": "agent", "id": "mcp agent"}. | |
| reason | No | withdraw: why, at most 1,000 characters. | |
| subject | No | create: the record the question is about. | |
| evidence | No | create: the quotes you read, and where they are. | |
| question | No | create: what the item asks, by kind. | |
| revision | No | answer: the revision of the item the person saw. | |
| workflow | No | create: the workflow run and step that asks. | |
| rationale | No | create: why a person sees it, at most 4,000 characters. | |
| evidence_hash | No | create: a mark of the evidence (a document version, a hash of the text). Asking again with other evidence and another proposal reopens an answered item. |