Documentation
    Preparing search index...

    Function computeCvmToolSchemaHash

    • Compute a tool's CEP-15 compatibility hash without resolving remote references.

      Parameters

      • tool: {
            inputSchema: Record<string, unknown>;
            name: string;
            outputSchema?: Record<string, unknown>;
        }

        Tool name and self-contained JSON schemas from tools/list.

      Returns Promise<string>

      Lowercase SHA-256 digest of the normalized JCS payload.

      await computeCvmToolSchemaHash({ name: 'echo', inputSchema: { type: 'object' } });