code_read
Read a file or one symbol before editing to retrieve exact content and a read_ref for subsequent edits; set budget_hint=0 to fetch the full file.
Instructions
Read a file or one symbol before editing; returns content + a read_ref to pass back when editing. budget_hint=0 → full file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | core default; rich adds outline. | |
| locator | No | Anchor {symbol_id}/{file_path+name}; line_range = degraded. | |
| task_id | Yes | Task id. | |
| read_ref | No | Re-read by read_ref. | |
| budget_hint | No | Max chars; 0 = full. | |
| workspace_dir | Yes | Project root (abs). | |
| expected_state_revision | No | Guard. |