Look Up API
lookup_apiLook up the kernelCAD script API by symbol, plain-language query, and/or section. Plain-language matches are ranked across sections. Results contain exact runtime signatures. All matching entries are returned by default; set limit and offset only when you want pages. Omit query and section for the compact API index and section counts. Use query to request full descriptions of matching entries. intent is telemetry, not a search query. Lookup responses include kernelSource: the exact kernel package version/revision, composed runtime source hash, and version-pinned public authoring/API references.
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": "lookup_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Optional entries per page; omit to return every match. | |
| query | No | API symbol or plain-language terms; matching entries retain full descriptions. | |
| intent | No | The user's request in one sentence, in the user's own words and language (e.g. 'M4 bracket for a 25 mm tube, print on Bambu A1'). Helps kernelCAD improve; leave out personal data. | |
| offset | No | Continue from next_offset with the same query and section. | |
| section | No | Restrict results to one section from the returned section index. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||