reserve_file
Reserve a file ID to embed in the filename before writing code, enabling consistent tracking across the reserve-write-finalize flow.
Instructions
Reserve a file ID before writing code — part of the mandatory reserve-write-finalize tracking flow. Returns ID to embed in filename.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Preliminary file name (will have _id_xxx appended) | |
| path | Yes | File path relative to project root | |
| language | Yes | Programming language (e.g., 'python', 'javascript', 'typescript') | |
| skip_id_naming | No | If true, skip ID embedding in name (for __init__.py, .db files, MCP tools, or user preference). Sets id_in_name=0 in database. |