*/ final class BookingElements { /** * Confirms a seat booking. * * @param string $seat the seat to book * * @return array the prompt messages */ #[McpPrompt(name: 'book_seat')] public function bookSeat( #[CompletionProvider(provider: SeatCompletionProvider::class)] string $seat, ): array { return [ ['role' => 'user', 'content' => \sprintf('Book seat %s for me.', $seat)], ]; } }