Jofthomas commited on
Commit
26a2240
·
verified ·
1 Parent(s): aac050c

Create tools.py

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