Some LLMs may specify non-existent tool names, parameter names, or omit required parameters when generating tool calls.
Before executing a tool, validate all tool names and parameter names for existence and confirm all required fields are present.
If validation fails, the system should prompt the LLM to retry the request with correct information.
Some LLMs may specify non-existent tool names, parameter names, or omit required parameters when generating tool calls.
Before executing a tool, validate all tool names and parameter names for existence and confirm all required fields are present.
If validation fails, the system should prompt the LLM to retry the request with correct information.