File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -53,22 +53,20 @@ export type ClientOptions = ProtocolOptions & {
5353 * The validator is used to validate structured content returned by tools
5454 * against their declared output schemas.
5555 *
56- * @default AjvJsonSchemaValidator (auto-configured with sensible defaults)
56+ * @default AjvJsonSchemaValidator
5757 *
5858 * @example
5959 * ```typescript
60- * // Use default AJV validator (recommended, no configuration needed)
61- * import { Client } from '@modelcontextprotocol/sdk';
60+ * // ajv
6261 * const client = new Client(
6362 * { name: 'my-client', version: '1.0.0' },
6463 * {
6564 * capabilities: {},
66- * jsonSchemaValidator: new AjvJsonSchemaValidator(ajv )
65+ * jsonSchemaValidator: new AjvJsonSchemaValidator()
6766 * }
6867 * );
6968 *
70- * // Cloudflare Workers (edge-compatible)
71- * import { Client, CfWorkerJsonSchemaValidator } from '@modelcontextprotocol/sdk';
69+ * // @cfworker /json-schema
7270 * const client = new Client(
7371 * { name: 'my-client', version: '1.0.0' },
7472 * {
You can’t perform that action at this time.
0 commit comments