manage_git_webhooks
List, enable, or disable remote Git push webhooks to detect anchor-file drift across Forgejo, Gitea, GitHub, and GitLab, with HMAC-signed hooks and removal of only Helios hooks.
Instructions
List, enable, or disable remote Git push webhooks for anchor_files drift detection across Forgejo, Gitea, GitHub, or GitLab. Requires HELIOS_GIT_TOKEN and HELIOS_WEBHOOK_URL (returns manual setup instructions if unconfigured): action='list' audits owned repos, action='enable' installs an HMAC-signed push webhook on each target in repos, and action='disable' deletes only the Helios webhook from the remote repositories without affecting code or stored memories. Always run action='list' and confirm target repos with the user before calling 'enable' or 'disable'. Use manage_git_webhooks to manage remote repository hooks; use manage_server_config to set HELIOS_GIT_* settings, or revalidate_memories to clear [STALE] flags after a push.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "manage_git_webhooks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repos | No | List of repository names (e.g. ['braz/helios', 'braz/homelab']) to enable or disable. | |
| action | No | Action to perform: 'list' (display repos and drift hook status), 'enable' (attach drift webhook), or 'disable' (remove drift webhook). | list |
| include_forks | No | Whether to include forked repositories when listing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |