Namespaces
Nexus
Mcp
Schema
Completion
Content
Elicitation
Enum
Message
Notification
Prompt
Request
Resource
Result
Sampling
Tool
Classes
AudioContent
BlobResourceContents
EmbeddedResource
ImageContent
ResourceContents
ResourceLink
TextContent
TextResourceContents
Interfaces
ContentBlock
Overview
Namespace
Interface
Tree
Interface
Nexus
\
Mcp
\
Schema
\
Content
\
ContentBlock
Interface marker for content blocks provided to or from an LLM.
Nexus\Mcp\Schema\Content\ContentBlock
Nexus\Mcp\Schema\Content\AudioContent
implements
JsonSerializable
,
Arrayable
<array{_meta?: array<string, mixed>, type:
'audio'
, data: non-empty-string, mimeType: non-empty-string, annotations?: template-type<
Annotations
,
Arrayable
,
'T'
>}>,
ContentBlock
Nexus\Mcp\Schema\Content\EmbeddedResource
implements
JsonSerializable
,
Arrayable
<array{_meta?: array<string, mixed>, type:
'resource'
, resource: template-type<
BlobResourceContents
|
TextResourceContents
,
ResourceContents
,
'T'
>, annotations?: template-type<
Annotations
,
Arrayable
,
'T'
>}>,
ContentBlock
Nexus\Mcp\Schema\Content\ImageContent
implements
JsonSerializable
,
Arrayable
<array{_meta?: array<string, mixed>, type:
'image'
, data: non-empty-string, mimeType: non-empty-string, annotations?: template-type<
Annotations
,
Arrayable
,
'T'
>}>,
ContentBlock
Nexus\Mcp\Schema\Content\TextContent
implements
JsonSerializable
,
Arrayable
<array{_meta?: array<string, mixed>, type:
'text'
, text: string, annotations?: template-type<
Annotations
,
Arrayable
,
'T'
>}>,
ContentBlock
Nexus\Mcp\Schema\Content\ResourceLink
implements
ContentBlock
Located at
Schema/Content/ContentBlock.php