Workspace projects and files
get_workspace_projectsList all open Altium workspace projects and logical documents to retrieve their full paths and identify the focused .PrjPcb.
Instructions
Purpose: List every open workspace entry (projects + logical documents).
When to use: Discover project_full_path, schematic_full_path, or confirm which .PrjPcb is focused.
Parameters: None.
Returns: JSON with projectCount, focusedProjectFullPath, focusedProjectIndex, projects[]. Each project has index, projectFullPath, projectFileName, logicalDocumentCount, focused, documents[] { kind, fullPath, fileName }.
Prerequisites: Altium running. Includes non-design entries (e.g. Free Documents, AltiumScript MCP project).
Notes: Logical documents are project members, not necessarily every editor tab.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||