event infra for tool. action functions prep.