Start Macro Recording
start_macro_recordingStarts SolidWorks' macro recorder to capture user actions into a macro file for later replay or editing. Currently returns not_supported until an adapter implements it.
Instructions
Start SolidWorks' macro recorder, to capture what the user does as a macro.
Not available yet: no adapter implements it, so every call returns an error with
error_type: "not_supported". It is planned for a future release. Recording is
done in SolidWorks today (Tools > Macro > Record). Changes: once available,
starts a recording session. Returns: once available, the session details under
data.
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": {
"input_data": "<input_data>"
},
"name": "start_macro_recording"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | The recording. `output_file` (where the macro is saved) is required; `macro_name`, `recording_mode`, the capture switches and `timeout_seconds` have defaults. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||