# Use hooks Detailed API reference for each session hook in the GitHub Copilot SDK. * [Hooks overview](./hooks-overview.md): quick start, common patterns, and hook invocation context * [Pre-tool use](./pre-tool-use.md): approve, deny, or modify tool calls * [Post-tool use](./post-tool-use.md): transform tool results * [User prompt submitted](./user-prompt-submitted.md): modify or filter user messages * [Session lifecycle](./session-lifecycle.md): session start and end * [Error handling](./error-handling.md): custom error handling