Class Nexus\Mcp\Schema\Prompt\Prompt

final
readonly
extends BaseMetadata<array{_meta?: array<string, mixed>, name: non-empty-string, title?: non-empty-string, description?: non-empty-string, arguments?: list<template-type<PromptArgument, BaseMetadata, 'T'>>, icons?: list<template-type<Icon, Arrayable, 'T'>>}>

A prompt or prompt template that the server offers.

Methods
Methods inherited from Nexus\Mcp\Schema\BaseMetadata
getDisplayName(), jsonSerialize()
Properties
Properties inherited from Nexus\Mcp\Schema\BaseMetadata
$name, $title