mirror of
https://github.com/mcp-use/mcp-use.git
synced 2026-09-14 18:06:01 +08:00
c44400417b
* docs(server): stop teaching the removed ctx.elicit in v2 samples ctx.elicit was removed and tests/type-level.test.ts asserts its absence, but the v2 elicitation page and the migration guide still built every sample on it, so none of them compiled. Rewrite them on inputResponse, acceptedContent and inputRequired, mirroring examples/elicitation. migration.mdx already stated the replacement in its own comparison table while the sample below it used the old call. * docs(server): describe the real inputResponse result in the status table The table still listed the removed call's statuses and its result and data fields. Unions taken from the compiler: kind is elicit, missing, roots or sampling, and action is accept, cancel or decline. * docs(server): finish the URL mode note and qualify the response table The URL section still described passing the url as a third positional argument, which was the removed call's shape. The response table also lost the original's note that URL mode carries no form data, and read as the helper's complete union when roots and sampling exist for other request types. * docs(server): show the helper imports in the migration snippet The replacement snippet used inputResponse, acceptedContent and inputRequired without showing where they come from, so copying it into a migrated server left unresolved identifiers.