Look Up Authoring Skill
lookup_authoring_skillReturn the kernelcad-authoring skill — conventions for writing .kcad.ts scripts (API surface, parameters, evaluation contract, common pitfalls) — in sections.
Call with NO arguments first: you get the quick-start (units, axes, the return rule, the rules that prevent most failures, the intent → API routing table, the "Before you finish" checklist) and an index of every section with a one-line summary (under 17k chars). Then pull what you need: { section: "<id>" } returns one section (e.g. "top-level-functions", "materials", "dfm-gates-print-readiness"); { query: "fillet after subtract" } returns the best-matching sections. { section: "all" } returns the full ~140k-char skill (SKILL.md plus its reference files) — only if your client accepts large responses.
Clients that list resources can also read kernelcad://skills/authoring (the SKILL.md core).
OUTPUT: { uri, mimeType, mode, text, sections? } — mode is index | section | search | all | not-found. 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_authoring_skill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Keywords to search section titles and bodies (e.g. "sweep along helix"). | |
| topic | No | Alias of section; also accepts a loose title such as 'materials' or 'cli commands'. | |
| section | No | Section id from the index (e.g. 'top-level-functions'), or 'all' for the full skill. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||