mediawiki_list_pages
List wiki pages, optionally filtered by title prefix or namespace. Use to browse existing pages, retrieve page titles and IDs, and paginate through results.
Instructions
List wiki pages with optional prefix filter.
USE WHEN: User asks "list all pages", "show pages starting with API", "what pages exist".
NOT FOR: Finding pages by content (use mediawiki_search).
PARAMETERS:
prefix: Filter by title prefix (optional)
namespace: Namespace ID (default 0 = main)
limit: Max pages (default 50)
continue_from: Pagination token from previous response
RETURNS: Page titles and IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum pages to return (default 50, max 500) | |
| prefix | No | Filter pages starting with this prefix | |
| namespace | No | Namespace ID (0=main, 1=talk, etc.) | |
| rationale | No | Optional one-sentence explanation of why you are calling this tool. Used for audit trails when present. | |
| continue_from | No | Continue token for pagination |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | Yes | ||
| has_more | Yes | ||
| total_count | No | ||
| continue_from | No | ||
| returned_count | Yes | ||
| total_estimate | No |