Skip to content

Fix ReadRange Tool AttributeError (CLI-31) #553

Description

@szmania

Problem: The ReadRange tool in cecli/tools/read_range.py crashes with an AttributeError because it expects params to be a dictionary, but it can sometimes be passed as a list.

Root Cause: The AttributeError occurs in cecli/tools/read_range.py at the line show = params.get("show"). The .get() method is a dictionary method, but params is being passed as a list, causing the crash.

Goal: Resolve the AttributeError by implementing robust type checking or enforcing the correct schema for the ReadRange tool.

Jira Issue: CLI-31

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions