hub_sync
Sync a project folder to the hub by collecting git facts automatically and rewriting its card using an agent-written digest of status, recent work, and next steps.
Instructions
Sync a project folder into the hub. Collects git facts automatically; pass digest (your own summary of state/next steps) and the card is rewritten.
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": {
"path": "<path>",
"agent": "<agent>"
},
"name": "hub_sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Project name (default: folder name) | |
| path | Yes | Absolute path to the project folder | |
| agent | Yes | the function you are performing, e.g. "dev-hubd". NOT which model you are — that is read from the transcript, and many sessions share a model. NOT a queue role either: a role is a mailbox (see hub_queue_wait), this is who is at it. | |
| digest | No | Agent-written summary: status, recent work, next steps, blockers |