Update a forge
update_forgeChange forge configuration (URL, type, OAuth) for the CI instance. Admin-only two-step process prevents lockout when updating critical connection settings.
Instructions
Changes a forge configuration. Admin only, and two-step: this is the setting every login and every repository read depends on, and a wrong value locks everyone out of the instance — including whoever is fixing it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Base URL of the forge, e.g. "https://github.com". | |
| type | No | Which forge software this is. | |
| client | No | ||
| forge_id | Yes | Numeric forge id. | |
| oauth_host | No | Public URL used for the OAuth redirect, when it differs from "url" — the usual case for a forge reachable under two names. | |
| skip_verify | No | ||
| confirm_token | No | Token from a previous call of this tool. | |
| oauth_client_secret | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truncated | No | Present only when the answer was shortened to fit the budget. |