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 est le gestionnaire de tâches IA des fondateurs solos et des petites équipes.
La référence des outils est maintenue en anglais : les noms d’outils, les arguments et les exemples sont identiques dans toutes les langues.
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| id | uuid | non | Verdict relay: task id the decision is about. |
| decision | 'accepted' | 'rework' | 'dropped' | 'deferred' | non | Verdict relay: what you said. |
| note | string | non | Your words — needed in substance for rework, since the executor acts on it. |
| title | string | non | Standalone record: the decision, named. Required with outcome. |
| outcome | string | non | Standalone record: the choice, stated as a sentence. |
| kind | 'madr' | 'lesson' | non | Defaults to 'madr'; 'lesson' for a lesson learned. |
| status | 'proposed' | 'accepted' | 'rejected' | 'deprecated' | non | Defaults to 'accepted'. |
| context | string | non | What was true that forced a choice. |
| options | { title, pros?, cons? }[] | non | The options actually weighed — not a retrofit. |
| consequences | string | non | What follows from the choice, good and bad. |
| confirmation | string | non | The condition under which to revisit this decision. |
| supersedesId | uuid | non | A prior decision this one replaces. The old record stays, marked superseded. |
| project | string | non | Project this decision belongs to — name or id. |
| taskId | uuid | non | A task a standalone decision is about, if any. |
Retour
The verdict path: the task with the decision recorded and the queue size after it. The record path: the immutable decision entry.
Annotations
Outil d’écriture ordinaire. Il modifie l’état ; un client MCP peut l’appeler dès qu’il sait ce que veut l’utilisateur. Demander confirmation ou non relève du choix du client ; la spécification du Model Context Protocol recommande de garder un humain dans la boucle, capable de refuser les appels d’outils.
Exemple
Ce que dit l’utilisateur :
"We're going with Neon over Supabase — write that down with the reasoning."À voir aussi
- Les 32 outils MCP — la vue catalogue.
- Shuttle — comment le client IA se sert de ces outils.
- Appelez cet outil depuis votre propre client : voir les guides d’installation, ou visez directement
https://letsweft.com/api/mcp.