get_cursor_position
Retrieve the cursor position (x, y) within the visible screen of an iTerm2 session. Helps in automating terminal interactions by identifying cursor location.
Instructions
Return the cursor coordinates x, y within the visible screen.
:param session_id: Target session UUID. Defaults to the active session.
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_cursor_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |