textrawl
byJeff Green

daily_briefing

Get a personalized briefing of your knowledge base

Get a personalized briefing of your knowledge base: recent additions, new insights, and "on this day" resurfacing of older content. Useful for staying on top of what has been added and rediscovering past knowledge.

Parameters

ParameterTypeRequiredDefaultDescription
includeOnThisDaybooleanOPTIONALtrueInclude documents from this date in previous years
recentDaysnumberOPTIONAL7Number of days to look back for recent additions (1-30)

Example Request

Default Briefing

{}

Last 3 Days Without Historical Resurfacing

{
  "includeOnThisDay": false,
  "recentDays": 3
}

Extended Lookback

{
  "recentDays": 30
}

Response

{
  "recentAdditions": {
    "count": 5,
    "documents": [
      {
        "id": "abc-123",
        "title": "API Design Notes",
        "sourceType": "note",
        "createdAt": "2026-03-25T14:30:00.000Z"
      }
    ]
  },
  "newInsights": {
    "count": 2,
    "insights": [
      {
        "id": "ins-456",
        "type": "connection",
        "title": "Shared pattern between Auth and Payments",
        "summary": "Both modules use the same retry logic..."
      }
    ]
  },
  "onThisDay": {
    "count": 1,
    "documents": [
      {
        "id": "doc-789",
        "title": "Project Kickoff Notes",
        "sourceType": "note",
        "createdAt": "2025-03-26T10:00:00.000Z",
        "yearsAgo": 1
      }
    ]
  },
  "generatedAt": "2026-03-26T09:00:00.000Z"
}

Insight summaries are truncated to 200 characters.

Error Responses

ErrorCauseFix
Database not configuredMissing Supabase credentialsSet SUPABASE_URL and SUPABASE_SERVICE_KEY
Failed to generate briefingDatabase or query errorCheck connectivity and logs

Notes

  • This tool is read-only and idempotent — it does not modify any data.
  • The "on this day" feature surfaces documents that were added on the same calendar date in previous years, helping you rediscover older content.
  • The briefing includes recent additions, new insights discovered since your last check, and historical content.
  • Best used at the start of a session to get oriented with your knowledge base.

On this page