-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcamera_tools.json
More file actions
64 lines (64 loc) · 2.14 KB
/
camera_tools.json
File metadata and controls
64 lines (64 loc) · 2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"tools": [
{
"name": "list_cameras",
"description": "Get a list of all connected cameras with their capabilities",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
},
{
"name": "take_screenshot",
"description": "Capture a screenshot from a specified camera and return it as base64 encoded image data",
"inputSchema": {
"type": "object",
"properties": {
"camera_name": {
"type": "string",
"description": "Name of the camera to capture from (default: 'PTZ Pro Camera')",
"default": "PTZ Pro Camera"
},
"output_path": {
"type": "string",
"description": "Optional path to save the image file. If not provided, saves to /tmp with timestamp"
}
},
"additionalProperties": false
}
},
{
"name": "ptz_control",
"description": "Send PTZ (Pan/Tilt/Zoom) commands to control camera position",
"inputSchema": {
"type": "object",
"properties": {
"command": {
"type": "string",
"description": "PTZ command to execute. Available commands: pan (left/right/middle), tilt (up/down/middle), zoom (in/out/middle), focus (auto/manual), brightness, contrast, etc.",
"enum": [
"pan", "tilt", "zoom", "focus", "brightness", "contrast",
"saturation", "sharpness", "white_balance", "exposure", "reset"
]
},
"value": {
"type": "string",
"description": "Value for the command. For pan: left/right/middle, for tilt: up/down/middle, for zoom: in/out/middle, for others: numeric values or auto/manual"
}
},
"required": ["command"],
"additionalProperties": false
}
},
{
"name": "get_camera_status",
"description": "Get current status of camera system including available tools and cached camera information",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}
]
}