eda_pcb_select_control_get_current_mouse_position
Get the current mouse position on the PCB canvas. Returns x and y coordinates, or undefined when the mouse is not over the canvas.
Instructions
pcb_SelectControl.getCurrentMousePosition() -> Promise<{ x: number; y: number } | undefined>
获取当前鼠标在画布上的位置
returns: 鼠标在画布上的位置,undefined 代表当前鼠标不在画布上
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": "eda_pcb_select_control_get_current_mouse_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |