Skip to content

EmbeddedResource returns a single content block, ReadResourceResult returns an array #699

@bhosmer-ant

Description

@bhosmer-ant

Is your feature request related to a problem? Please describe.
EmbeddedResource delivers a content block and a uri, where the uri can be used to re-fetch later via resources/read. However, the result of the latter (a ReadResourceResult) delivers an array of content blocks.

Practical consequence is that EmbeddedResources can't embed the full content of multi-block resources.

Less practically, it's an inconsistency in the "EmbeddedResources are pre-fetched Resources, with a uri for re-fetching" high-level design.

Describe the solution you'd like
Modify EmbeddedResource to deliver an array of content blocks.

Describe alternatives you've considered
Leave it alone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions