List linux.do categories
list_categoriesRetrieves Linux.do forum categories with their IDs and slugs. Call it first when a request names a Chinese category, since the slug cannot be derived from the display name.
Instructions
Return the forum's categories with ids and slugs.
Call this first when a request names a Chinese category (开发调优): the slug cannot be derived from the display name. Cached for ten minutes.
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": "list_categories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | How many categories the upstream listing held, both levels. | |
| categories | Yes | Top-level categories and their subcategories, in upstream display order. |