mediawiki_list_categories
Retrieve all category names and page counts from a MediaWiki wiki, with options to filter by prefix, limit results, and paginate through large lists.
Instructions
List all categories in the wiki.
USE WHEN: User asks "what categories exist", "show all categories", "list available categories".
NOT FOR: Getting pages in a category (use mediawiki_get_category_members).
PARAMETERS:
prefix: Filter by category name prefix (optional)
limit: Max categories (default 50)
continue_from: Pagination token
RETURNS: Category names and page counts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prefix | No | Filter categories starting with this prefix | |
| limit | No | Maximum categories to return (default 50, max 500) | |
| continue_from | No | Continue token for pagination |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| has_more | Yes | ||
| categories | Yes | ||
| continue_from | No |