MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / answeredTerms

Function answeredTerms

packages/hosts/mcp/src/tool-server.ts:470–473  ·  view source on GitHub ↗
(meta: unknown)

Source from the content-addressed store, hash-verified

468 * the result's `_meta` — and nothing else, so an answer states no more than
469 * `ElicitationResponseMeta` names. */
470const answeredTerms = (meta: unknown): ElicitationResponseMeta | undefined => {
471 const persist = isRecord(meta) ? meta["persist"] : undefined;
472 return typeof persist === "string" ? { persist } : undefined;
473};
474
475const makeMcpElicitationHandler =
476 (

Callers 1

Calls 1

isRecordFunction · 0.70

Tested by

no test coverage detected