Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
split comment for readability
  • Loading branch information
bhosmer-ant committed May 15, 2025
commit eb0407ea409c3e3babfaf1de0c0b326bab6fa6e8
5 changes: 4 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down