workspace_register_existing_repo
Register an existing local Git repo as a remote workspace alias for HTTP/OAuth provider access. Use this action to make a local repository reachable through the gateway for remote provider calls.
Instructions
Register an existing local Git repo as a remote HTTP/OAuth workspace alias. Not for stdio/local provider path access. Requires LLM_GATEWAY_WORKSPACE_ADMIN=1 and OAuth scope workspace:admin.
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": {
"alias": "<alias>",
"path": "<path>"
},
"name": "workspace_register_existing_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to an existing Git repo under an allowed root. | |
| alias | Yes | Registered workspace alias for remote HTTP/OAuth provider calls. Stdio/local callers should not use workspace_* tools to fix provider path access; pass local workingDir/addDir/includeDirs directly. | |
| setDefault | No |