Skip to content

[BUG] Tools can't be called #10270

@farazoman

Description

@farazoman

Problem (one or two sentences)

When the LLM wants to run a tool, the output is shown in xml without calling the tool.

Context (who is affected and when)

Happens always across different repos.

See example output I see in roocode extension:

<ask_followup_question>
<question>Hello! I'm here to help you with the tokens-api project. What would you like to know or work on?</question>
<suggestions>
<suggestion>Explain the architecture and how token generation works</suggestion>
<suggestion>Help me understand the Lambda handlers and their responsibilities</suggestion>
<suggestion>Show me how the CDK infrastructure is organized</suggestion>
<suggestion>Explain the data pipeline and Airflow integration</suggestion>
</suggestions>
</ask_followup_question>
I'll analyze the codebase to provide you with a comprehensive overview. Let me start by examining key files to understand the architecture.

<read_file>
<path>ReadMe.md</path>
</read_file>

Reproduction steps

  1. open a chat with claude. Ask it anything, just hi for example
  2. see the response

Expected result

Tools can be called and the tool execution xml should not be shown in raw form

Actual result

Tools aren't called, and xml is shown for tool calls

Variations tried (optional)

No response

App Version

3.36.13

API Provider (optional)

Anthropic

Model Used (optional)

claude sonnet 4.5, also others, was getting api error with google pro and opus

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions