phabricator_repository_edit
Create a new Diffusion repository or update an existing one by setting version control, name, status, branches, projects, and other metadata via Phabricator.
Instructions
Create or edit a Diffusion repository. To create, omit objectIdentifier and provide vcs + name.
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": "phabricator_repository_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vcs | No | Version control system (required for creation) | |
| name | No | Repository name | |
| space | No | Space PHID (for multi-space installations) | |
| status | No | Repository status | |
| callsign | No | Repository callsign (short uppercase identifier) | |
| shortName | No | Repository short name (URL slug) | |
| description | No | Repository description (Remarkup) | |
| defaultBranch | No | Default branch name | |
| addProjectPHIDs | No | Project PHIDs to add | |
| objectIdentifier | No | Repository PHID, ID, callsign, or short name (omit to create new) | |
| removeProjectPHIDs | No | Project PHIDs to remove |