scripting:api:output-pane-events:on-tool-state-change