git_remote
List or add git remotes for a place's mirror repo, so git_push can keep an off-machine copy such as a private GitHub repo. Add requires a name and URL.
Instructions
List the git remotes of a place's mirror repo, or add one. Adding a remote such as a private GitHub repo lets git_push keep a copy off this machine. Adding is blocked in read-only mode and fails if the name already exists.
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": "git_remote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Remote URL for add, e.g. https://github.com/you/my-place.git. | |
| name | No | Remote name for add, usually "origin". | |
| place | No | Target place (PlaceId or project name) whose mirror repo to use. Defaults to the bound/sole connected place. | |
| action | No | "list" (default) shows remotes; "add" needs name and url. |