AHK_VSCode_Open
Open AutoHotkey files in VS Code to edit scripts. Use this tool to access recent files, navigate to specific lines, and manage workspace windows for coding.
Instructions
Open the most recently edited AutoHotkey file (or a specified file) in VS Code. Defaults to the last edited file recorded by MCP and falls back to the active file. Supports WSL environments and can target a specific workspace window.
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": "AHK_VSCode_Open"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | No | File path to open (defaults to last edited file, then active file) | |
| line | No | Line number to reveal (1-based) | |
| column | No | Column number to reveal (1-based) | |
| reuseWindow | No | Reuse the existing VS Code window | |
| wait | No | Wait for VS Code to exit | |
| workspaceFolder | No | Target VS Code workspace folder - opens file in the window with this folder open |