Skip to content

Conversation

@dsp-ant
Copy link
Member

@dsp-ant dsp-ant commented Sep 19, 2025

Commit 1c54a77 (PR #663) incorrectly added 'name' and 'title' fields
to ResourceContents examples in the documentation. According to the schema,
these fields only exist on Resource objects (used in resources/list), not
on ResourceContents (TextResourceContents/BlobResourceContents) which are
used in:

  • resources/read responses
  • embedded resources in prompts and tools
  • resource update notifications

This commit removes the incorrectly documented fields to match the actual
schema definition where ResourceContents only contains:

  • uri (required)
  • mimeType (optional)
  • text or blob field depending on content type

Commit 1c54a77 (PR #663) incorrectly added 'name' and 'title' fields
to ResourceContents examples in the documentation. According to the schema,
these fields only exist on Resource objects (used in resources/list), not
on ResourceContents (TextResourceContents/BlobResourceContents) which are
used in:
- resources/read responses
- embedded resources in prompts and tools
- resource update notifications

This commit removes the incorrectly documented fields to match the actual
schema definition where ResourceContents only contains:
- uri (required)
- mimeType (optional)
- text or blob field depending on content type
@dsp-ant dsp-ant merged commit c484b79 into main Sep 19, 2025
7 checks passed
@dsp-ant dsp-ant deleted the davidsp/fix-663 branch September 19, 2025 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants