connect_camera
Establish a SUNAPI connection to a Hanwha Vision IP camera using host credentials; call it first to enable device info, snapshots, configuration, and management tools.
Instructions
Connect to a Hanwha Vision IP camera via SUNAPI. Must be called before other tools.
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": {
"host": "<host>",
"username": "<username>",
"password": "<password>"
},
"name": "connect_camera"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Camera IP address or hostname | |
| port | No | HTTP port (default 80) | |
| password | Yes | Camera password | |
| username | Yes | Camera username |