Skip to content

Testing tools with FastMCP >= 2.7: TypeError: 'FunctionTool' object is not callable #46

@amotl

Description

@amotl

Problem

When updating to FastMCP 2.7, CI reports this error:

Testing: TypeError: 'FunctionTool' object is not callable

It happens in software tests when calling tools as functions. Apparently, this stopped working in FastMCP. Why?

References

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