save_design
Saves the current OrCAD Capture design to its .dsn file, backing up the existing file and asking for user confirmation before writing.
Instructions
Save the design to its .dsn file. The current .dsn is copied to %USERPROFILE%.orcad-mcp\backups first. Ask the user before saving.
"file_written" tells whether the .dsn on disk was rewritten. Capture's window may keep showing its "*" (modified) mark afterwards: no scripted save clears it (database save, File > Save by menu id or by menu path were all tried); the file is saved anyway, and Ctrl+S in Capture clears the mark.
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": "save_design"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| design | No |