Skip to content

Allow add Tools by editor script. #251

@Seng-Jik

Description

@Seng-Jik

Can I dynamically add the MCP Tool by writing an editor script, as follows:

#if UNITY_EDITOR

[MCPTool]
public class ExampleTool : MCPTool
{
    protected override string Name => "Tool Name...";
    protected override string Descrption => "Description...";
    protected override void Execute(JObject args) { ... }
}

#endif

This might be more usable for highly process-oriented business projects.

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