Get category paths with pagination
esa_get_all_category_pathsRetrieves paginated category paths with post counts and optional prefix, suffix, match, or exact filters to map a team's category structure for cleanup, migration, or similarity checks.
Instructions
Retrieves category paths in a team to understand the overall category structure. Perfect for category organization, cleanup, migration planning, or finding similar categories. Returns a paginated list of paths with post counts, sorted in lexicographic order. Supports filtering (prefix/suffix/match/exact_match) to find categories by pattern.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "esa_get_all_category_paths"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (starts from 1) | |
| match | No | Filter paths containing specified substring anywhere (e.g., 'doc' finds 'docs', 'dev/docs', 'documentation') | |
| prefix | No | Filter paths starting with specified string (e.g., 'dev' finds 'dev', 'dev/api', 'dev/docs') | |
| suffix | No | Filter paths ending with specified string (e.g., 'api' finds 'dev/api', 'backend/api') | |
| perPage | No | Number of items per page | |
| teamName | No | Team name (required). Use esa_get_teams first to see available teams. | |
| exactMatch | No | Filter paths matching exactly (e.g., 'dev/api' matches only 'dev/api', ignores leading/trailing slashes) |