save_daily_brief
Save a composed daily brief to the database, immediately updating the dashboard widget. Returns confirmation with date and model provenance.
Instructions
Save a composed daily brief so the dashboard widget shows it.
This is the write-back half of the daily-brief round-trip. Claude Desktop (or
Claude Code) composes the brief from generate_daily_insight() context, then
calls this to upsert the finished prose into the daily_insights table — the
same table the dashboard's morning-brief widget reads via get_daily_insight().
Desktop and the dashboard share one database, so no files are involved: once
saved, the brief appears in the dashboard on next load.
Args:
content: The finished daily-brief prose (markdown ok). Required.
sources: Comma-separated list of what the brief drew on (optional).
date: YYYY-MM-DD; empty = today.
model: Model identifier that composed it, for provenance (optional).
Returns:
Confirmation with the date saved and a pointer to the dashboard widget.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| sources | No | ||
| date | No | ||
| model | No | desktop-brief |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |