[BUG] Cannot read or write local files, prompts no ReadFile CreatiFile

Resolved 💬 2 comments Opened Mar 4, 2026 by miukoo Closed Apr 2, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Cannot read or write local files, prompts no ReadFile CreatiFile.

version: v2.1.66
os: windows 11

I see there's an issue - the CreateFile tool doesn't exist in my available functions. However, I can still help you with task management using the following tools:

Available Tools

┌───────────────┬─────────────────────────────────────────────────────────────────────┐
│ Tool │ Purpose │
├───────────────┼─────────────────────────────────────────────────────────────────────┤
│ TaskList │ View all tasks and their statuses │
├───────────────┼─────────────────────────────────────────────────────────────────────┤
│ TaskGet │ Get full details of a specific task (by ID) │
├───────────────┼─────────────────────────────────────────────────────────────────────┤
│ TaskCreate │ Create new tasks with subject, description, activeForm, etc. │
├───────────────┼─────────────────────────────────────────────────────────────────────┤
│ TaskUpdate │ Update task status, dependencies, owner, metadata, etc. │
├───────────────┼─────────────────────────────────────────────────────────────────────┤
│ EnterWorktree │ Start an isolated worktree (only when explicitly requested by user) │
└───────────────┴─────────────────────────────────────────────────────────────────────┘

How to Proceed

  1. First, let's see what tasks exist:
  • I'll call TaskList to show you all current tasks
  1. Then we can:
  • Claim and start working on pending tasks
  • Create new tasks if needed (using TaskCreate)
  • Set up dependencies between tasks using addBlockedBy/addBlocks
  • Mark tasks as completed when done

What Should Happen?

应该在本机创建文件

Error Messages/Logs

2026-03-04T09:57:47.475Z [ERROR] Error: Error: Tool ReadFile not found
    at DFf (B:/~BUN/root/claude.exe:2374:6884)
    at o_ (B:/~BUN/root/claude.exe:247:20798)
    at PE (B:/~BUN/root/claude.exe:247:39194)
    at ci (B:/~BUN/root/claude.exe:247:49817)
    at YW (B:/~BUN/root/claude.exe:247:86075)
    at EI (B:/~BUN/root/claude.exe:247:85053)
    at m0 (B:/~BUN/root/claude.exe:247:84879)
    at uT (B:/~BUN/root/claude.exe:247:81310)
    at KA (B:/~BUN/root/claude.exe:247:6287)
    at HMA (B:/~BUN/root/claude.exe:240:2843)
2026-03-04T09:57:47.485Z [DEBUG] High write ratio: blit=2321, write=3267 (58.5% writes), screen=115x211
2026-03-04T09:57:47.487Z [ERROR] Error streaming, falling back to non-streaming mode: Content block not found
2026-03-04T09:57:47.487Z [DEBUG] [API:request] Creating client, ANTHROPIC_CUSTOM_HEADERS present: false, has Authorization header: false
2026-03-04T09:57:47.487Z [DEBUG] [API:auth] OAuth token check starting
2026-03-04T09:57:47.487Z [DEBUG] [API:auth] OAuth token check complete
2026-03-04T09:57:47.496Z [ERROR] Error: Error: Tool ListDir not found
    at DFf (B:/~BUN/root/claude.exe:2374:6884)
    at o_ (B:/~BUN/root/claude.exe:247:20798)
    at PE (B:/~BUN/root/claude.exe:247:39194)
    at ci (B:/~BUN/root/claude.exe:247:49817)
    at YW (B:/~BUN/root/claude.exe:247:86075)
    at iH (B:/~BUN/root/claude.exe:247:86047)
    at a9 (B:/~BUN/root/claude.exe:247:85890)
    at uT (B:/~BUN/root/claude.exe:247:81302)
    at KA (B:/~BUN/root/claude.exe:247:6287)
    at HMA (B:/~BUN/root/claude.exe:240:2843)

Steps to Reproduce

none

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.66

Platform

Other

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗