inventory_slot_coords
Get pixel center coordinates for any inventory slot (0-27) in Old School RuneScape. Automatically detects the game window layout for accurate positioning.
Instructions
Get pixel center coordinates for an inventory slot (0-27). Auto-detects layout.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slot": "<slot>"
},
"name": "inventory_slot_coords"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | Yes | Inventory slot index (0 = top-left, 27 = bottom-right, row-major order). | |
| layout | No | 'auto' detects from current screenshot (default). 'fixed' = 765×503. 'resizable' = approximate for your screen size. | auto |