editor_close
Close a Construct 2 window while managing unsaved changes; set discard to true to force closure when changes would otherwise block it.
Instructions
Close a Construct 2 window. Unsaved changes block this unless discard=true.
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": "editor_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | ||
| discard | No | ||
| project | No |