Module: MCPClient::ResultCompleteness

Included in:
JsonRpcCommon
Defined in:
lib/mcp_client/result_completeness.rb

Overview

The guard an operation runs before it projects a payload out of a result.

An unfinished answer (MCP 2026-07-28 InputRequiredResult) that reaches such an operation would lose the server's inputRequests and its opaque requestState, and would be presented as an empty successful answer. The resolver that wraps every request drives the round trips a modern server asks for, so what reaches here is either finished or something no resolver claims; this is the backstop for the latter.