File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
mcp-core/src/main/java/io/modelcontextprotocol/spec Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -277,12 +277,12 @@ public record JSONRPCNotification( // @formatter:off
277277 }
278278
279279 /**
280- * A successful (non-error) response to a request.
280+ * A response to a request (successful, or error) .
281281 *
282282 * @param jsonrpc The JSON-RPC version (must be "2.0")
283283 * @param id The request identifier that this response corresponds to
284- * @param result The result of the successful request
285- * @param error Error information if the request failed
284+ * @param result The result of the successful request; null if error
285+ * @param error Error information if the request failed; null if has result
286286 */
287287 @ JsonInclude (JsonInclude .Include .NON_ABSENT )
288288 @ JsonIgnoreProperties (ignoreUnknown = true )
You can’t perform that action at this time.
0 commit comments