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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_workspace_projects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||