fix(mcp): normalize inferred field descriptions
This commit is contained in:
@@ -102,7 +102,7 @@ const describeProperties = (
|
|||||||
isObject(schema) && typeof schema.description !== "string"
|
isObject(schema) && typeof schema.description !== "string"
|
||||||
? {
|
? {
|
||||||
...describeProperties(schema),
|
...describeProperties(schema),
|
||||||
description: `${property.replaceAll("_", " ")}.`,
|
description: property.replaceAll("_", " "),
|
||||||
}
|
}
|
||||||
: describeValue(schema),
|
: describeValue(schema),
|
||||||
]),
|
]),
|
||||||
|
|||||||
Reference in New Issue
Block a user