diff --git a/utils/update-readme.js b/utils/update-readme.js index 15f9cbf..31d1120 100644 --- a/utils/update-readme.js +++ b/utils/update-readme.js @@ -112,7 +112,7 @@ function formatToolForReadme(tool) { * @returns {ParsedToolSchema} */ function processToolSchema(schema) { - const inputSchema = /** @type {import('zod-to-json-schema').JsonSchema7ObjectType} */ zodToJsonSchema(schema.inputSchema || {}); + const inputSchema = /** @type {import('zod-to-json-schema').JsonSchema7ObjectType} */ (zodToJsonSchema(schema.inputSchema || {})); if (inputSchema.type !== 'object') throw new Error(`Tool ${schema.name} input schema is not an object`);