McpClient.registerUrlElicitations

Register the elicitationIds announced by a URLElicitationRequiredError (-32042) so a subsequent notifications/elicitation/complete correlates and is forwarded. error is the JSON-RPC error object; the URL-mode elicitations live under error.data.elicitations[], each an ElicitRequestURLParams carrying an elicitationId (2025-11-25 / draft schema URLElicitationRequiredError). Ids already tracked are left as-is so an in-flight completion state is not reset; malformed entries are skipped.

class McpClient
package @safe
void
registerUrlElicitations
(
Json error
)