read_wiki
Read a module's wiki page to get its purpose, key symbols, dependencies, and dependents, plus freshness and citations; omit the page name to list pages.
Instructions
What does this module do? Reads the tool's wiki page about a module (a directory of indexed code): its purpose, its key symbols with one line each, the modules it depends on and the modules that use it. Use it when a question is about a module as a whole rather than one function, or after search_code returns a hit of kind page. Pass page to read one page; it returns the text, whether it is fresh or stale (and what made it stale), when and by what it was compiled, and its citations, each with the repository, path and line range of the symbol or file it names. Omit page to list the pages, optionally for one repo, with each page's name, state and first purpose line. A stale page describes code that has changed since; check its citations. Next step: get_symbol on a key symbol to read its source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | The page name, for example flask/json, as returned by search_code or by listing. Case-sensitive. Default: list the pages instead. | |
| repo | No | Look only in this registered repository, for example flask. list_repositories gives the valid names. Needed when two repositories have a page of the same name. Default: all repositories. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| pages | No | ||
| reason | Yes | ||
| status | Yes | ||
| truncated | No |