Title: Working with hooks - GitHub Docs
Open Graph Title: Working with hooks - GitHub Docs
X Title: Working with hooks - GitHub Docs
Description: Hooks let you plug custom logic into every stage of a Copilot session—from the moment it starts, through each user prompt and tool call, to the moment it ends. This guide walks through practical use cases so you can ship permissions, auditing, notifications, and more without modifying the core agent behavior.
X Description: Hooks let you plug custom logic into every stage of a Copilot session—from the moment it starts, through each user prompt and tool call, to the moment it ends. This guide walks through practical use cases so you can ship permissions, auditing, notifications, and more without modifying the core agent behavior.
Opengraph URL: https://docs-internal.github.com/en/copilot/how-tos/copilot-sdk/features/hooks
Domain: docs.github.com
| google-site-verification | c1kuD-K2HIVF635lypcsWPoD4kilo5-jA_wBFyT4uMY |
| path-language | en |
| path-version | free-pro-team@latest |
| path-product | copilot |
| path-article | copilot/how-tos/copilot-sdk/features/hooks |
| page-content-type | how-tos |
| page-document-type | article |
| status | 200 |
| og:site_name | GitHub Docs |
| og:type | article |
| og:image | https://docs.github.com/assets/cb-345/images/social-cards/copilot.png |
| twitter:card | summary |
| twitter:domain | docs-internal.github.com |
| twitter:url | https://docs-internal.github.com/en/copilot/how-tos/copilot-sdk/features/hooks |
| twitter:image | https://docs.github.com/assets/cb-345/images/social-cards/copilot.png |
Links:
Viewport: width=device-width, initial-scale=1