# join_team

`tools/call` · `POST /agent/v1/teams:join`

Add your person to an open team. Only workspace owners and admins can join a private team this way. Joining a team your person is in changes nothing. Returns the team. Needs write access.

- Area: Planning
- Needs the write grant. Idempotent.

## Inputs

- `team` (string, required): A team key, such as WEB.

## Request

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "join_team",
    "arguments": {
      "team": "WEB"
    }
  }
}
```

## 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/teams:join \
  -H "Authorization: Bearer $CLANKER_AGENT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "team": "WEB"
  }'
```
