0 views
How was the whitelist of tools determined for each step of the agent?
Asked at
AI answer
I would build the whitelist around the agent’s scenarios and stages, rather than allowing all available tools at once:
- Break the scenario into steps and determine what the agent needs to do at each one.
- For each step, select the smallest set of necessary tools and explicitly define their purpose and input schema.
- Restrict access according to the principle of least privilege: for example, separate read access from write access, and require a separate permission or confirmation for potentially irreversible actions.
- Validate arguments and permissions not only in the model interface, but also on the executor side; invalid or disallowed calls should be safely rejected.
- Test allowed and disallowed scenarios, then log calls and review the list based on operational experience.
This keeps the whitelist tied to real tasks instead of turning it into general access to every system capability.
Also asked at СБЕР
Similar questions
- What tools had you implemented—were they hard-coded in the code or specified in the prompt?
- Let’s break down what tools that agent actually used.
- How was the tool-calling router implemented, and how many tools can reasonably be listed in a prompt?
- Have you encountered cases where the model confuses tools when calling them?
- Why did you choose ReAct for the agent rather than other approaches (for example, Plan-and-Execute or multi-agent systems)?