From 0956341034d6f286f0692dbe372d8090fe292fca Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Thu, 12 Nov 2026 13:55:12 -0800 Subject: [PATCH] MCP: the UI catalog lists useArtboards for the Save PDF dialog crates/mcp/src/ui_catalog.rs is regenerated with `cargo xtask ui-commands`, so the ui.savePdfDialog entry matches its description in crates/ui-egui/src/menus/ui_commands.rs. --- crates/mcp/src/ui_catalog.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/mcp/src/ui_catalog.rs b/crates/mcp/src/ui_catalog.rs index 758fc67716..8e1964ef32 100644 --- a/crates/mcp/src/ui_catalog.rs +++ b/crates/mcp/src/ui_catalog.rs @@ -1242,7 +1242,7 @@ pub const UI_COMMANDS: &[(&str, &str, &str, &str)] = &[ "ui.savePdfDialog", "Save PDF Dialog", "", - "{path?, preset?, range?, …document.exportPdf options} open the Save PDF dialog with these options (fields = the options, sections are objects; OK writes path, else asks)", + "{path?, preset?, range?, useArtboards?, …document.exportPdf options} open the Save PDF dialog with these options (fields = the options, sections are objects; OK writes path, else asks); useArtboards: false: one page of the visible art's bounds, with no Artboards section", ), ( "file.exportAs",