Record a Decision
record_decision is one of the 32 MCP tools in Weft, the AI task manager you run by talking to Claude, Cursor, Codex or ChatGPT through one MCP endpoint. One tool, two uses, one table of record. (1) Relay a verdict you gave in conversation about finished work waiting on you — approved, send it back, drop it, later — clearing the card from the review queue; the entry is stored as relayed rather than as you acting in the app, and that difference is kept visible on purpose. (2) Record a standalone decision worth remembering — 'chose Neon over Supabase', a lesson learned — as an immutable MADR-lite record with the options weighed and the condition to revisit under. Records are never edited: a new decision with supersedesId replaces an old one, and the old one stays readable as what it said the day it was made. These records are what get_context serves back to every agent next week.
Weft je AI správca úloh pre samostatných zakladateľov a malé tímy.
Referenčný popis nástrojov sa udržiava v angličtine: názvy nástrojov, argumenty aj príklady sú vo všetkých jazykoch rovnaké.
Argumenty
| Názov | Typ | Povinný | Popis |
|---|---|---|---|
| id | uuid | nie | Verdict relay: task id the decision is about. |
| decision | 'accepted' | 'rework' | 'dropped' | 'deferred' | nie | Verdict relay: what you said. |
| note | string | nie | Your words — needed in substance for rework, since the executor acts on it. |
| title | string | nie | Standalone record: the decision, named. Required with outcome. |
| outcome | string | nie | Standalone record: the choice, stated as a sentence. |
| kind | 'madr' | 'lesson' | nie | Defaults to 'madr'; 'lesson' for a lesson learned. |
| status | 'proposed' | 'accepted' | 'rejected' | 'deprecated' | nie | Defaults to 'accepted'. |
| context | string | nie | What was true that forced a choice. |
| options | { title, pros?, cons? }[] | nie | The options actually weighed — not a retrofit. |
| consequences | string | nie | What follows from the choice, good and bad. |
| confirmation | string | nie | The condition under which to revisit this decision. |
| supersedesId | uuid | nie | A prior decision this one replaces. The old record stays, marked superseded. |
| project | string | nie | Project this decision belongs to — name or id. |
| taskId | uuid | nie | A task a standalone decision is about, if any. |
Vracia
The verdict path: the task with the decision recorded and the queue size after it. The record path: the immutable decision entry.
Anotácie
Predvolený zapisovací nástroj. Mení stav; MCP klienti ho môžu volať, hneď ako vedia, čo používateľ chce. Či si klient vyžiada potvrdenie, je na klientovi; špecifikácia Model Context Protocol odporúča, aby bol pri tom človek, ktorý môže volania nástrojov zamietnuť.
Príklad
Čo povie používateľ:
"We're going with Neon over Supabase — write that down with the reasoning."Súvisiace
- Všetkých 32 MCP nástrojov — pohľad na katalóg.
- Člnok — ako tieto nástroje používa AI klient.
- Zavolaj tento nástroj zo svojho vlastného klienta: návody na nastavenie, alebo pošli požiadavku priamo na
https://letsweft.com/api/mcp.