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
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.