Philosophy of language

Under suitable circumstances, a person says, “I promise to return the book tomorrow.” What is the most direct account of what the speaker does by uttering this sentence?