# Rename a challenge group

`rename_project_group`

- Writes
- Needs confirmation

Renames one of this teacher’s challenge groups while its challenge is open and the group is not yet completed; an empty name goes back to the group’s code. Letters, numbers, spaces and . , ' ( ) & _ - only, at most 80, and no web or e-mail address. The first call answers a summary and a confirmation value; nothing changes until the same call is repeated with it.

- **For**: Teachers
- **Needs**: Read and write access (`mcp:write`)
- **What it changes**: **Writes.** The first call only shows what would change and returns a confirmation handle. Nothing changes until the agent calls again with that handle, after you agree.
- **Repeating it**: Not safe: the same call twice can change data twice.

## Inputs

- `brand`string

  Which olympiad this is about. Required unless the connection covers exactly one, in which case that one is used.

  one of`coding``gmath``hilingua``neo``stem`
- `group_id`stringrequired

  The group_id from list_my_project_groups.

  pattern`^[a-f0-9]{24}$`min length`24`max length`24`
- `name`stringrequired

  The new name, at most 80 characters; empty to use the group’s code.

  min length`0`max length`80`
- `confirmation`string

  The `confirmation` value from this tool’s own `confirmation_required` answer. Send it back with exactly the same other arguments to go ahead; never invent one.

  pattern`^cfm_[A-Za-z0-9._-]{1,4000}$`min length`5`max length`4096`

The server refuses a call that carries any field not listed here, and says which one.

## Answers instead of a result

What the tool says when it cannot do what was asked, and what to do about it.

- **`not_connected`**
- **`insufficient_scope`**
- **`rate_limited`**
- **`writes_disabled`**
- **`temporarily_unavailable`**
- **`upstream_error`**
- **`brand_not_allowed`**
- **`role_required`**
- **`tenant_account_missing`**
- **`not_found`**
- **`confirmation_required`**
- **`confirmation_expired`**
- **`not_allowed_here`**
- **`window_closed`**
- **`group_locked`**
