| @@ -256,9 +256,9 @@ | ||
| 256 | 256 | wp_register_ability( |
| 257 | 257 | 'desktop-mode/search-comments-by-post', |
| 258 | 258 | array( |
| 259 | 259 | 'label' => __( 'Search comments on a post', 'desktop-mode' ), |
| 260 | - 'description' => 'Keyword-searches approved comments on a SPECIFIC post by its WordPress ID (the post must be readable by the requesting user; an unreadable or nonexistent post returns an empty result). Use this when you have already identified a post (via search-posts) and the user\'s query also mentions something a reader said on that post — e.g. "I remember a comment on my Málaga post asking about the Alcazaba at night." Call search-posts first to find the post ID, then call this tool with that ID and the distinctive words as `query`. Much more precise than search-comments when the parent post is known. If has_more is true, call again with the next offset.', | |
| 260 | + 'description' => 'Keyword-searches approved comments on a SPECIFIC post by its WordPress ID (the post must be readable by the requesting user; an unreadable or nonexistent post returns an empty result). Use this when the user describes both a post and something a reader said on it: identify the post with search-posts, then pass its ID and the distinctive words of the comment as `query`. More precise than search-comments whenever the parent post is known. If has_more is true, call again with the next offset.', | |
| 261 | 261 | 'category' => OPENSTATION_AI_ABILITY_CATEGORY, |
| 262 | 262 | 'input_schema' => array( |
| 263 | 263 | 'type' => 'object', |
| 264 | 264 | 'additionalProperties' => false, |
| @@ -324,9 +324,9 @@ | ||
| 324 | 324 | wp_register_ability( |
| 325 | 325 | 'desktop-mode/search-wporg-plugins', |
| 326 | 326 | array( |
| 327 | 327 | 'label' => __( 'Search WordPress.org plugins', 'desktop-mode' ), |
| 328 | - 'description' => 'Searches the official WordPress.org plugin directory. Use this when the user asks for a plugin recommendation — e.g. "is there a plugin for SEO?", "find me a backup plugin", "a caching plugin", "form builder". Returns up to 10 plugins with name, description, rating, active install count, and an admin URL that opens the plugin-info / install screen directly.', | |
| 328 | + 'description' => 'Searches the official WordPress.org plugin directory. Use this when the user asks for a plugin recommendation — e.g. "is there a plugin for SEO?", "find me a backup plugin", "a caching plugin", "form builder". Returns up to 10 plugins with name, description, rating (0-100) and stars (0-5), active install count, and an admin URL that opens the plugin-info / install screen directly.', | |
| 329 | 329 | 'category' => OPENSTATION_AI_ABILITY_CATEGORY, |
| 330 | 330 | 'input_schema' => array( |
| 331 | 331 | 'type' => 'object', |
| 332 | 332 | 'additionalProperties' => false, |
| @@ -341,9 +341,9 @@ | ||
| 341 | 341 | 'output_schema' => openstation_ai_ability_output_schema( |
| 342 | 342 | array( |
| 343 | 343 | 'results' => array( |
| 344 | 344 | 'type' => 'array', |
| 345 | - 'description' => 'Matching plugins with name, description, rating, installs, and admin URL.', | |
| 345 | + 'description' => 'Matching plugins with name, description, rating (0-100), stars (0-5), installs, and admin URL.', | |
| 346 | 346 | ), |
| 347 | 347 | 'count' => array( 'type' => 'integer' ), |
| 348 | 348 | ) |
| 349 | 349 | ), |