record_suggestion
Persist a single actionable suggestion for the user in the Web UI. Upsert by kind and dedupe key to refresh open items while leaving dismissed or completed ones untouched.
Instructions
Persist an actionable suggestion for the user (surfaced in the Web UI dashboard). Reserve for actions only the user can perform. Upserts by kind + dedupeKey: refreshes an open suggestion, never resurrects a dismissed/done one — the confirmation reports id, status, and whether it was written or left untouched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Rationale and expected payoff, markdown | |
| kind | Yes | Suggestion kind, lowercase kebab-case category | |
| title | Yes | Short headline shown in the Web UI | |
| command | Yes | Copy-runnable next action, e.g. a /leadace one-liner | |
| dedupeKey | Yes | Stable dedup key within the kind | |
| projectId | Yes | Project name or ID |