Live: inspect selection
live_inspect_selectionInspect the current selection in the live Inkscape instance to get structured, read-only object details by ID.
Instructions
Inspect the selected objects in the live instance (semantic, by id; read-only).
When to use: getting structured detail (not just ids) of the GUI selection. For ids only use
live_get_selection; for the whole scene use live_get_scene. Not available over DBus
(no_freeze) — stays on the modal socket transport.
Key params: none. Requires an established session (live_connect).
Return shape: LiveSelectionInspection — count plus per-object inspection (the headless
object-inspection shape).
Example: live_inspect_selection()
Risk class: low (read-only).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| objects | No |