Validate LLM-generated function and tool calls for JSON schema compliance, argument type safety, required field presence