docs
Look up the SDK reference for run snippets: fetch the namespace table, a specific section, or search sections by keyword to find matching API details.
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.
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": "docs"
}
}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 |