split comment for readability

This commit is contained in:
Basil Hosmer 2025-05-14 14:35:13 -04:00
commit eb0407ea40
No known key found for this signature in database

View file

@ -921,7 +921,10 @@ export const CallToolStructuredResultSchema = ResultSchema.extend({
* A list of content objects that represent the result of the tool call.
*
* If the Tool defines an outputSchema, this field MAY be present in the result.
* Tools may use this field to provide compatibility with older clients that do not support structured content.
*
* Tools may use this field to provide compatibility with older clients that
* do not support structured content.
*
* Clients that support structured content should ignore this field.
*/
content: z.optional(ContentListSchema),