Files
vectorcraft/docs
dotCooCoo 4cc6d9c0d1 MCP: answer_dialog describes Don't Save as two calls, with applyToAll
The answer_dialog tool description, which MCP clients read from
tools/list, still gave Don't Save for the save-changes question as one
call that sets `choice` and confirms. The app answers that request with
the confirm's result alone, so answer_dialog sends a second confirm,
which fails once the document has closed or, during Close All or Quit,
answers the next document's question with Save.

The description now gives the same sequence as docs/mcp.md: set
`choice` to `dontSave`, then confirm in a second call. It names
file.closeAll beside app.quit and file.close, lists the values `choice`
takes, describes `applyToAll`, and says to give `set` and `action` in
separate calls for this question. The answer_dialog row of docs/mcp.md
says the same.

A test in the MCP crate checks that the description gives the two-call
sequence and applyToAll, and does not give the one-call form or
`discard`.
2026-12-04 11:10:01 -08:00
..