mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
Merge pr/1533
This commit is contained in:
3 files changed
+71
-1
No files matched your search
@@ -196,6 +196,8 @@ How each MCP tool maps onto control methods in bridge mode:
|
||||
| `ui_set {fields}` | `ui.set` |
|
||||
| `control_call {method, params}` | any method, passed through unchanged |
|
||||
|
||||
Bridge previews capture the app window; passing `index` is an error. Headless `doc_render_preview` supports `index` without changing the active document.
|
||||
|
||||
`doc_select` and `doc_close` work only in headless mode. The `ui_*` tools and `control_call` work only in bridge mode; in headless mode they return a tool error that explains how to start bridge mode.
|
||||
|
||||
**Security note:** TCP control uses a bearer token, not client identity or general per-method
|
||||
|
||||
Reference in new issue
Block a user