Get Page Categories Tool
get_page_categories_toolRetrieves the categories a MediaWiki page belongs to by title, with optional limits and hidden-category inclusion for page classification.
Instructions
Get categories that a page belongs to.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title": "<title>"
},
"name": "get_page_categories_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum categories to return (default: 50, max: 500) | |
| title | Yes | Page title | |
| show_hidden | No | Include hidden categories (default: False) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||