add_trusted_domain
Add a domain or IP address to Nextcloud's trusted domains list, automatically assigning the next available index.
Instructions
Adds a new trusted domain to Nextcloud config. First checks current trusted domains to assign the next available index.
Args: domain: Domain name or IP address to add (e.g. 'cloud.example.com' or '192.168.1.100')
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain": "<domain>"
},
"name": "add_trusted_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |