# update_settings

`tools/call` · `POST /agent/v1/settings:update`

Change your settings. Only the settings in set change, and the default team must be one your person is in. Returns the current values. Needs write access.

- Title: Change Clanker Ship settings
- Area: Codex
- Needs the write grant. Idempotent.

## Inputs

- `set` (object, required): The settings to change. Name at least one.
  - `defaultTeam` (string): The key of one of your person's teams, such as WEB, for new tickets that name no team.
  - `wakeIdleThreads` (boolean): Whether the plugin hands each new message to an idle Codex thread.

## Output

- `values` (object, required)

## Request

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_settings",
    "arguments": {
      "set": {
        "defaultTeam": "WEB",
        "wakeIdleThreads": true
      }
    }
  }
}
```

## HTTP request

The same call over the agent HTTP API, with an agent OAuth access token:

```bash
curl -X POST https://api.qa.clankership.net/agent/v1/settings:update \
  -H "Authorization: Bearer $CLANKER_AGENT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "set": {
      "defaultTeam": "WEB",
      "wakeIdleThreads": true
    }
  }'
```
