file_facts
file_factsCompute a file's durable facts by its fingerprint, returning overlay snapshots and working tree information. Inspect what Reef knows about any file across overlays.
Instructions
Reef read tool for one file's durable facts: computes the file subject fingerprint and returns facts such as working_tree_overlay file_snapshot rows. Use this to inspect what Reef currently knows about a file across overlays.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"filePath": "<filePath>"
},
"name": "file_facts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| limit | No | ||
| source | No | ||
| overlay | No | ||
| filePath | Yes | ||
| projectId | No | ||
| projectRef | No | ||
| freshnessPolicy | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| facts | Yes | ||
| _hints | Yes | ||
| filters | Yes | ||
| filePath | Yes | ||
| toolName | Yes | ||
| warnings | Yes | ||
| projectId | Yes | ||
| projectRoot | Yes | ||
| reefExecution | Yes | ||
| totalReturned | Yes |