@tool extends EditorScript func _run(): var api = LanguageToolApiWrapper.new() EditorInterface.get_base_control().add_child(api) var result = api.check("Hello this is a santence how are you") print(result.matches[0])