OptionaldefaultOptionaldisableSkip all wiring. Useful for touch apps or test isolation.
OptionalisGate for keyboard tool activation: return false to refuse a tool the
active mode doesn't allow. <SceneCanvas> wires this from
getActiveMode + each tool's capabilities, using the same predicate
ToolPalette uses to grey a button out — so the grey-out becomes a
guarantee rather than a hint.
Omit for consumers with no mode registry: every tool stays activatable.
Tool id Escape switches to. When omitted, defaults to whatever
tools.activewas when the hook first ran (i.e. the initial active tool). Passnullto disable Escape-returns-to-default behavior.