Skip to content

title Keyword Argument #985

@sivianil

Description

@sivianil

Initial Checks

Description

I had written a tool to compute the BMI and Fetch Weather (similar to tool call in GitHub). Provided keyword title for each tool call @mcp.tool(title="BMI Calculator"). When I tried to ran the command "mcp dev file.py", encountered an error TypeError: FastMCP.tool() got an unexpected keyword argument 'title'.

Without the title argument, the command works fine, functionality too.

Example Code

@mcp.tool(title="BMI Calculator")

Python & MCP Python SDK

MCP version 1.9.4
Python version 3.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequest for a new feature that's not currently supported

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions