File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 11
11
token = os .getenv ('TRELLO_TOKEN' )
12
12
)
13
13
14
+ # this line is to pin the agent to this specific development ennvironment (workspace in Trello)
15
+ organization = [org for org in client .list_organizations () if org .name == 'devgenai' ][0 ]
16
+
14
17
@tool
15
18
def list_boards () -> str :
16
- """Get a list of all accessible Trello boards. This function should be called first to get the board ID
19
+ """Get a list of all accessible Trello boards within the devgenai organization . This function should be called first to get the board ID
17
20
before using select_board().
18
21
19
22
Returns:
20
23
str: A JSON string containing board details including id, name, and description.
21
24
"""
22
- boards = client . list_boards ()
25
+ boards = organization . all_boards ()
23
26
board_list = [{
24
27
'id' : b .id ,
25
28
'name' : b .name ,
You can’t perform that action at this time.
0 commit comments