docs
Access the SDK reference for run snippets by topic or keyword search, ensuring documentation matches the SDK version used by snippets.
Instructions
The SDK reference for run snippets, from the copy shipped in this package, so it matches the SDK the snippet runs against. No arguments: the run primer, the r namespace table, and the topics. topic: one namespace or section (assets, project.apply, rooms, local-state) or sdk for all of it; search: sections containing every word. Long answers are a window plus a ref for expand_result. Any other operation is a run snippet against r, the Node SDK client; docs is its reference.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | No | `index` (default: the run primer, the r namespace table, the topics), `sdk` (the whole SDK reference), or one section: a namespace such as `projects`, `assets`, `project.apply`, `rooms`, or a section slug from the index. | |
| search | No | Words to look for; returns up to 8 SDK reference sections whose heading or body contain all of them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| kind | No | ||
| error | No | ||
| lines | No | ||
| shown | No | ||
| total | No | ||
| status | Yes |