# Site

## Select Site

`TOOL discourse_select_site`

Validate and select a Discourse site. Returns JSON with site URL and title.

Authentication: no security requirement declared for this operation.

Parameters:

- `site` (argument, string, uri, required) - Base URL of the Discourse site
  Type: string, uri
  
  Base URL of the Discourse site

## Examples

### JSON-RPC

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "discourse_select_site",
    "arguments": {
        "site": "https://example.com"
      }
  }
}
```

### TypeScript

```typescript
const result = await client.callTool({
  "name": "discourse_select_site",
  "arguments": {
    "site": "https://example.com"
  }
});
```

### Python

```python
result = await session.call_tool("discourse_select_site", arguments={
  "site": "https://example.com"
})
```
