override_decision
The CodePanel MCP tool that overrides a CodePanel decision (or answers an escalated one) and optionally promotes it into a repository learning.
On this page›
override_decision overrides a CodePanel decision (or answers an escalated decision) with the authoritative choice. Pass promoteToLearning: true to also save the override as an active repository learning so future reviews and decisions follow it automatically. Needs the reviews:write scope.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
id |
string | no | Decision id |
repo |
string | no | Repository as owner/name (with ref) |
ref |
string | no | Short decision ref such as "D4" (with repo) |
decision |
string, at most 4000 characters | yes | The authoritative decision to record |
reason |
string, at most 1000 characters | no | Why this choice is preferred |
promoteToLearning |
boolean | no | Also save this override as an active repository learning |
agent |
string | no |
It writes: the server marks it readOnlyHint: false and destructiveHint: true (it can change what is already there), so a client that asks before writes asks here.
What the server tells your agent
Override a CodePanel decision (or answer an escalated one) with the authoritative choice, and optionally promote it into a repository learning so future reviews and decisions follow it automatically.