MCP TypeScript SDK (V2)
    Preparing search index...
    • Parameters

      • request: {
            method: "completion/complete";
            params: {
                _meta?: {
                    "io.modelcontextprotocol/related-task"?: { taskId: string };
                    progressToken?: string | number;
                    [key: string]: unknown;
                };
                argument: { name: string; value: string };
                context?: { arguments?: { [key: string]: string } };
                ref:
                    | { type: "ref/resource"; uri: string }
                    | { name: string; type: "ref/prompt" };
            };
        }

      Returns asserts request is {
          method: "completion/complete";
          params: {
              _meta?: {
                  "io.modelcontextprotocol/related-task"?: { taskId: string };
                  progressToken?: string | number;
                  [key: string]: unknown;
              };
              argument: { name: string; value: string };
              context?: { arguments?: { [key: string]: string } };
              ref: { type: "ref/resource"; uri: string };
          };
      }