get_model_source
Retrieve the saved SCAD source code and current revision for any model by its ID. Use the returned revision to safely edit and update the model.
Instructions
Read the saved UTF-8 SCAD source and revision over MCP, including inside Docker. Edit scad_code and pass its revision as expected_revision to modify_3d_model.
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": {
"model_id": "<model_id>"
},
"name": "get_model_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes |