Get Project Revision
get_project_revisionFetch the exact immutable .kcad source and parameters captured at a prior open_in_studio version. Use this to read-after-write verify a release: pass the returned slug and version, then hash or inspect the returned source. Public/unlisted projects use the slug as capability; private projects require the owner's OAuth connection.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>",
"version": "<version>"
},
"name": "get_project_revision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Project slug returned by open_in_studio. | |
| version | Yes | Positive immutable revision version returned by open_in_studio. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the revision was found and readable. | |
| code | Yes | Exact .kcad source captured at this revision. | |
| slug | Yes | Project slug. | |
| title | No | Title captured with this revision. Absent on revisions snapshotted before titles were stored. | |
| assets | No | Immutable complementary-file manifest. | |
| version | Yes | Immutable revision version. | |
| parameters | Yes | Exact editable parameters captured at this revision. |