Screenshots from implementers
This commit is contained in:
@@ -31,7 +31,8 @@ let tools: [Tool] = [
|
||||
"window": {"type": "integer", "description": "Window id from screen_list."},
|
||||
"display": {"type": "integer", "description": "Display index from screen_list, when no window is given (default 0)."},
|
||||
"crop": {"type": "object", "description": "Only this rectangle, in window (or display) points.", "properties": {"x": {"type": "number"}, "y": {"type": "number"}, "width": {"type": "number"}, "height": {"type": "number"}}},
|
||||
"max_edge": {"type": "number", "description": "Longest edge of the image in pixels, 16 to 8192 (default 1568)."}
|
||||
"max_edge": {"type": "number", "description": "Longest edge of the image in pixels, 16 to 8192 (default 1568)."},
|
||||
"save": {"type": "boolean", "description": "Also save the image as a PNG in the task's media folder; the reply gives its path, which a Markdown image in your final message can show."}
|
||||
}}
|
||||
""",
|
||||
run: captureTool
|
||||
|
||||
Reference in New Issue
Block a user