network_create
Creates a new IoT network and returns its network ID plus one-time default password, enabling secure access configuration.
Instructions
Create a network. Returns networkId and the one-time default password.
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": {
"code": "<code>",
"unitId": "<unitId>",
"hostUri": "<hostUri>"
},
"name": "network_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | AMQP message TTL in milliseconds (0 = unlimited). | |
| code | Yes | Network code, pattern [A-Za-z0-9][A-Za-z0-9-_]*. Lowercased. | |
| info | No | Other information. | |
| name | No | Display name. | |
| length | No | AMQP max queue length (0 = unlimited). | |
| unitId | Yes | Associated unit ID for a private network. | |
| hostUri | Yes | Network queue URI (e.g. amqp://host/vhost). |