Get Project
get_projectUse this when you need to reopen a saved project or browse what the user has saved — it fetches a kernelCAD Studio project, or lists the signed-in user's saved projects. Pass slug (from a /p/ link or a prior listing) to fetch that project's full .kcad source and metadata — then edit and open_in_studio with the same slug so the user's open tab updates live. Private projects require their owner's OAuth connection. OMIT slug to list the signed-in user's saved projects (most recently updated first); that listing mode requires the OAuth connection and does NOT paint — prefer list_my_projects to find a project to continue. Read-only: this tool never shows a viewer (only open_in_studio does, once per response). Paint phases: projectSaved/meshReady reflect fetch state; viewerPainted stays false. Use open_in_studio (with code) to publish+paint — do NOT call get_model_mesh or get_latest_render for interactive paint.
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": "get_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | The project slug from a listing or a /p/<slug> Studio link. Omit to list the signed-in user's saved projects. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | Whether the read succeeded. | |
| url | No | Fetch mode: revision-pinned /p/<slug>?version= link. | |
| code | No | Fetch mode: the full .kcad source. | |
| slug | No | Fetch mode: the project slug. | |
| title | No | Fetch mode: the project title. | |
| assets | No | Complementary files keyed by source-relative path. | |
| meshUrl | No | Fetch mode: revision-matched mesh artifact URL when available — FunnelViewer loads it instead of re-executing CAD. When meshStatus is building, this is the expected CDN URL (retry until ready). | |
| privacy | No | Fetch mode: the project privacy. | |
| version | No | Fetch mode: the project version. | |
| embedUrl | No | Fetch mode: revision-pinned chrome-free /embed/<slug>?revision= viewer URL (includes meshUrl when available). | |
| meshHint | No | Fetch mode: transient build guidance, or the authenticated viewing requirement for a private project. | |
| projects | No | List mode (no slug): the user's saved projects. | |
| meshError | No | Fetch mode: sanitized repair/persist error when meshStatus is failed. | |
| meshReady | No | Fetch mode: true only when meshStatus===ready. | |
| paintHint | No | ||
| meshStatus | No | Fetch mode: ready | building | failed | missing. Private projects return missing and no public artifact URLs. | |
| parameters | No | Fetch mode: the model's editable parameters. | |
| updated_at | No | Fetch mode: last-updated timestamp. | |
| serverBuild | No | Deploy identity (package+git SHA@boot time) so connector lag is observable. | |
| projectSaved | No | Fetch mode: true when the project was loaded. | |
| viewerPainted | No | Always false on tools/call; widget sets true after correlated model_displayed. | |
| meshDownloadUrl | No | Stored-only API download of the verified immutable revision bytes, pinned by producer provenance. Available when the mesh is ready. |