# read_knowledge_base (/mcp/tools/read_knowledge_base)

`read_knowledge_base` · Read only

Read a product's knowledge base reads (each crawl of its documentation site) and its refresh schedule.

Set `action` to one of these:
- `reads` (needs `productId`; optional `limit`, `cursor`): The product's knowledge base reads, newest first: status (queued, starting, processing, completed, failed or stopped), pages read, features extracted, who or what started it, what it changed. `meta.readAvailableAt`: when the next read can start under the hourly limit, else null (also while a read is active).
- `read` (needs `productId`, `runId`): One read and how far it got: status queued, starting, processing, then completed, failed (it needs attention; `failure` says why) or stopped; `pagesProcessed` and `featuresExtracted` grow while it runs. Check it every 30 seconds while it is active; once it has ended, read the features with `get_hierarchy`.
- `refresh` (needs `productId`): How often the knowledge base is read again on its own, as `manage_knowledge_base` with action `set_refresh` sets it (`every`, `nextRefreshAt`).

## Actions (set `action`)

### `reads`

- Who can use it: Admins, and the product's Owners and Viewers
- Hints: Read only
- Runs: [`list_knowledge_base_reads`](/api/knowledge-base/list_knowledge_base_reads)
- Inputs:
  - `productId` (string, required): From `read_product` with action `list` or `get_me`.
  - `limit` (integer): How many items to return, 1 to 100 (50 when left out).
  - `cursor` (string): The previous page's `meta.nextCursor`; left out: the first page.

### `read`

- Who can use it: Admins, and the product's Owners and Viewers
- Hints: Read only
- Runs: [`get_knowledge_base_read`](/api/knowledge-base/get_knowledge_base_read)
- Inputs:
  - `productId` (string, required): From `read_product` with action `list` or `get_me`.
  - `runId` (string, required): The read's id, from `read_knowledge_base` with action `reads` or `manage_knowledge_base` with action `start_read`.

### `refresh`

- Who can use it: Admins, and the product's Owners and Viewers
- Hints: Read only
- Runs: [`get_knowledge_base_refresh`](/api/knowledge-base/get_knowledge_base_refresh)
- Inputs:
  - `productId` (string, required): From `read_product` with action `list` or `get_me`.
