Skip to content

[BUG] get_profile failed "TypeError: Cannot use 'in' operator" #51

@morisono

Description

@morisono

Bug Report

Describe the bug

get_profile failed while the remainig 4 tools are works correctly.

To Reproduce

Steps to reproduce the behavior:

  1. configure mcp.json appropriately
  2. set up mcp-servers installation correctly, then launch the server using button in copilot-chat panel
  3. send request prompt on mcp-client ( GitHub Copilot, #get_profile of me from using line-bot MCP, then store it to #file:me.yaml )
  4. See error
Failed to validate tool 9f1_push_flex_message: TypeError: Cannot use 'in' operator to search for 'type' in true

Expected behavior

Screenshots

Image

Environment (please complete the following information):

  • OS: [Ubuntu 24.04]
  • Node.js Version [Node v20.13.1]
  • line-bot-mcp-server version(s) [0.0.1]
  • AI Agent you use [GitHub Copilot]

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