Skip to content

Tool: Enable / Disable a Tool #483

@IvanMurzak

Description

@IvanMurzak

The tool must set enabled status for a specified tool.

  • It must be added into Editor module of the project.
  • Need to use already implement safe comparison of strings. It is already used in the comparison of Input arguments names. That safely allow LLM to make a mistake with case of a letter. It allows to pass incorrect case if there is no other tool with similar name but different letter case. You may find the reference of on that code in MCP Plugin .NET project

Input arguments:

  • InputData[] tools - required
  • bool? includeLogs = false

InputData nested class

  • string Name
  • bool Enabled

Returns:

  • ResultData

ResultData nested class

  • Log? logs - optional
  • Dictionary<string, bool> success - key - tool name; value - the result of the operation. Set true if the value of the tool was already as required, and when it was changed successfully.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions