Is there a way to query the tools an agent has access to via the API? The agent configuration API response doesn't seem to list the tools, just the instructions.
Hi! You cannot query the tools directly, you query an agent and the agent can decide to use the tool if relevant for the user message (or if prompted to do always).
Thanks. I'm not trying to query the tools. I'm looking to introspect what tools it has available. It seems I can enumerate everything else like it's instructions, data sources, apps, but not its tools
The tools are listed in actions
Actions comes back as an empty array for me. Does it only list custom apps? I was expecting the web browser tool to show up there
Sorry for the delay! Yes actually on our public API we currently do not expose the actions (I thought we did on the call to retrieve one agent but indeed, we don't) -> rationale was that the use case was not clear and that it impact the performances of the api call since it's quite heavy to construct the actions. Recent discussion lead me to think this is something we might want to add in a near future! In the meantime the only way to inspect tools is from the UI 🙏🏻
Thanks for confirming. This would indeed be useful. One of our usecases is for central governance. A separate API call would be fine if it's computationally expensive.
Interestingly actions are listed for the built in agents on the response from https://docs.dust.tt/reference/get_api-v1-w-wid-assistant-agent-configurations but not for our custom built agents
Yes that is because for the built in agents loading the actions is free in terms of performances
Any timeline for enumerating tools via the API?
