Node.js
WebMCP
Get a WebMCP invocation result
Read or long-poll a handle without re-invoking the tool.
GET
Node.js
See the WebMCP guide for SDK examples and invocation lifecycle details.
Authorizations
Query Parameters
Maximum wait for completion, in seconds. Returns the current pending state if the wait expires.
Required range:
0 <= x <= 30Response
Success
Ephemeral, session-local handle. Pending states have no result or error. A terminal handle may contain a result or an error. Lost on receiver restart, session rebind, or browser shutdown. At most 16 active and 64 retained; terminal results expire after 10 minutes and may be evicted sooner.
Pattern:
^[a-f0-9]{24}$Available options:
running, awaiting_submission, completed, error, canceled, outcome_unknown Whether cancellation was requested, regardless of the final outcome.
Nominal terminal-result expiry. Results may be evicted earlier.