Skip to content

How to make client aware of different tools from same domain? #894

@andrew-at-v

Description

@andrew-at-v

Given server has following tools registered

builder.Services.AddMcpServer()
    .WithTools<SqlTool>()
    .WithTools<FileTool>()
    .WithHttpTransport();

Is there a way for client to be able to differentiate (other than using naming convention) during ListToolAsync?

 var tools = await mcpClient.ListToolsAsync(); // ---> how the client aware the tool belong to SqlTool or FileTool?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions