get_panel
The CodePanel MCP tool that lists your review panels with reviewers, orchestrator, key health and whether each panel can run.
On this page›
get_panel returns your review panels, each with its reviewers and orchestrator, and says whether the panel can run right now (ready) and whether each member's provider key works (callable). Call it to find the panelId and agentId values every other panel tool takes, and to check a panel before you rely on it. It needs only the read scope.
When to call it
- Before any panel edit.
add_reviewer,remove_reviewer,set_orchestratorandupdate_paneltake apanelIdfrom here.update_panel_membertakes a member's_id. - When a review was refused or a reviewer is missing.
ready: falseorcallable: falsemeans a key behind the panel is missing or broken. Afailureon a member means its provider keeps rejecting the calls. - To see which panel a repository uses. Pass
repoto get its effective panel.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
repo |
string | no | Repository as owner/name |
panelId |
string | no | Panel id, from get_panel |
It only reads: the server marks it readOnlyHint: true, so clients that ask before a write can run it without asking.
Pass repo or panelId, not both. The schema allows both, but the call is refused:
CodePanel: Pass repo or panelId, not both.
A panelId that does not exist, or belongs to someone else, gets CodePanel: Panel not found. Both cases get the same answer, so the call cannot probe other accounts.
What it returns
An array of panels. With no filter it holds every panel you own. With repo or panelId it holds one panel, or none when a repo resolves to no panel.
A panel has _id, name, isDefault, ready, reviewers, orchestrator, budgetUsd and budgetIsDefault:
readyistruewhen the orchestrator and at least one reviewer arecallable.budgetUsdis the per-pull-request limit in force. It is absent when the limit is turned off, andbudgetIsDefaultistruewhen the panel never set one.update_panelchanges it.orchestratorisnullwhen the panel has none.- With
repo, the panel is the one the repository is pinned to, else your default panel.
Each member has:
_id,name,slug,provider,providerName,modelId,reasoningEffortandsystemPrompt. The orchestrator also hasinstructions, your additions to its built-in prompt, and a reviewer can have apathScope.callable:falsewhen no working key, and no credits, reach the member's provider.priced:falsewhen CodePanel has no price for the model. Its calls then cannot count toward a spending limit, andwarningssays so.failure, only while the member keeps failing:consecutiveFailures,reason(the provider's error) andlastFailureAt. Switching its model clears it.followTierandlastMove, when the seat follows a cost tier or has been moved by it.totalReviewsandtotalCostUsd, what the member has done so far.
Examples
These responses come from a test account on a local backend. Model ids, costs and member names are seed data.
The default panel, no filter
{}
The real result held four reviewers. This copy keeps the orchestrator and the first reviewer, and cuts each systemPrompt after its first sentence.
[
{
"_id": "vs70ed0fnnwbezvqqcyskr6xvn8j7syc",
"budgetIsDefault": true,
"budgetUsd": 5,
"isDefault": true,
"name": "Default panel",
"orchestrator": {
"_id": "k5775rqpcnqr3m3mz31d47xr5h8j7kcm",
"avatar": "detective",
"callable": true,
"description": "Consolidates the panel's reviews and posts to GitHub",
"isDefault": false,
"modelId": "claude-opus-5-5",
"name": "Orchestrator",
"priced": true,
"provider": "anthropic",
"providerName": "Anthropic",
"reasoningEffort": "medium",
"slug": "orchestrator",
"systemPrompt": "You are consolidating several independent code reviews of the same change. …",
"toolsSupported": true,
"totalCostUsd": 0.5279999999999999,
"totalReviews": 6,
"warnings": []
},
"ready": true,
"reviewers": [
{
"_id": "k57f28zq4gs6631q0x3yrpb54s8j704w",
"avatar": "robot",
"callable": true,
"description": "Logic errors, edge cases, error handling and security holes",
"isDefault": false,
"modelId": "claude-sonnet-5-5",
"name": "Bugs & Security",
"priced": true,
"provider": "anthropic",
"providerName": "Anthropic",
"reasoningEffort": "medium",
"slug": "bugs-security-reviewer",
"systemPrompt": "Focus on correctness and security: logic errors, unhandled edge cases and errors, race conditions, missing auth or permission checks, injection, unvalidated input and leaked secrets. …",
"toolsSupported": true,
"totalCostUsd": 0.45849999999999996,
"totalReviews": 8,
"warnings": []
}
]
}
]
toolsSupported says whether the model can call tools. Filtering by repo or panelId returns the same shape, as a one-element array.
The same step without MCP
| Surface | Form |
|---|---|
| CLI | codepanel panel, optionally with --repo owner/name or --panel <id> (CLI) |
| HTTP API | GET /panels, with repo or panelId as query parameters |
What the server tells your agent
The description your agent reads when it lists the tools:
Review panels; optionally filter by repo (its effective panel) or panelId, but not both. Includes reviewers, orchestrator, whether each member's provider key works (callable), whether it keeps failing (failure, with the provider's error; switching its model clears it) and whether the panel can run (ready).
Related
get_key_status: which providers have a working key, whencallableisfalse.add_reviewer,remove_reviewerandupdate_panel_member: change the members listed here.get_panel_recommendation: propose a whole panel for a goal.- Reviewers and panels: roles, the orchestrator and limits.
- MCP server: install, sign-in and every other tool.