File size: 1,292 Bytes
983006a
26a2240
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
toolsList=[
            {
                "name": "choose_move",
                "description": "Selects and executes an available attacking or status move.",
                "parameters": {
                    "type": "object",
                    "properties": {
                        "move_name": {
                            "type": "string",
                            "description": "The exact name of the move to use (e.g., 'Thunderbolt', 'Swords Dance'). Must be one of the available moves.",
                        },
                    },
                    "required": ["move_name"],
                },
            },
            {
                "name": "choose_switch",
                "description": "Selects an available Pokémon from the bench to switch into.",
                "parameters": {
                    "type": "object",
                    "properties": {
                        "pokemon_name": {
                            "type": "string",
                            "description": "The exact name of the Pokémon species to switch to (e.g., 'Pikachu', 'Charizard'). Must be one of the available switches.",
                        },
                    },
                    "required": ["pokemon_name"],
                },
            },
        ]