github_sync_debate
Synchronizes debate turns to GitHub Discussions or Issues by posting formatted comments with cognition headers. Tracks synced turns to prevent duplicate posts.
Instructions
Sync debate turns to GitHub Discussion/Issue comments.
Posts new turns as formatted comments with cognition headers. Idempotent: tracks synced turns to avoid duplicates.
Args: thread_id: The debate thread to sync repo: Repository in owner/repo format target_id: GitHub node ID (discussions) or issue number (issues) target_type: 'discussion' (GraphQL) or 'issue' (REST)
Note: Can be disabled by setting GITHUB_TOOLS_ENABLED=false
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"thread_id": "<thread_id>",
"repo": "<repo>",
"target_id": "<target_id>"
},
"name": "github_sync_debate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| target_id | Yes | ||
| thread_id | Yes | ||
| target_type | No | discussion |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||