# Create DNS record
s.create_dns(
    domain_id,
    type="A",
    name="www",
    value="1.2.3.4",
    ttl=3600
)
```


## Agent Integration

The SDK is designed to be easily integrated with AI agents through the `as_tools()` method, which returns a list of functions ready to be used by LLM tools/functions implementations.

### Available Agent Tools

```python
s = Sherlock()
tools = s.as_tools()
Returns: ['me', '_set_contact_information', '_get_contact_information', '_search', # '_purchase_domain', '_domains', '_dns_records', '_create_dns_record', # '_update_dns_record', '_delete_dns_record']
```

### Integration Example with Claudette

Here's how to enable your AI assistant to handle domain operations using [Claudette](https://claudette.answer.ai), a convenient wrapper for Claude:
```python
from claudette import Chat, models