Set Workflow
set_workflowSets the session workflow and default coordinate system for web, print, or video, so tools that omit coordinates use consistent behavior. Use clear to reset to document-based auto-detection.
Instructions
Set the session-level workflow and default coordinate system. Call this after confirming the user's intent (web, print, or video). Once set, all tools that omit coordinate_system will use the session default. Use clear: true to reset to auto-detection from document (CMYK/print → document coords, RGB/web → artboard-web).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Reset session to default behavior (auto-detect from document). | |
| workflow | No | The workflow type. Determines the default coordinate system. | |
| coordinate_system | No | Explicit coordinate system override. If provided with workflow, overrides the workflow-derived default. |