preToolUse hook drops line range parameters (offset/limit) on ReadFile tool calls (v3.2.18)

Hey, thanks for the report, and extra thanks for digging into the payload offset/limit to null. I reproduced it and can confirm the bug: preToolUse for ReadFile really only passes file_path, and offset and limit get lost along the way, even though the agent sends them correctly to the tool.

I filed this internally as a separate issue. I can’t share an ETA yet, but the fix is pretty targeted, so I’m hoping it’ll land in one of the next releases. When there’s an update, we’ll reply in this thread.

Also, about your note on the general pattern with postToolUse additional_context, thread 155689 Native postToolUse hooks accept and log additional_context successfully, but the injected context is not surfaced to the model, it’s a different issue but it does look like the same class of problem, data gaps in the hooks pipeline. We’re tracking both.