In this plugin, you have two ways to bind the callbacks to your tools, resources and notifications.
You can declare tools/resources/notifications first, then bind behavior immediately or later.
One By One Registration
When using One by One Registration, with these functions :
Register Tool
Register Resource
Register Notification
We recommend you too directly bind the callback in the same call.
Bulk Registration
When using Bulk Registration with these functions :
Register Tools From Json File
Register Resources From Json File
Register Notifications From Json File
Register All From Json File
You will need to bind the callback after, because all of these functions register tools, resources and notifications without any callback, to do so, use these functions:
Bind Tool Callback By Name(ToolName, Callback)
Bind Resource Callback By Uri(UriTemplate, Callback)
Bind Notification Callback By Method(Method, Callback)