Skip to content

How to retrieve multiple toolkits at once? #443

Discussion options

You must be logged in to vote

Right now you can retrieve multiple tools like this (This will get all available tools in your account). Be mindful that the default maximum is 250 so you may need to handle pagination to get the full list. We're working on making the filtering more versatile in the future, for now you can specify the toolkit, which should fall well within the limit of the reponse.

from arcadepy import Arcade
from dotenv import load_dotenv

load_dotenv()

client = Arcade()

tools = client.tools.list()

c = 0
for tool in tools:
    c += 1
    print(f"{tool.qualified_name}\n\t{tool.description}")
    print("---")

print(f"retrieved {c} tools")

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by torresmateo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant