Get project transfer
get_project_transferRead the transfer of a project's repository to the person's GitHub account: its state, what the person does next, where the repository goes, and when SHIP deletes its archived copy. This tool only reads: SHIP moves the transfer on by itself. The result gives the next step in action: choose_target means the person makes an empty repository on their own GitHub account, installs SHIP's GitHub App on it, and you call transfer_project_repository again with that connection's connectorId and the repository as owner/name. wait means SHIP copies and checks the repository: read the transfer with get_project_transfer after pollAfterSeconds.
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": {
"projectId": "<projectId>"
},
"name": "get_project_transfer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Project id from list_projects |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| state | Yes | `requested` before SHIP checks anything. `awaiting_target` while the founder must name their own empty repository. `mirroring` while SHIP copies every branch and tag into it, and `verifying` while SHIP checks that each one has the same commit. `repointed` when the project uses the founder's repository. `archived` when SHIP's own copy is read-only and waits for its delete, and `done` after the delete. `failed` gives the cause in `failure`. `cancelled` when the founder stopped it before the repoint. | |
| action | Yes | What the founder does next: name their empty repository with SHIP's GitHub App installed on it, or wait while SHIP copies and checks it. | |
| choices | Yes | ||
| failure | Yes | ||
| version | Yes | ||
| checkedAt | Yes | ||
| createdAt | Yes | ||
| projectId | Yes | ||
| updatedAt | Yes | ||
| repository | Yes | ||
| completedAt | Yes | ||
| deleteAfter | Yes | ||
| pollAfterSeconds | Yes |