gc_work
Coordinate work through a dependency DAG: create, track, search, assign, and update issues with dependencies, locks, and labels, then view unblocked items or critical-path plans.
Instructions
Work coordination with dependency DAG. Actions: create, list, search, ready, show, update, done, cancel, block, unblock, claim, release, comment, plan, tree, stale, focus, backfill_projects, rebuild_search_index. Use action=search to check if an issue about a topic already exists (FTS, ranked, matches title+description regardless of project_id tagging) instead of listing the whole DAG. Issues have dependencies (DAG), assignments, locks, labels. Use 'ready' to see what's unblocked. 'plan' for critical path.
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": {
"action": "<action>"
},
"name": "gc_work"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Full-text query for action=search — matches issue title + description, ranked by relevance. Bypasses project_id tagging. Punctuation-only queries return an annotated empty result. | |
| id | No | Issue ID (number or full ID) | |
| days | No | For action=stale/focus: stale threshold in days (default 7) | |
| note | No | Comment text or close reason | |
| type | No | Issue type: task, bug, epic, objective | |
| agent | No | Agent name for claim/assign | |
| limit | No | Max results. list: default 50, cap 500 (newest-first; also returns `total` = full pre-limit count). search: default 10, cap 50. ready: opt-in, no default. stale/focus/backfill_projects: max rows or sample size. | |
| title | No | Issue title | |
| action | Yes | Action to perform | |
| labels | No | Labels | |
| parent | No | Parent issue ID (for sub-tasks) | |
| status | No | Filter by status: open, in_progress, closed, all. list defaults to open; search defaults to all statuses. | |
| dry_run | No | For action=backfill_projects: when true, preview only (default true) | |
| include | No | For action=show: request optional relations. Pass ["comments"] to load issue comments in ascending created_at order; omitted relations return as :not_loaded. | |
| project | No | Project name | |
| assigned | No | Filter by assigned agent | |
| priority | No | Priority (higher = more important) | |
| depends_on | No | Issue ID this depends on | |
| description | No | Issue description | |
| fallback_project | No | For action=backfill_projects: fallback project id for GC-* issues (default gc_daemon) |