Get Topics
get_topicsList the top-level topics/themes of the thematic catalogue for filtering book searches (e.g. "Littérature", "Histoire", "Sciences"). Each topic's "id" field is the value expected by the topicId filter of search_books. Only the roots are listed; the counts are books a search finds. The topicId filter matches a topic ALONE, never its sub-topics, so filtering on a root returns its directBookCount (subtreeBookCount is the size of the whole theme). To reach the finer sub-topics (subTopicCount of them, not returned here), run search_books and read the values of its topicId facet, which are valid topicId filters too.
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": "get_topics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topics | Yes |