tools = [
{
"type": "function",
"function": {
"name": "click",
"description": "Click at (x, y) coordinates",
"parameters": {
"type": "object",
"properties": {
"element": {"type": "string", "description": "Detailed description of the target UI element"},
"x": {"type": "integer", "description": "X coordinate as integer in [0, 1000]"},
"y": {"type": "integer", "description": "Y coordinate as integer in [0, 1000]"},
},
"required": ["element", "x", "y"],
},
},
},
{
"type": "function",
"function": {
"name": "answer",
"description": "Provide a final answer",
"parameters": {
"type": "object",
"properties": {"content": {"type": "string", "description": "The answer content"}},
"required": ["content"],
},
},
},
]