db_reef_refresh
db_reef_refreshUpdates indexed Reef facts to match the current database schema snapshot, including all structural elements like schemas, tables, columns, indexes, and policies.
Instructions
Explicit Reef DB ingestion tool: replace indexed Reef facts for the current schema snapshot, including schemas, tables, columns, indexes, foreign keys, RLS policies, triggers, enums, RPCs, scheduled jobs, RPC-to-table refs, and indexed schema usages. Uses the existing schema snapshot/read-model indexes; run project_index_refresh first if the snapshot is stale or missing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| freshen | No | ||
| projectId | No | ||
| factsLimit | No | ||
| projectRef | No | ||
| includeFacts | No | ||
| includeAppUsage | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| facts | No | ||
| _hints | Yes | ||
| summary | Yes | ||
| toolName | Yes | ||
| warnings | Yes | ||
| projectId | Yes | ||
| projectRoot | Yes | ||
| factsTruncated | No | ||
| schemaFreshness | Yes |