dispatch
Return
the JSON-RPC response object, or null when nothing should be sent back.
A notification is a request with no id, regardless of method — hence the single gate at the bottom rather than one per branch: an id-less tools/call must execute-but-not-reply like any other.