fix(mcp): normalize inferred field descriptions

This commit is contained in:
morluto 2026-07-16 20:15:33 +08:00
parent d36af5d0f7
commit a807471e4e
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ const describeProperties = (
isObject(schema) && typeof schema.description !== "string"
? {
...describeProperties(schema),
description: `${property.replaceAll("_", " ")}.`,
description: property.replaceAll("_", " "),
}
: describeValue(schema),
]),