close
Close the active document with explicit user choice to save, discard, or prompt when unsaved changes exist.
Instructions
Close the active document. confirm must be 'save', 'discard', or 'prompt'. Never auto-pick save vs discard for dirty docs; surface the choice to the user.
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": "close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | prompt |