Skip to content

Commit a88e03f

Browse files
committed
magic returns updated tool list
1 parent 5109fd2 commit a88e03f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/axiomatic/magic.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@ def ax_tool(self, tool, cell):
108108
"""
109109
if not tool.strip():
110110
print("Please provider a tool name when calling this magic like: %%tool_schedule [optional_tool_name]")
111+
tools = self.client.tools.list()
112+
print("Available tools are:")
113+
for tool in tools.tools_list:
114+
print(f"- {tool}")
111115
else:
112116
tool_name = tool.strip()
113117
code_string = cell

0 commit comments

Comments
 (0)