Skip to content

Support tool groups defined by interfaces or classes for *ToolProviders #13

@scottslewis

Description

@scottslewis

Add sync and async tool group providers.

In org.springaicommunity.mcp.provider are classes for creating 'tool providers' from Object's/beans...e.g.

AsyncMcpToolProvider and SyncMcpToolProvider

I propose that sync and async 'tool group' providers be created that restrict the tool specification creation/processing to a 'tool group' class specified upon construction.

This would allow easy and dynamic creation of 'tool groups' defined by a java interface or class. One way to use this would be to have service interfaces, annotated with sync and/or async tool methods that are exposed as osgi services, with a clear separation between the service interfaces contract (including the MCP description metadata) and the service implementation.

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