()
| 115 | } |
| 116 | |
| 117 | func (*computerUseTool) Info() fantasy.ToolInfo { |
| 118 | return fantasy.ToolInfo{ |
| 119 | Name: "computer", |
| 120 | Description: "Control the desktop: take screenshots, move the mouse, click, type, and scroll. " + |
| 121 | "Use an explicit screenshot action when you want to share a screenshot with the user; " + |
| 122 | "those screenshots are also attached to the chat.", |
| 123 | Parameters: map[string]any{}, |
| 124 | Required: []string{}, |
| 125 | } |
| 126 | } |
| 127 | |
| 128 | // ComputerUseProviderTool creates the provider-defined computer-use tool |
| 129 | // definition using the declared model-facing desktop geometry. |
no outgoing calls