The built prompt data. */ public function build(): array; /** * Get the unique name for this prompt. * * @return string The prompt name. */ public function get_name(): string; /** * Get the prompt title. * * @return string|null The prompt title. */ public function get_title(): ?string; /** * Get the prompt description. * * @return string|null The prompt description. */ public function get_description(): ?string; /** * Get the prompt arguments. * * @return array The prompt arguments. */ public function get_arguments(): array; /** * Handle the prompt execution when called. * * @param array $arguments The arguments passed to the prompt. * * @return array The prompt response. */ public function handle( array $arguments ): array; /** * Check if the current user has permission to execute this prompt. * * @param array $arguments The arguments passed to the prompt. * * @return bool True if execution is allowed, false otherwise. */ public function has_permission( array $arguments ): bool; }