'get-site-info', 'description' => 'Get detailed information about the WordPress site', 'arguments' => array( array( 'name' => 'info_type', 'description' => 'The type of information to retrieve (e.g., general, plugins, theme, users, settings)', 'required' => false, 'type' => 'string', ), ), ), $this->messages() ); } /** * Get the site info. * * @return array */ public function messages(): array { // the prompt. return array( array( 'role' => 'user', 'content' => array( 'type' => 'text', 'text' => 'Provide detailed information about this WordPress site. {{#if info_type}}Focus specifically on {{info_type}} information.{{/if}} Include site name, URL, WordPress version, active plugins, active theme, user roles, and any other relevant details that would be helpful for site management and troubleshooting.', ), ), ); } }