Class ResponseComputerToolCall.Action
- 
                    
                    
- All Implemented Interfaces:
 
public final class ResponseComputerToolCall.ActionA click action.
 
- 
                
                    
                    
- 
                                
                            
                                
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceResponseComputerToolCall.Action.VisitorAn interface that defines how to map each variant of Action to a value of type T.
public final classResponseComputerToolCall.Action.ClickA click action.
public final classResponseComputerToolCall.Action.DoubleClickA double click action.
public final classResponseComputerToolCall.Action.DragA drag action.
public final classResponseComputerToolCall.Action.KeypressA collection of keypresses the model would like to perform.
public final classResponseComputerToolCall.Action.MoveA mouse move action.
public final classResponseComputerToolCall.Action.ScrollA scroll action.
public final classResponseComputerToolCall.Action.TypeAn action to type in text.
 
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
click
final Optional<ResponseComputerToolCall.Action.Click> click()
A click action.
 
- 
                                        
doubleClick
final Optional<ResponseComputerToolCall.Action.DoubleClick> doubleClick()
A double click action.
 
- 
                                        
drag
final Optional<ResponseComputerToolCall.Action.Drag> drag()
A drag action.
 
- 
                                        
keypress
final Optional<ResponseComputerToolCall.Action.Keypress> keypress()
A collection of keypresses the model would like to perform.
 
- 
                                        
move
final Optional<ResponseComputerToolCall.Action.Move> move()
A mouse move action.
 
- 
                                        
screenshot
final Optional<JsonValue> screenshot()
A screenshot action.
 
- 
                                        
scroll
final Optional<ResponseComputerToolCall.Action.Scroll> scroll()
A scroll action.
 
- 
                                        
type
final Optional<ResponseComputerToolCall.Action.Type> type()
An action to type in text.
 
- 
                                        
isDoubleClick
final Boolean isDoubleClick()
 
- 
                                        
isKeypress
final Boolean isKeypress()
 
- 
                                        
isScreenshot
final Boolean isScreenshot()
 
- 
                                        
asClick
final ResponseComputerToolCall.Action.Click asClick()
A click action.
 
- 
                                        
asDoubleClick
final ResponseComputerToolCall.Action.DoubleClick asDoubleClick()
A double click action.
 
- 
                                        
asDrag
final ResponseComputerToolCall.Action.Drag asDrag()
A drag action.
 
- 
                                        
asKeypress
final ResponseComputerToolCall.Action.Keypress asKeypress()
A collection of keypresses the model would like to perform.
 
- 
                                        
asMove
final ResponseComputerToolCall.Action.Move asMove()
A mouse move action.
 
- 
                                        
asScreenshot
final JsonValue asScreenshot()
A screenshot action.
 
- 
                                        
asScroll
final ResponseComputerToolCall.Action.Scroll asScroll()
A scroll action.
 
- 
                                        
asType
final ResponseComputerToolCall.Action.Type asType()
An action to type in text.
 
- 
                                        
accept
final <T extends Any> T accept(ResponseComputerToolCall.Action.Visitor<T> visitor)
 
- 
                                        
validate
final ResponseComputerToolCall.Action validate()
 
- 
                                        
ofClick
final static ResponseComputerToolCall.Action ofClick(ResponseComputerToolCall.Action.Click click)
A click action.
 
- 
                                        
ofDoubleClick
final static ResponseComputerToolCall.Action ofDoubleClick(ResponseComputerToolCall.Action.DoubleClick doubleClick)
A double click action.
 
- 
                                        
ofDrag
final static ResponseComputerToolCall.Action ofDrag(ResponseComputerToolCall.Action.Drag drag)
A drag action.
 
- 
                                        
ofKeypress
final static ResponseComputerToolCall.Action ofKeypress(ResponseComputerToolCall.Action.Keypress keypress)
A collection of keypresses the model would like to perform.
 
- 
                                        
ofMove
final static ResponseComputerToolCall.Action ofMove(ResponseComputerToolCall.Action.Move move)
A mouse move action.
 
- 
                                        
ofScreenshot
final static ResponseComputerToolCall.Action ofScreenshot()
A screenshot action.
 
- 
                                        
ofScroll
final static ResponseComputerToolCall.Action ofScroll(ResponseComputerToolCall.Action.Scroll scroll)
A scroll action.
 
- 
                                        
ofType
final static ResponseComputerToolCall.Action ofType(ResponseComputerToolCall.Action.Type type)
An action to type in text.
 
- 
                                        
ofWait
final static ResponseComputerToolCall.Action ofWait()
A wait action.
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -