Skip to content

file_path is required error #8464

@perezjasonr

Description

@perezjasonr

Before submitting your bug report

Relevant environment info

- OS: Ubuntu 24.04.3 LTS (WSL)
- Continue version: 1.5.7 (cn cli)
- IDE version: no IDE, using nvim
- Model: bedrock -> claude 3-7
- config:
  
name: AWS Bedrock - Configurations
version: 0.0.1 # 1.0.0
schema: v1
models:
  - name: AWS Bedrock - Claude 3.7 Sonnet
    provider: bedrock
    model: arn:aws-us-gov:bedrock:us-gov-west-1::foundation-model/anthropic.claude-3-7-sonnet-20250219-v1:0
    env:
      region: us-gov-west-1
      profile: bedrock
    roles:
      - chat
      - edit
      - apply
      - summarize
    defaultCompletionOptions:
      temperature: 0.5
      maxTokens: 64000
    requestOptions:
      timeout: 120000 # 60000
      # verifySsl: false
      caBundlePath: /path/to/important/cert.crt
    context:
      - provider: codebase
      - provider: code
      - provider: open
      - provider: problems
      - provider: currentFile
      - provider: docs
      - provider: diff
      - provider: folder
      - provider: terminal
    capabilities:
      - tool_use
      - image_input
    rules:
      - Act as an expert software developer that can write code that is clean, efficient, and well-documented as well as writ
e unit tests for the code proposed
      - Give concise responses
      - Always annotate functions with their parameter and return types

  
  OR link to agent in Continue hub:

Description

I am making what I feel is a pretty straightforward request for going through a directory structure and finding regex patterns in files. But I cannot figure out for the life of me why I'm getting the error below. I have looked through docs, open/closed issues

heres probably the wordiest output I got (sometimes its less and just says output is truncated, or does nothing)

● 
Read(app.py)
  ⎿  Read tool output (90 lines)

  Now I'll modify the app.py file to search for the regex pattern
  "cluster_version = " in the terragrunt files.

○ MultiEdit

● file_path is required

● Let me add the functionality to search for the regex pattern in the
  terragrunt files:

○ MultiEdit

● file_path is required

Error: Error processing Bedrock stream: Truncated event message received.

and heres the log files:

2025-10-27 10:06:47.288 [be44c66f] [error]: Invalid tool call {"error":{"name":"MultiEdit","error":"file_path is required"}}
2025-10-27 10:47:09.547 [b550f1c8] [info]: Latest version: 1.5.7
2025-10-27 10:47:43.268 [b550f1c8] [error]: Invalid tool call {"error":{"name":"MultiEdit","error":"file_path is required"}}
2025-10-27 10:48:08.818 [b550f1c8] [error]: Invalid tool call {"error":{"name":"MultiEdit","error":"file_path is required"}}

I cannot find any other places where useful logs are

ultimately best i can conclude is that "file_path" is missing but ive enabled tool usage and have what looks like most relevant providers like file, currentfile, folder, etc...I found the error in the actual codebase but its not very telling it just says when file_path isnt present throw this error so I'm not sure what exactly its looking for.

To reproduce

Use a similar config and model to the ones I'm using above and (i suppose) ask model to carry out a task that involves file paths? ie, go through files in a folder and do XYZ...(this is my best guess on how to recreate)

Log output

2025-10-27 10:06:47.288 [be44c66f] [error]: Invalid tool call {"error":{"name":"MultiEdit","error":"file_path is required"}}
2025-10-27 10:47:09.547 [b550f1c8] [info]: Latest version: 1.5.7
2025-10-27 10:47:43.268 [b550f1c8] [error]: Invalid tool call {"error":{"name":"MultiEdit","error":"file_path is required"}}
2025-10-27 10:48:08.818 [b550f1c8] [error]: Invalid tool call {"error":{"name":"MultiEdit","error":"file_path is required"}}

Metadata

Metadata

Assignees

Labels

area:toolsRelates to tool usagekind:bugIndicates an unexpected problem or unintended behavioros:linuxHappening specifically on Linuxstale

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions