precheck_file
Check a file before editing to surface citing rules/constraints, failed attempts, approved decisions that rely on it, pending proposals and handoffs, session mentions, and whether it changed since.
Instructions
Call before you edit a file. Shows the project rules and constraints that cite it, earlier attempts on it that failed, approved decisions that rely on it (your edit will mark them for re-checking), pending proposals and handoffs built on it, and captured sessions that mentioned it by name, with whether the file changed since.
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": {
"file_id": "<file_id>"
},
"name": "precheck_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | File ID from list_files. |