Namespaces
Nexus
Mcp
Client
Core
Auth
Dispatch
Exception
Extension
Handler
JsonRpc
Schema
ContentBlock
Elicitation
Enum
Error
JsonRpc
MetaObject
Notification
NotificationParams
Prompt
Request
RequestParams
Resource
Result
ResultResponse
Tool
Transport
Extension
Server
none
Classes
Annotations
BaseMetadata
ClientCapabilities
Cursor
Error
Icon
Implementation
MetaObject
Notification
NotificationParams
ProgressToken
ProtocolVersion
Request
RequestId
RequestParams
Result
ServerCapabilities
SubscriptionFilter
Interfaces
Arrayable
ContentBlock
Icons
RequestParamsInterface
Overview
Namespace
Interface
Tree
Interface
Nexus
\
Mcp
\
Core
\
Schema
\
ContentBlock
Marker for a content block embeddable in a prompt message or tool call result.
Nexus\Mcp\Core\Schema\ContentBlock
Nexus\Mcp\Core\Schema\ContentBlock\TextContent
implements
Arrayable
<array{text: string, type:
'text'
, annotations?: template-type<
Annotations
,
Arrayable
,
'T'
>, _meta?: template-type<
PayloadMetaObject
,
MetaObject
,
'T'
>}>,
ContentBlock
Nexus\Mcp\Core\Schema\ContentBlock\AudioContent
implements
Arrayable
<array{data: non-empty-string, mimeType: non-empty-string, type:
'audio'
, annotations?: template-type<
Annotations
,
Arrayable
,
'T'
>, _meta?: template-type<
PayloadMetaObject
,
MetaObject
,
'T'
>}>,
ContentBlock
Nexus\Mcp\Core\Schema\ContentBlock\EmbeddedResource
implements
Arrayable
<array{resource: template-type<
ResourceContents
,
Arrayable
,
'T'
>, type:
'resource'
, annotations?: template-type<
Annotations
,
Arrayable
,
'T'
>, _meta?: template-type<
PayloadMetaObject
,
MetaObject
,
'T'
>}>,
ContentBlock
Nexus\Mcp\Core\Schema\ContentBlock\ImageContent
implements
Arrayable
<array{data: non-empty-string, mimeType: non-empty-string, type:
'image'
, annotations?: template-type<
Annotations
,
Arrayable
,
'T'
>, _meta?: template-type<
PayloadMetaObject
,
MetaObject
,
'T'
>}>,
ContentBlock
Nexus\Mcp\Core\Schema\ContentBlock\ResourceLink
implements
Arrayable
<array{name: non-empty-string, type:
'resource_link'
, uri: non-empty-string, title?: non-empty-string, description?: non-empty-string, mimeType?: non-empty-string, annotations?: template-type<
Annotations
,
Arrayable
,
'T'
>, size?: int, icons?: list<template-type<
Icon
,
Arrayable
,
'T'
>>, _meta?: template-type<
PayloadMetaObject
,
MetaObject
,
'T'
>}>,
ContentBlock
,
Icons
Located at
Core/Schema/ContentBlock.php