# confirm_setup_check

URL: https://codepanel.ai/docs/mcp-server/confirm_setup_check

The CodePanel MCP tool that withdraws the owner's confirmation of OpenAI zero data retention, a setup check no API can test.

`confirm_setup_check` withdraws the owner's word on a setup check that no API can test. Today that is one check, `openai.zero_data_retention`: whether OpenAI has approved zero data retention for the organization behind your OpenAI key. Only the owner gives that word, in Settings → Setup check: it is a compliance claim CodePanel cannot verify, so an agent cannot make it. It needs the `agents:write` scope.

## When to call it

- **To withdraw it**, with `confirmed: false`, when the agreement ends or the owner says it no longer holds. The line goes back to `manual`.
- **Not to confirm it.** `confirmed: true` is refused with a message naming the browser step. The owner's confirmation also lapses on its own when the OpenAI key changes.

## Inputs

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `check` | `"openai.zero_data_retention"` | yes |  |
| `confirmed` | `false` | yes |  |

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 it returns

The whole checklist, as [`get_setup_status`](/docs/mcp-server/get_setup_status) returns it, read from the saved lines.

## The same step without MCP

| Surface | Form |
| --- | --- |
| HTTP API | `POST /setup/attest` with `{ "check": "openai.zero_data_retention", "confirmed": false }` and the `agents:write` scope |
| CLI | `codepanel setup confirm openai.zero_data_retention off` |
| Browser | Settings → Setup check, where the owner also confirms it |

## What the server tells your agent

The description your agent reads when it lists the tools:

> Use it to withdraw the owner's confirmation of a manual check (today openai.zero_data_retention, which no OpenAI API reports) with confirmed: false, for example when the agreement ends. Only the owner confirms it, in Settings → Setup check (browser only), so confirmed: true is refused. Needs agents:write. Returns the checklist, as get_setup_status.

## Related

- [`get_setup_status`](/docs/mcp-server/get_setup_status): every setup line.
- [MCP server](/docs/mcp-server): install, sign-in and every other tool.
