Skip to content

[Feat]: Support adding new RPC methods to a JSON-RPC server application #584

@tovara9000-oss

Description

@tovara9000-oss

Is your feature request related to a problem? Please describe.

The spec for extensions defines 3 types of extensions, the last one is: "Method Extensions (Extended Skills): Adding entirely new RPC methods beyond the core set defined by the protocol"
As far as I understand, there is currently no way for enhancing my A2AStarletteApplication/A2AFastAPIApplication application with new RPC methods. (as they both extends JSONRPCApplication and it uses a fixed list of the core RPC methods that cant be extended)

Describe the solution you'd like

I would like JSONRPCApplication to allow its users to hook new JSON-RPC methods.

Describe alternatives you've considered

I'm considering using the HTTP/REST protocol instead of the JSON-RPC protocol just because its easier to extend with new methods.

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions