pg_folder_adopt
Adopt a non-Git folder into ~/ag-workspaces in place, APFS-clone an external folder into it, or sync an imported clone back to its origin.
Instructions
Adopt a non-Git folder inside ~/ag-workspaces in-place, APFS-clone an external folder into ~/ag-workspaces, or sync an imported clone back to its origin.
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": {
"op": "<op>"
},
"name": "pg_folder_adopt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | ||
| folder | No | ||
| dry_run | No | ||
| project | No |