get_safe_area_insets
Read the CSS safe-area-inset values as seen by the page and check if env(safe-area-inset-*) is used in stylesheets to handle notched displays.
Instructions
Read the current CSS safe-area-inset values (top, right, bottom, left) as seen by the page. These are non-zero on notched iPhones when viewport-fit=cover is set. Also checks whether the page uses env(safe-area-inset-*) in its stylesheets.
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_safe_area_insets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||