Documentation
¶
Index ¶
Constants ¶
const Name = "computer_use"
Name of the tool, which its view in the chat names too
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Control ¶
type Control struct {
Index int `json:"index"`
Role string `json:"role"`
Label string `json:"label"`
}
An element of a capture: its number, what it is and its label
type Screen ¶
type Screen struct {
Mode string `json:"mode"`
App string `json:"app"`
Title string `json:"window_title"`
Width int `json:"width"`
Height int `json:"height"`
Total int `json:"total_elements"`
Elements []Control `json:"elements"`
Unchanged bool `json:"screen_unchanged"`
}
A capture as the chat shows it: the window, its size, the elements listed of all there are and whether the screen was unchanged
func ReadSummary ¶
The capture a result's summary text tells of, as the model that sees the screenshot reads it in place of the fields; false for a text that holds none